Using cordova BLE central with Ionic, I'm trying to write (withoutResponse).
According to the doc the data format is an ArrayBuffer.
From packet analysis I know that the written value should be 02FD 1600 0000 0000 002E 1481 1F8F 7500 0000 004D
My question is how to create the required ArrayBuffer using JavaScript ?
I've tried with
Buffer.from("02FD 1600 0000 0000 002E 1481 1F8F 7500 0000 004D").buffer
But when I check the exchanged packet, the written value is
3032 4644 2031 3630 3020 3030 3030 2030 3030 3020 3030 3245 2031 3438 3120 3146 3846 2037 3530 3020 3030 3030 2030 3034 44