Other Parts Discussed in Thread: BLE-STACK
Hey there,
I'am programming on a sensor using the CC2541 controller.
The Software is based on the BLE-Stack simpleBLEBroadcaster Software using scannable undirected advertisements.
For power saving I want to set the advertising interval up to 15 - 30 seconds.
Due to the BLE-Stack limitation on 10,24s I decided to use a seperate timer waking up the device, and start/stop the broadcast.
While meassuring the power cosumption of the device I noticed that the workaround I'am using does increase the power consumption because of increased pre- and postprocessing time to enable and disable the broadcaster (~4ms). So it comes to the question if it is possible to avoid this wasted time/energy?
In the file "ll.h" I have found definitions for the maximum advertising interval but changing this parameters does not effect the maxmimum interval I can use with the broadcaster.
I have also tried to increase the sleeping time by editing in file "hal_sleep.c" the line "timeout = llTimeout;" to "timeout = llTimeout + x;" but this stops the advertising.