uint32_t ble_gap_appearance_get_rsp_dec(uint8_t const * const p_buf, uint32_t packet_len, uint16_t * const p_appearance, uint32_t * const p_result_code) { SER_RSP_DEC_BEGIN(SD_BLE_GAP_APPEARANCE_GET); SER_PULL_COND(&p_appearance, uint16_t_dec); SER_RSP_DEC_END; }
uint32_t ble_gap_addr_get_rsp_dec(uint8_t const * const p_buf, uint32_t packet_len, ble_gap_addr_t * const p_address, uint32_t * const p_result_code) { SER_RSP_DEC_BEGIN(SD_BLE_GAP_ADDR_GET); SER_PULL_FIELD(p_address, ble_gap_addr_t_dec); SER_RSP_DEC_END; }
uint32_t ble_gap_privacy_get_rsp_dec(uint8_t const * const p_buf, uint32_t packet_len, ble_gap_privacy_params_t const * const p_privacy_params, uint32_t * const p_result_code) { SER_RSP_DEC_BEGIN(SD_BLE_GAP_PRIVACY_GET); SER_PULL_COND((void **)&p_privacy_params, ble_gap_privacy_params_t_dec); SER_RSP_DEC_END; }
uint32_t ble_gap_rssi_get_rsp_dec(uint8_t const * const p_buf, uint32_t packet_len, int8_t * const p_rssi, uint32_t * const p_result_code) { SER_RSP_DEC_BEGIN(SD_BLE_GAP_RSSI_GET); SER_PULL_uint8(p_rssi); SER_RSP_DEC_END; }
uint32_t ble_gap_sec_params_reply_rsp_dec(uint8_t const * const p_buf, uint32_t packet_len, ble_gap_sec_keyset_t const * const p_sec_keyset, uint32_t * const p_result_code) { SER_RSP_DEC_BEGIN(SD_BLE_GAP_SEC_PARAMS_REPLY); SER_PULL_COND(&p_sec_keyset, ble_gap_sec_keyset_t_dec); SER_RSP_DEC_END; }
uint32_t ble_gap_ppcp_get_rsp_dec(uint8_t const * const p_buf, uint32_t packet_len, ble_gap_conn_params_t * const p_conn_params, uint32_t * const p_result_code) { SER_RSP_DEC_BEGIN(SD_BLE_GAP_PPCP_GET); SER_PULL_COND(&p_conn_params, ble_gap_conn_params_t_dec); SER_RSP_DEC_END; }
uint32_t ble_gap_lesc_oob_data_get_rsp_dec(uint8_t const * const p_buf, uint32_t packet_len, ble_gap_lesc_oob_data_t * *pp_oobd_own, uint32_t * const p_result_code) { SER_RSP_DEC_BEGIN(SD_BLE_GAP_LESC_OOB_DATA_GET); SER_PULL_COND(pp_oobd_own, ble_gap_lesc_oob_data_t_dec); SER_RSP_DEC_END; }
uint32_t ble_gap_conn_sec_get_rsp_dec(uint8_t const * const p_buf, uint32_t packet_len, ble_gap_conn_sec_t * * const pp_conn_sec, uint32_t * const p_result_code) { SER_RSP_DEC_BEGIN(SD_BLE_GAP_CONN_SEC_GET); SER_PULL_COND(pp_conn_sec, ble_gap_conn_sec_t_dec); SER_RSP_DEC_END; }
uint32_t ble_gap_data_length_update_rsp_dec(uint8_t const * const p_buf, uint32_t packet_len, ble_gap_data_length_limitation_t * p_dl_limitation, uint32_t * const p_result_code) { SER_RSP_DEC_BEGIN(SD_BLE_GAP_DATA_LENGTH_UPDATE); SER_PULL_COND((void **)&p_dl_limitation, ble_gap_data_length_limitation_t_dec); SER_RSP_DEC_END; }
uint32_t ble_gap_device_name_get_rsp_dec(uint8_t const * const p_buf, uint32_t packet_len, uint8_t * const p_dev_name, uint16_t * const p_dev_name_len, uint32_t * const p_result_code) { SER_RSP_DEC_BEGIN(SD_BLE_GAP_DEVICE_NAME_GET); SER_PULL_COND(&p_dev_name_len, uint16_t_dec); if (p_dev_name_len) { SER_PULL_uint8array(p_dev_name, *p_dev_name_len); } SER_RSP_DEC_END; }