I do not want to use advdelay(0 ~ 10ms)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
udc_3774571
Level 1
Level 1

I know there is advDelay(0 ~ 10ms) when I advertise. I want to remove advDelay and advertise at the same interval.

Of course I know that advDelay will prevent conflicts between different beacons. I will do some testing by removing advDelay.

I have read the PSoC 4 BLE Troubleshooting Guide-KBA220490 and have read the section in section 1-20, "How do I disable random advDelay in the firmware?" I did the same. But the problem was not resolved. If you declare before the start of CyBle_Start () function, BLE is not scanned, CLK is not sleep-mode and it kept running. Conversely, if you start and declare the CyBle_Start () function, BLE is able to scan and CLK is sleep-mode. Still, advDelay was not removed.

Https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day009_Dyn...

I used the site's Dynamic_Broadcaster example and used fixed data instead of dynamic.

Also, https://community.cypress.com/docs/DOC-13821

You have read Section 1-20 of the site.

Where did I make a mistake? Or am I misinformed?

Can you suggest a way to remove advDelay? ㅠㅠ

Thank you.

0 Likes
1 Solution

Hi

Thank you for your response and interest.

I saw through the oscilloscope that advDelay was not removed.

I posted the question through Google translation. So it seems that people have not replied because it is difficult to understand the question.

I eventually figured out how to remove advDelay through the search. The advDelay was not removed because the location to declare was invalid. If anyone is having the same trouble, please refer to the link below.

https://github.com/cypresssemiconductorco/BLE/blob/master/BLE%20Low%20Power%20Template%20Examples/BL...

Thank you.

View solution in original post

0 Likes
2 Replies
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

Can you please let us know how you verified that advDelay is not removed?

Thanks,

P Yugandhar.

0 Likes

Hi

Thank you for your response and interest.

I saw through the oscilloscope that advDelay was not removed.

I posted the question through Google translation. So it seems that people have not replied because it is difficult to understand the question.

I eventually figured out how to remove advDelay through the search. The advDelay was not removed because the location to declare was invalid. If anyone is having the same trouble, please refer to the link below.

https://github.com/cypresssemiconductorco/BLE/blob/master/BLE%20Low%20Power%20Template%20Examples/BL...

Thank you.

0 Likes