Hello everyone.
Im working with BLEHEALTHDEMO project in C#, which works like Btool. The following code for the LED Off button is:
//F0000000-0451-4000-B000-000000000000
HCICmds.GATTCmds.GATT_WriteCharValue GATT_WriteCharValue5 = new HCICmds.GATTCmds.GATT_WriteCharValue();
GATT_WriteCharValue5.permissions = 1;
GATT_WriteCharValue5.dataLength = 0x03;
GATT_WriteCharValue5.writevalue2 = 0x0080;
//GATT_WriteCharValue5.uuid = "AA:62";
//GATT_WriteCharValue5.uuid = "F0:00:00:00:04:51:40:00:B0:00:00:00:00:00:AA:62";
GATT_WriteCharValue5.handle = 0x0067;
GATT_WriteCharValue5.writevalue = 0x0080;
SendGATT_WriteCharValue(GATT_WriteCharValue5);
Can someone explain me the 0x0080 value ?. I can't it in "TI BLE Vendor Specific HCI Guide" ?,
If i want to send a string "2311\r\n", should i convert it to hex numbers and write that instead of 0x0080, if i want to send this string instead of turning off the LED ?.
Thanks in advance.