Hi All,
https://raw.githubusercontent.com/RuiSa ... Client.ino
//Activate notify
const uint8_t notificationOn[] = {0x1, 0x0};
const uint8_t notificationOff[] = {0x0, 0x0};
1) i went thru the BLE client code above , is the arrangement of 0x1 , 0x0 by LSB format?
2) since is 8-bit, can we do this instead or am i missing something?
const uint8_t notificationOn = 0x01;
const uint8_t notificationOff = 0x00;
pls advise.
Thanks.
BLE notify
Re: BLE notify
BLE does not care what you are sending, from protocol point of view its just a bunch of bytes.
1. its just 2 bytes without a meaning, for example you can ON with 0 and OFF with 1
2. yes
1. its just 2 bytes without a meaning, for example you can ON with 0 and OFF with 1
2. yes
Who is online
Users browsing this forum: No registered users and 65 guests