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

ble_evt_dispatch() receives BLE_EVT_BASE event

Hello. After connecting with a central, ble_evt_dispatch function in main.c receives BLE_EVT_BASE event (0x01) periodically. What is this? It looks like events related with Empty PDU packets. Please let me know which my understanding is correct? I am using S110 8.0. Thank you.

Parents
  • enum BLE_COMMON_EVTS
    {
      BLE_EVT_TX_COMPLETE  = BLE_EVT_BASE,  /**< Transmission Complete. @ref ble_evt_tx_complete_t */
      BLE_EVT_USER_MEM_REQUEST,             /**< User Memory request. @ref ble_evt_user_mem_request_t */
      BLE_EVT_USER_MEM_RELEASE              /**< User Memory release. @ref ble_evt_user_mem_release_t */
    };
    

    you are getting a TX_COMPLETE event. This will be used to tell that particular number of data packets have been transmitted. This is not used for EMPTY PDU which are used to to just keep the connection alive.

    This is same as in Core specifications V4.2 7.7.19 Number Of Completed Packets Event

Reply
  • enum BLE_COMMON_EVTS
    {
      BLE_EVT_TX_COMPLETE  = BLE_EVT_BASE,  /**< Transmission Complete. @ref ble_evt_tx_complete_t */
      BLE_EVT_USER_MEM_REQUEST,             /**< User Memory request. @ref ble_evt_user_mem_request_t */
      BLE_EVT_USER_MEM_RELEASE              /**< User Memory release. @ref ble_evt_user_mem_release_t */
    };
    

    you are getting a TX_COMPLETE event. This will be used to tell that particular number of data packets have been transmitted. This is not used for EMPTY PDU which are used to to just keep the connection alive.

    This is same as in Core specifications V4.2 7.7.19 Number Of Completed Packets Event

Children
Related