I've seen threads that discuss the interval for advertisements using blecm_startAdv() but there is no mention about how long the device advertises for every interval. Is it just as long as it takes to transmit all the bytes in the adv packet?
By using bleprofile_Discoverable() we can use the builtin state machine and that has a duration setting but how can we set duration when using blecm_startAdv()?
Thanks that's actually what I expected it to be. So since bleprofile_Discoverable() runs a state machine that includes calls to blecm_startAdv(), does bleprofile_Discoverable() just repeatedly make calls to blecm_startAdv() to extend the advertising duration per interval and make use of the "duration" value in the configuration?