I would like to write a B4J app that is intended to run on a raspberry pi and sends small text messages via broadcast to Android and iOS clients running a B4X app.
I would like to use BLE periodic advertising for broadcasting data. Is there any option to use it in B4J on a raspberry pi? Could some please guide me to a starting point.
I extended the B4J-Project so multiple connections can be established and maintained. Just select more than one device and click on connect. Messages are send one after another to all connected devices. (Broadcast might be more efficient.)
It is based on BlueZ the linux Bluetooth stack and can be used to compile it with d-bus Java library for raspberry pi. The contained class BleAdvertisement supports broadcasting.