NUS example, when connected, see current pulse 50ms interval

ncs v2.9.0

nRF52832 DK (NUS central)

nRF52840 DK (NUS peripheral)

1) When connected, see the empty PDU from peripheral to central about 100ms interval.

2) To use the power monitor to watch the current consumption, the current pulse is about 50ms interval, why it's different?

  

Parents Reply
  • 1) connection interval is unmodified, the default values are

    #define BT_GAP_INIT_CONN_INT_MIN 0x0018 /* 30 ms */
    #define BT_GAP_INIT_CONN_INT_MAX 0x0028 /* 50 ms */

    I think maybe the sniffer can't capture all packets for channel hopping condition, so the interval changed to 100ms in the wireshark.

    I got empty PDU packets interval 50ms sometimes in the wireshark.

    2) To send "hello\n" once waveform as the following, the sampling rate is 32k/s, maybe not the real waveform.

    zoom in 

    zoom in

    It seems have 6 spikes matching the 6 bytes data, but why it continued many times in 10ms interval?

Children
Related