This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Not receiving data when using osal_pwrmgr_device( PWRMGR_BATTERY )



I have a simple test program that is transmitting 20 bytes every 500ms. I use Btool to check the data and everything is correct when I have osal_pwrmgr_device( PWRMGR_ALWAYS_ON ). However, when I enable osal_pwrmgr_device( PWRMGR_BATTERY ) to save some power, BTool doesn't get any data. 

This is how I transmit the data:

osal_memcpy( &nData.value, &spi_buff1, 20 );
GATT_Notification( 0, &nData, FALSE )

I am basically using the code from SimpleBLEPeripheral and I have the commands above inside SBP_PERIODIC_EVT.

I am using stack 1.3. I had the same issue with stack 1.2.

Please help.