i am working on a project that need to control a device via ble uart. i am using generic ble nodes on node red. my flow is as follows: timestamp -> function where i send the buffer as msg.payload -> generic-ble -> debug. but i can't get the result that i want. whatever the value i push in, i get the same result from the debug
[{"id":"1334d53f.256103","type":"tab","label":"Flow 6","disabled":false,"info":""},{"id":"ec714ea4.4f7c28","type":"Generic BLE in","z":"1334d53f.256103","name":"","genericBle":"2fe4f5d3.a4aada","useString":false,"notification":true,"x":430,"y":170,"wires":[["4b1539cf.c597f8"]]},{"id":"4b1539cf.c597f8","type":"debug","z":"1334d53f.256103","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":660,"y":140,"wires":[]},{"id":"4d95dc7f.19ae74","type":"inject","z":"1334d53f.256103","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":70,"wires":[["dfebc0f9.d4f0a8"]]},{"id":"dfebc0f9.d4f0a8","type":"function","z":"1334d53f.256103","name":"send Hex","func":"var data = new Buffer([0x006, 0x004, 0x80, 0x000, 0x001, 0x83]);\nmsg.payload = data.toString('hex');\n\nreturn msg;","outputs":1,"noerr":0,"x":170,"y":230,"wires":[["ec714ea4.4f7c28"]]},{"id":"2fe4f5d3.a4aada","type":"Generic BLE","z":"","localName":"TRY--Nordic_UART","address":"f1:d2:aa:f1:a0:25","uuid":"f1d2aaf1a025","muteNotifyEvents":true,"operationTimeout":"","characteristics":[]}]