I want to send a raw buffer using bluetooth connection. The content is a hex number. Currently I split the number manually to an byte array. Is there any function that can h
In new versions of node (6+) the new Buffer()
interface is deprecated. Use:
Buffer.from("250001000192CD0000002F6D6E742F72", "hex")
instead.
Find more info on this using this link below https://nodejs.org/api/buffer.html#buffer_static_method_buffer_from_string_encoding
new Buffer("250001000192CD0000002F6D6E742F72", "hex")