cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

New Contributor II

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
Reply
1 Solution
New Contributor II

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
Reply
2 Replies
Moderator
Moderator

Hello,

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

Thanks,

P Yugandhar.

0 Likes
Reply
New Contributor II

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
Reply