Hi Folks,
I'm a Total Noob with appinventor !
In an attempt to get communications between esp32 & android , I figured I would try bluetooth .
I have the the esp32 spitting out incrementing values .
actually , it's an array of 3 bytes .
void loop() {
if (deviceConnected) {
Serial.printf("*** Sent Value: %02x %02x %02x***\n", txValue[0],txValue[1],txValue[2]);
pCharacteristic->setValue(&txValue[0], 3);
pCharacteristic->notify();
txValue[0]++;
txValue[1]++;
txValue[2]++;
}
delay(1000);
}
After Connecting & instigating the first (and only) ReadByteValue call ,
I start to receive updates with the ByteValueChanged .
How these updates are used has me somewhat confused .
1/ the result displayed in the 'byte_value' label is a signed int8 ?
I.E. If the Value is above 127 , it is negative (129 displays -127 etc)
2/ I am sending 3 bytes & when displayed in 'byte_value' label , they are joined together as one string . ?
I have a number of other questions regarding the BluetoothLE extension , but will address these later
Regards
Barry
