Other Parts Discussed in Thread: CC2650STK, CC2650
While we wait for the XDS110 debugger to have current measurement superpowers, I am trying to improve the power consumption on the CC2650STK SensorTag. I don't see the main SensorTag.c task ever going to sleep! Nor does it implement any kind of Semaphore_Pend, which I expected it to once the GAPROLE becomes "WAITING"/"WAITING_AFTER_TIMEOUT". Is there some purpose behind this?
Once the BLE advertisement switches itself off, what's a good point in the code to put the device into sleep such that the button press will wake it, but nothing else?
