F FranckHAB New Member Licensed User Jun 1, 2016 #1 Hi i found it in this forum https://www.b4x.com/android/forum/attachments/blereadwrite-zip.35768/ I have an HM10 ble with an uC which send correctly strings , tested with success with HMBLE Terminal it doesn't work , when i click on connect , it search devices , and i see about 30 times the same device, So i choose one and i have this message Error Occured An error has occured in sub:main_ble_connected (java line:384) java.lang.NullPointerException Continue? NO YES
Hi i found it in this forum https://www.b4x.com/android/forum/attachments/blereadwrite-zip.35768/ I have an HM10 ble with an uC which send correctly strings , tested with success with HMBLE Terminal it doesn't work , when i click on connect , it search devices , and i see about 30 times the same device, So i choose one and i have this message Error Occured An error has occured in sub:main_ble_connected (java line:384) java.lang.NullPointerException Continue? NO YES
Erel B4X founder Staff member Licensed User Longtime User Jun 1, 2016 #2 You should use BLE2 library. Start with this example: https://www.b4x.com/android/forum/t...-with-ble-bluetooth-low-energy.65824/#content Upvote 0
You should use BLE2 library. Start with this example: https://www.b4x.com/android/forum/t...-with-ble-bluetooth-low-energy.65824/#content