Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: CC2541 -BLE 1.3 stack - wrong advertizing time.

$
0
0

Hi Evgeny,

Yes, the units are a bit confusing, and are different simply because for instance 0.625 mSec is the best precision we can give for some parameters, whereas for instance TGAP_LIM_ADV_TIMEOUT which determines how long you advertise, is specified in 1 second units.

To advertise for 10 seconds only, put this code in the Init function in your applications task:
GAP_SetParamValue(TGAP_LIM_ADV_TIMEOUT, 10);

Best regards,
Aslak 


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>