- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have a code which has three services and can send data simulataneously to the app with different time intervals.initially when i connect the device gets connected properly and the device gets disconnected after some time and re-connects back as i have auto connectivity implemented in my android application.After a certain number of reconnections it gets status 129 and status 133 and the device stops advertising..
how can i make the device advertise without resetting the device
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Did you checked the reason for disconnection? Is it expected disconnection or is it random? If random, please check whether you are getting EVT_GAP_DEVICE_DISCONNECTED event and print the reason eg:printf("Error code is : 0x%x",*(uint8 *)eventParam);
Also if possible share the screenshot of call stack under debug mode.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Did you checked the reason for disconnection? Is it expected disconnection or is it random? If random, please check whether you are getting EVT_GAP_DEVICE_DISCONNECTED event and print the reason eg:printf("Error code is : 0x%x",*(uint8 *)eventParam);
Also if possible share the screenshot of call stack under debug mode.
Thanks,
Anjana