uint8_t ntime=0;
while(ntime<10)
{
nrf_timer_delay_ms(TIMER2, (110UL));
pin_read = nrf_gpio_pin_read(25);
if(pin_read==0) send_debug_message("PIN=0");
if(pin_read==1) send_debug_message("PIN=1");
ntime++;
}
But I only receive notifications 6 times... why I miss the reset of 4 ? Connection remains connected and I can still talk to the BLE via nrf tool
BTW, send_debug_message, sends a characteristic notification to android device or nrf master control panel.