Hello Nordic Pros,
Doing some debugging using RTT Viewer and an nRF51822 under SDK12.3. Here is the code lines of interest:
And here are the log messages:
iDrink::INFO:IPHONE 'PPM' RECEIVED @ 683250 mS
iDrink::INFO:ID QUERY '?' SENT AT: 683250
m_life_count_msec is a copy of an app timer count in mSec that is set up to inc ~ every 50 mSec.
Here is the timer setup code:
And here is the timeout code showing the assignment to m_life_count_msec:
Obviously the questions is, why is there not a 2000 mSec delay between the two log messages?
Does nrf_delay_ms() suspend m_app_timer while it is counting?
Help, please!
Robin @ TL