return nrf_ble_gq_item_add(p_ble_hrs_c->p_gatt_queue, &hrs_c_req, p_ble_hrs_c->conn_...
NRF_BLE_GQ_DEF(m_ble_gatt_queue,NRF_SDH_BLE_CENTRAL_LINK_COUNT,NRF_BLE_GQ_QUEUE_SIZE); discovery module instanceを作成します。 サービスが1つの場合はBLE_DB_DISCOVERY_DEFを使用します。 ble_ctrl.c BLE_DB_DISCOVERY_DEF(m_db_discovery);/**< Database discovery module instance. */ も...
*/ NRF_BLE_GQ_DEF(m_ble_gatt_queue, /**< BLE GATT Queue instance. */ NRF_SDH_BLE_CENTRAL_LINK_COUNT, NRF_BLE_GQ_QUEUE_SIZE); static uint16_t m_ble_nus_max_data_len = BLE_GATT_ATT_MTU_DEFAULT - OPCODE_LENGTH - HANDLE_LENGTH; /**< Maximum length of data (in bytes) that ...