SteveTerrell Active Member Licensed User Longtime User Feb 1, 2016 #1 Hi, The BLE2 library (so presumably the underlying Java code) seems to require service and characteristics addresses in lower case B4X: bleManager.WriteData("6e400001-b5a3-f393-e0a9-e50e24dcca9e","6e400002-b5a3-f393-e0a9-e50e24dcca9e",Array As Byte(0x31,0x42,0x43,0x20,0x32)) In my case the Adafruit Bluefruit LE UART friend will not respond if upper case is used in the BLE2 calls. Many of the manufacturer documents, code samples etc. relating to BLE devices use upper case as in this quote from the Adafruit documentation UART Service UUID: 6E400001-B5A3-F393-E0A9-E50E24DCCA9E TX Characteristic UUID: 6E400002-B5A3-F393-E0A9-E50E24DCCA9E RX Characteristic UUID: 6E400003-B5A3-F393-E0A9-E50E24DCCA9E Click to expand... Perhaps the BLE2 library could perform a toLower function to handle this variation?
Hi, The BLE2 library (so presumably the underlying Java code) seems to require service and characteristics addresses in lower case B4X: bleManager.WriteData("6e400001-b5a3-f393-e0a9-e50e24dcca9e","6e400002-b5a3-f393-e0a9-e50e24dcca9e",Array As Byte(0x31,0x42,0x43,0x20,0x32)) In my case the Adafruit Bluefruit LE UART friend will not respond if upper case is used in the BLE2 calls. Many of the manufacturer documents, code samples etc. relating to BLE devices use upper case as in this quote from the Adafruit documentation UART Service UUID: 6E400001-B5A3-F393-E0A9-E50E24DCCA9E TX Characteristic UUID: 6E400002-B5A3-F393-E0A9-E50E24DCCA9E RX Characteristic UUID: 6E400003-B5A3-F393-E0A9-E50E24DCCA9E Click to expand... Perhaps the BLE2 library could perform a toLower function to handle this variation?
Erel B4X founder Staff member Licensed User Longtime User Feb 1, 2016 #2 You can see the expected names in the data available event (in the map). They are indeed case sensitive. Upvote 0
You can see the expected names in the data available event (in the map). They are indeed case sensitive.