Other Parts Discussed in Thread: CC2541
Hi , I am using CC2541 keyfob board and the software is keyfobdemo project.
I have found the following code in keyfobdemo project:
// Use limited discoverable mode to advertise for 30.72s, and then stop, or
// use general discoverable mode to advertise indefinitely
#define DEFAULT_DISCOVERABLE_MODE GAP_ADTYPE_FLAGS_LIMITED
//#define DEFAULT_DISCOVERABLE_MODE GAP_ADTYPE_FLAGS_GENERAL
So , Is the default value of CC2541 advertise period 30.72 seconds ??
But it seem advertise over 30.72 seconds after I push the button.
After a period time. The CC2541 stop advertise, but the green LED always flash.
Where can I turn off the freen LED , when CC2541 is not advertise ??