S sdujolo Member Licensed User Longtime User Aug 27, 2014 #1 BLE and smart sensor start to get very popular this days and I think we need a working lib for it.
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2014 #2 Have you tried the BLE library? Upvote 0
S sdujolo Member Licensed User Longtime User Aug 28, 2014 #3 The BLE lib does not support write and the extended lib look like it have problems if you read the comments. Upvote 0
The BLE lib does not support write and the extended lib look like it have problems if you read the comments.
Erel B4X founder Staff member Licensed User Longtime User Aug 28, 2014 #4 Can you post a the link to the relevant message? Upvote 0
S sdujolo Member Licensed User Longtime User Aug 28, 2014 #5 BLE for BleExtended issue BleExtended Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 29, 2014 #6 You can write bytes instead of strings with this code: B4X: Dim jo As JavaObject = BleCharacteristic1 jo.RunMethod("setValue", Array(Buffer)) 'buffer is an array of bytes Other than that the library code seems to be correct. Upvote 0
You can write bytes instead of strings with this code: B4X: Dim jo As JavaObject = BleCharacteristic1 jo.RunMethod("setValue", Array(Buffer)) 'buffer is an array of bytes Other than that the library code seems to be correct.