This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Question about Heart Rate Application

Hello!

I have two question from Heart Rate Application.

  1. What BLE_L2CAP_MTU_DEF number presents?
  2. I do not see event handlers for WAKEUP_BUTTON and BONDMNGR_DELETE_BUTTON. How the application knows that these two buttons present wake up from system-off and Wake-up erase all bonds.

Best regards

  • Hi,

    1. BLE_L2CAP_MTU_DEF is the maximum payload length of a packet on L2CAP layer.
    2. There is no interrupt handler for these 2 pins, they are configured to generate the GPIOTE PORT event to wake the chip up from system off. When the chip wake up from system off, it will do a reset and run the code as a fresh start. Note that we read BONDMNGR_DELETE_BUTTON_PIN_NO when starting up to detect if we should erase the bond information or not.
Related