uniplan Active Member Licensed User Longtime User Jun 28, 2017 #1 I need to handle beacon devices from B4J. I wanted to know if there is a library similar to B4A's BLE2. If not, what can be the way to interact with these devices? Thanks.
I need to handle beacon devices from B4J. I wanted to know if there is a library similar to B4A's BLE2. If not, what can be the way to interact with these devices? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Jun 28, 2017 #2 There is no similar B4J library. You can connect an Android device and use it for the BLE communication. Upvote 0
There is no similar B4J library. You can connect an Android device and use it for the BLE communication.
uniplan Active Member Licensed User Longtime User Jun 28, 2017 #3 I can not use an Android device. I need to use a raspberry device. There is a way to capture the advertising BLE data? Upvote 0
I can not use an Android device. I need to use a raspberry device. There is a way to capture the advertising BLE data?
uniplan Active Member Licensed User Longtime User Jun 28, 2017 #4 I already can see the BLE data with these commands: B4X: hciconfig hci0 down hciconfig hci0 up sudo hcitool lescan --duplicates & sudo hcidump --raw I would like to acquire this data in a B4J application and then process them. Upvote 0
I already can see the BLE data with these commands: B4X: hciconfig hci0 down hciconfig hci0 up sudo hcitool lescan --duplicates & sudo hcidump --raw I would like to acquire this data in a B4J application and then process them.
Erel B4X founder Staff member Licensed User Longtime User Jun 29, 2017 #5 You can use jShell to run these commands and monitor their output. Upvote 0