I am trying to establish serial comms with a BLE Bluetooth module using the Transparent UART Service.
So far after reading all the Bluetooth related posts, I can't seem to find any clear working example.
I have the Bluetooth Chat example project Bluetooth.B4A which when searching for devices takes a long time to find the module, then when connecting I get:
Error connecting: java.io.IOException:
read failed, socket might closed or
timeout, read ret: -1
I don't see where on the APP you put the UUID either?
Also I have tried the BLE Example BLE.B4A which seems to just have two sliders and not even a way to connect to devices.
I'm trying to get some kind of a starting point where I am able to pass data between my android device and a BLE RN4871 using transparent UART.
UUIDs
Service
49535343-fe7d-4ae5-8fa9-9fafd205e455
Read
49535343-1e4d-4bd9-ba61-23c647249616
Write
49535343-8841-43f4-a8d4-scbe34729bb3
Anyone able to tell me where I'm going wrong?
Thanks
So far after reading all the Bluetooth related posts, I can't seem to find any clear working example.
I have the Bluetooth Chat example project Bluetooth.B4A which when searching for devices takes a long time to find the module, then when connecting I get:
Error connecting: java.io.IOException:
read failed, socket might closed or
timeout, read ret: -1
I don't see where on the APP you put the UUID either?
Also I have tried the BLE Example BLE.B4A which seems to just have two sliders and not even a way to connect to devices.
I'm trying to get some kind of a starting point where I am able to pass data between my android device and a BLE RN4871 using transparent UART.
UUIDs
Service
49535343-fe7d-4ae5-8fa9-9fafd205e455
Read
49535343-1e4d-4bd9-ba61-23c647249616
Write
49535343-8841-43f4-a8d4-scbe34729bb3
Anyone able to tell me where I'm going wrong?
Thanks
Last edited: