cancel
Showing results for 
Search instead for 
Did you mean: 

BLE connection object stays alive while the data path is dead

ilias
Associate II

Hello All,

My Android App is connected with a custom printer that uses the BLUENRG-M2SA module in order to receive data.

The connection is stable and data are transfered correctly.

The app talks over GATT: it writes the status/clear/write/print enquiries to the write characteristic and waits for the printer's replies as notifications on the read characteristic. When you cut wifi for a while and bring it back, it disrupts the BLE link for a moment. On newer Android that I am currently using, that leaves the GATT stack out of sync: the ACL link stays up — so onConnectionStateChange(DISCONNECTED) never fires and UI App still shows "connected" — but the GATT operation/notification state underneath is broken.

My question:

- Is there any way to confiigure the ble connection on BlueNRG module in such a way that any interference of Wifi does not affect the bluetooth connection?

 

0 REPLIES 0