You are here

peripheral won't enter start_stop_event | Cypress Semiconductor

peripheral won't enter start_stop_event

Summary: 2 Replies, Latest post by sophie_wang on 29 Jul 2015 07:49 PM PDT
Verified Answers: 1
Last post
Log in to post new comments.
sophie_wang's picture
2 posts

Dear friend,

I have a code changed from project day17 pricvacy. the peripheral will broadcast from public addr to private addr after connected. but something wrong happened. when the central is power off, the peripheral should detect disconnected and readvertise with private addr, the stack enter CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP once, then fast adv timeout, stack enter CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP twice, peripheral start slow adv, stack  enter CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP third time, and when slow adv end, stack should enter CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP. but now I can only see stack enter CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP three times. could you please help to check why slow adv won't end?

Thank you! 

Haneesh's picture
Cypress Employee
18 posts

I have gone through the projects and tested the peripheral project. In component configuration, slow advertising is not enabled (not checked). Hence, CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP triggers only twice (during start of fast advertising and time out of fast advertising).
The project works as expected for me.

sophie_wang's picture
2 posts

Dear Haneesh,

please enable the slow advertise,then you can see the phenomenon



Log in to post new comments.