Hello,
I am using nRF52480, s140 , SDK_15.0 and using a rscs central example. I used
uint32_t current_time = app_timer_cnt_get();
NRF_LOG_INFO("current_Tick: %02d", current_time);
uint32_t CurrentTIME = current_time/32.768;
NRF_LOG_INFO("current_time: %02d", CurrentTIME);
at BLE_GAP_EVT_ADV_REPORT
event to print current tick and current time in milisecs , I set :
#define SCAN_INTERVAL 0x00F0
#define SCAN_WINDOW 0x0050
#define SCAN_DURATION 0x0000
#define SCAN_DURATION_WITELIST 10000
I am going to just scan some beacons around to print a log file with time and RSSI from all around beacons with HTerm terminal on com port.
I want to scan be contentiously until it is disconnected. but when I plot current_time vs RSSI for one beacon about one hour scanning, current_time start from 0 till 512000 about 4 times!
I could not understand why it is look like this? should I change any duration?
Thanks