We are having an external Gateway which is BLE 4.0 supported. I have configured the external gateway as a BLE GATT Client for reading the sensor data of DA14583 IoT sensor dongle. I have able to read the data once it connected to DA14583 Dongle, but the problem is connecting to DA14583 Dongle based on BD address it is connecting and disconnecting at the same instant please find the attached log of AT commands by BLE Client.
AT+QBTGATCCON=1,"B001",D9D400CAEA80,1 //B001 is client Id, D9D400CAEA80 is BD address of DA14583 Sensor Dongle
+QBTGATCCON: 1,0,"B001",D9D400CAEA80,1 //Connected
+QBTGATCCON: 0,0,"B001",D9D400CAEA80,1 // Disconnected
To reconnect the dongle I have to restart(power on-off) both the client and server and run the complete AT stack of code in the client for reconnection still it won't connect, but if I am lucky it will connect successfully. Once connected I can read sensor data without any issue.
What may be the problem Is there any limit in DA14585 connection interval time or restricted access for external BLE modules?