cancel
Showing results for 
Search instead for 
Did you mean: 

Bluenrg-M2SA connection disconnected and not receiving notification

PG26
Associate II

I'm using Bluenrg-M2SA with and facing issue with ble connection. 

 

Bluenrg-M2SA  is connecting as a client with smart watch but it gets disconnected  at every 30 seconds.

Error: hci_disconnection_complete_event, Reason: 13

I'm using BlueNRG-1_2 DK 3.2.3. Any idea to increase the connection time from application?

 

Also, Bluenrg-M2SA connects as a client to smart watch to read the hear rate value. It also successfully executes the heart rate service by using following code,

 

UUID_Con_Char.UUID_16 = 0x0D18;

ret=aci_gatt_disc_primary_service_by_uuid(connection_handle,UUID_TYPE_16,&UUID_Con_Serv);
// it's failing with UUID_TYPE_128 but working with UUID_TYPE_16
 
API returns success and received  aci_gatt_proc_complete_event().
 
Than after Enabled the all notification by using aci_gatt_set_event_mask(0x7FFFF) 
 
After that starting the procedure to read a characteristic value by following code,
 
UUID_Con_Char.UUID_16 = 0x372A;
ret=aci_gatt_read_using_char_uuid(connection_handle, 0x0001, 0xFFFF,UUID_TYPE_16,&UUID_Con_Char);
// it's failing with UUID_TYPE_128 but working with UUID_TYPE_16
 
API returns success and received  aci_gatt_proc_complete_event().
 
After above steps expecting notification but never received. Am i missing anything here? any solution to increase the timeout? any solution to receive the notification?
 
 
 
 
 
 
0 REPLIES 0