You are here

BLE advertsing | Cypress Semiconductor

BLE advertsing

Summary: 1 Reply, Latest post by Anjana Muralidharan on 18 Nov 2016 01:01 AM PST
Verified Answers: 1
Last post
Log in to post new comments.
ahamed_1694551's picture
User
7 posts

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

Anjana Muralidharan's picture
Cypress Employee
62 posts

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

Log in to post new comments.