nRF52832——GATT

// GATT结构

/**@brief   GATT structure that contains status information for the GATT module. */

struct nrf_ble_gatt_s
{
    uint16_t                    att_mtu_desired_periph;                //!< Requested ATT_MTU size for the next peripheral connection that is established.
    uint16_t                    att_mtu_desired_central;               //!< Requested ATT_MTU size for the next central connection that is established.
    uint8_t                     data_length;                                   //!< Data length to use for the next connection that is established.
    nrf_ble_gatt_link_t         links[NRF_BLE_GATT_LINK_COUNT];         //!< GATT related information for all active connections.
    nrf_ble_gatt_evt_handler_t        evt_handler;                  //!< GATT event handler.
};

猜你喜欢

转载自blog.csdn.net/qingzhuyuxian/article/details/80618877