Skip to content

Instantly share code, notes, and snippets.

@telent
Created January 1, 2022 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save telent/9bc48dd41503d844b59b908a84757e7c to your computer and use it in GitHub Desktop.
Save telent/9bc48dd41503d844b59b908a84757e7c to your computer and use it in GitHub Desktop.
{
"tag": {
"ble_sm_sc_oob_data": {
"members": {
"r": {
"offset": 0,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"c": {
"offset": 16,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 32
},
"null": {
"members": {
"cb": {
"offset": 36,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gatt_reliable_attr_fn"
}
}
},
"cb_arg": {
"offset": 40,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"prev_handle": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"service_uuid": {
"offset": 0,
"type": {
"typedef": "ble_uuid_any_t",
"bytes": null
}
},
"end_handle": {
"offset": 22,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"cur_start": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"cur_end": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"chr_uuid": {
"offset": 0,
"type": {
"typedef": "ble_uuid_any_t",
"bytes": null
}
},
"chr_val_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"start_handle": {
"offset": 20,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"offset": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"handles": {
"offset": 0,
"type": {
"array": {
"count": 7,
"of": {
"typedef": "uint16_t",
"bytes": 2
}
}
}
},
"num_handles": {
"offset": 16,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"att_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"attr": {
"offset": 0,
"type": {
"struct": "ble_gatt_attr"
}
},
"length": {
"offset": 34,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"attrs": {
"offset": 0,
"type": {
"array": {
"count": 3,
"of": {
"struct": "ble_gatt_attr"
}
}
}
},
"num_attrs": {
"offset": 32,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"cur_attr": {
"offset": 33,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 44
},
"os_memblock": {
"members": {
"sle_next": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_memblock"
}
}
}
},
"bytes": 4
},
"os_mempool": {
"members": {
"mp_block_size": {
"offset": 0,
"type": {
"typedef": "uint32_t",
"bytes": 4
}
},
"mp_num_blocks": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"mp_num_free": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"mp_min_free": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"mp_flags": {
"offset": 10,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"mp_membuf_addr": {
"offset": 12,
"type": {
"typedef": "uint32_t",
"bytes": 4
}
},
"stqe_next": {
"offset": 16,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mempool"
}
}
},
"name": {
"offset": 24,
"type": {
"bytes": 4,
"pointer": {
"identifier": "char"
}
}
}
},
"bytes": 28
},
"os_mbuf_pool": {
"members": {
"omp_databuf_len": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"omp_pool": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mempool"
}
}
},
"stqe_next": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mbuf_pool"
}
}
}
},
"bytes": 12
},
"os_mbuf_pkthdr": {
"members": {
"omp_len": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"omp_flags": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"stqe_next": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mbuf_pkthdr"
}
}
}
},
"bytes": 8
},
"os_mbuf": {
"members": {
"om_data": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"identifier": "uint8_t"
}
}
},
"om_flags": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"om_pkthdr_len": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"om_len": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"om_omp": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mbuf_pool"
}
}
},
"sle_next": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mbuf"
}
}
},
"om_databuf": {
"offset": 16,
"type": {
"array": {
"count": 0,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 16
},
"ble_att_prep_entry": {
"members": {
"sle_next": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_att_prep_entry"
}
}
},
"bape_handle": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"bape_offset": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"bape_value": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mbuf"
}
}
}
},
"bytes": 12
},
"ble_att_prep_entry_list": {
"members": {
"slh_first": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_att_prep_entry"
}
}
}
},
"bytes": 4
},
"ble_att_svr_conn": {
"members": {
"basc_prep_list": {
"offset": 0,
"type": {
"struct": "ble_att_prep_entry_list"
}
},
"basc_prep_timeout_at": {
"offset": 4,
"type": {
"typedef": "ble_npl_time_t",
"bytes": 4
}
}
},
"bytes": 8
},
"ble_l2cap_chan": {
"members": {
"sle_next": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_l2cap_chan"
}
}
},
"conn_handle": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"dcid": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"scid": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"flags": {
"offset": 14,
"type": {
"typedef": "ble_l2cap_chan_flags",
"bytes": 1
}
},
"rx_buf": {
"offset": 16,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mbuf"
}
}
},
"rx_len": {
"offset": 20,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"rx_fn": {
"offset": 24,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_l2cap_rx_fn"
}
}
}
},
"bytes": 28
},
"ble_gap_sec_state": {
"members": {
"encrypted": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"authenticated": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"bonded": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"key_size": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
}
},
"bytes": 4
},
"ble_gap_conn_desc": {
"members": {
"sec_state": {
"offset": 0,
"type": {
"struct": "ble_gap_sec_state"
}
},
"our_id_addr": {
"offset": 4,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"peer_id_addr": {
"offset": 11,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"our_ota_addr": {
"offset": 18,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"peer_ota_addr": {
"offset": 25,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"conn_handle": {
"offset": 32,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_itvl": {
"offset": 34,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_latency": {
"offset": 36,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"supervision_timeout": {
"offset": 38,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"role": {
"offset": 40,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"master_clock_accuracy": {
"offset": 41,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 44
},
"ble_gap_upd_params": {
"members": {
"itvl_min": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"itvl_max": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"latency": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"supervision_timeout": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"min_ce_len": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"max_ce_len": {
"offset": 10,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 12
},
"ble_gap_passkey_params": {
"members": {
"action": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"numcmp": {
"offset": 4,
"type": {
"typedef": "uint32_t",
"bytes": 4
}
}
},
"bytes": 8
},
"ble_gap_disc_desc": {
"members": {
"event_type": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"length_data": {
"offset": 1,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"addr": {
"offset": 2,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"rssi": {
"offset": 9,
"type": {
"typedef": "int8_t",
"bytes": 1
}
},
"data": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"direct_addr": {
"offset": 16,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
}
},
"bytes": 24
},
"ble_gap_repeat_pairing": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"cur_key_size": {
"offset": 2,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"cur_authenticated": {
"offset": 3,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"cur_sc": {
"offset": 3,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"new_key_size": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"new_authenticated": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"new_sc": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"new_bonding": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 6
},
"ble_gap_event": {
"members": {
"type": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 52
},
"ble_gatts_conn": {
"members": {
"clt_cfgs": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_gatts_clt_cfg"
}
}
},
"num_clt_cfgs": {
"offset": 4,
"type": {
"bytes": 4,
"name": "int"
}
},
"indicate_val_handle": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 12
},
"ble_gatts_clt_cfg": {
"members": {}
},
"ble_hs_conn": {
"members": {
"sle_next": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_hs_conn"
}
}
},
"bhc_handle": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"bhc_our_addr_type": {
"offset": 6,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"bhc_peer_addr": {
"offset": 7,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"bhc_our_rpa_addr": {
"offset": 14,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"bhc_peer_rpa_addr": {
"offset": 21,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"bhc_itvl": {
"offset": 28,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"bhc_latency": {
"offset": 30,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"bhc_supervision_timeout": {
"offset": 32,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"bhc_master_clock_accuracy": {
"offset": 34,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"supported_feat": {
"offset": 36,
"type": {
"typedef": "uint32_t",
"bytes": 4
}
},
"bhc_flags": {
"offset": 40,
"type": {
"typedef": "ble_hs_conn_flags_t",
"bytes": 1
}
},
"bhc_channels": {
"offset": 44,
"type": {
"struct": "ble_l2cap_chan_list"
}
},
"bhc_rx_chan": {
"offset": 48,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_l2cap_chan"
}
}
},
"bhc_rx_timeout": {
"offset": 52,
"type": {
"typedef": "ble_npl_time_t",
"bytes": 4
}
},
"bhc_outstanding_pkts": {
"offset": 56,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"stqh_first": {
"offset": 60,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mbuf_pkthdr"
}
}
},
"stqh_last": {
"offset": 64,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"bhc_att_svr": {
"offset": 68,
"type": {
"struct": "ble_att_svr_conn"
}
},
"bhc_gatt_svr": {
"offset": 76,
"type": {
"struct": "ble_gatts_conn"
}
},
"bhc_sec_state": {
"offset": 88,
"type": {
"struct": "ble_gap_sec_state"
}
},
"bhc_cb": {
"offset": 92,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gap_event_fn"
}
}
},
"bhc_cb_arg": {
"offset": 96,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 100
},
"ble_l2cap_chan_list": {
"members": {
"slh_first": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_l2cap_chan"
}
}
}
},
"bytes": 4
},
"ble_hs_conn_addrs": {
"members": {
"our_id_addr": {
"offset": 0,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"peer_id_addr": {
"offset": 7,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"our_ota_addr": {
"offset": 14,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"peer_ota_addr": {
"offset": 21,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
}
},
"bytes": 28
},
"ble_sm_pair_cmd": {
"members": {
"io_cap": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"oob_data_flag": {
"offset": 1,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"authreq": {
"offset": 2,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"max_enc_key_size": {
"offset": 3,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"init_key_dist": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"resp_key_dist": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 6
},
"ble_sm_pair_confirm": {
"members": {
"value": {
"offset": 0,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 16
},
"ble_sm_pair_random": {
"members": {
"value": {
"offset": 0,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 16
},
"ble_sm_public_key": {
"members": {
"x": {
"offset": 0,
"type": {
"array": {
"count": 31,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"y": {
"offset": 32,
"type": {
"array": {
"count": 31,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 64
},
"ble_sm_dhkey_check": {
"members": {
"value": {
"offset": 0,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 16
},
"ble_sm_keys": {
"members": {
"ltk_valid": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"ediv_rand_valid": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"irk_valid": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"csrk_valid": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"addr_valid": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"ediv": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"rand_val": {
"offset": 8,
"type": {
"typedef": "uint64_t",
"bytes": 8
}
},
"addr_type": {
"offset": 16,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"key_size": {
"offset": 17,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"ltk": {
"offset": 18,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"irk": {
"offset": 34,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"csrk": {
"offset": 50,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"addr": {
"offset": 66,
"type": {
"array": {
"count": 5,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 72
},
"ble_sm_proc": {
"members": {
"stqe_next": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_sm_proc"
}
}
},
"exp_os_ticks": {
"offset": 4,
"type": {
"typedef": "ble_npl_time_t",
"bytes": 4
}
},
"flags": {
"offset": 8,
"type": {
"typedef": "ble_sm_proc_flags",
"bytes": 1
}
},
"conn_handle": {
"offset": 10,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"pair_alg": {
"offset": 12,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"state": {
"offset": 13,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"rx_key_flags": {
"offset": 14,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"key_size": {
"offset": 15,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"pair_req": {
"offset": 16,
"type": {
"array": {
"count": 6,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"pair_rsp": {
"offset": 23,
"type": {
"array": {
"count": 6,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"tk": {
"offset": 30,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"confirm_peer": {
"offset": 46,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"randm": {
"offset": 62,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"rands": {
"offset": 78,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"ltk": {
"offset": 94,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"our_keys": {
"offset": 112,
"type": {
"struct": "ble_sm_keys"
}
},
"peer_keys": {
"offset": 184,
"type": {
"struct": "ble_sm_keys"
}
},
"passkey_bits_exchanged": {
"offset": 256,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"ri": {
"offset": 257,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"pub_key_peer": {
"offset": 258,
"type": {
"struct": "ble_sm_public_key"
}
},
"mackey": {
"offset": 322,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"dhkey": {
"offset": 338,
"type": {
"array": {
"count": 31,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"oob_data_local": {
"offset": 372,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"oob_data_remote": {
"offset": 376,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 384
},
"ble_sm_result": {
"members": {
"app_status": {
"offset": 0,
"type": {
"bytes": 4,
"name": "int"
}
},
"sm_err": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"passkey_params": {
"offset": 8,
"type": {
"struct": "ble_gap_passkey_params"
}
},
"state_arg": {
"offset": 16,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"execute": {
"offset": 20,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"enc_cb": {
"offset": 20,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"bonded": {
"offset": 20,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"restore": {
"offset": 20,
"type": {
"bytes": 4,
"name": "unsigned int"
}
}
},
"bytes": 24
},
"ble_hs_adv_field": {
"members": {
"length": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"type": {
"offset": 1,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"value": {
"offset": 2,
"type": {
"array": {
"count": 0,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 2
},
"ble_hs_adv_fields": {
"members": {
"flags": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"uuids16": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"num_uuids16": {
"offset": 8,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"uuids16_is_complete": {
"offset": 8,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"uuids32": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"num_uuids32": {
"offset": 16,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"uuids32_is_complete": {
"offset": 16,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"uuids128": {
"offset": 20,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"num_uuids128": {
"offset": 24,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"uuids128_is_complete": {
"offset": 24,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"name": {
"offset": 28,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"name_len": {
"offset": 32,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"name_is_complete": {
"offset": 32,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"tx_pwr_lvl": {
"offset": 34,
"type": {
"typedef": "int8_t",
"bytes": 1
}
},
"tx_pwr_lvl_is_present": {
"offset": 32,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"slave_itvl_range": {
"offset": 36,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"svc_data_uuid16": {
"offset": 40,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"svc_data_uuid16_len": {
"offset": 44,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"public_tgt_addr": {
"offset": 48,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"num_public_tgt_addrs": {
"offset": 52,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"appearance": {
"offset": 54,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"appearance_is_present": {
"offset": 56,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"adv_itvl": {
"offset": 58,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"adv_itvl_is_present": {
"offset": 60,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"svc_data_uuid32": {
"offset": 64,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"svc_data_uuid32_len": {
"offset": 68,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"svc_data_uuid128": {
"offset": 72,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"svc_data_uuid128_len": {
"offset": 76,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"uri": {
"offset": 80,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"uri_len": {
"offset": 84,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"mfg_data": {
"offset": 88,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"mfg_data_len": {
"offset": 92,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 96
},
"ble_npl_mutex": {
"members": {
"handle": {
"offset": 0,
"type": {
"typedef": "SemaphoreHandle_t",
"bytes": 4
}
}
},
"bytes": 4
},
"ble_hci_lc_disconnect_cp": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"reason": {
"offset": 2,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 3
},
"ble_hci_le_set_adv_params_cp": {
"members": {
"min_interval": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"max_interval": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"type": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"own_addr_type": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"peer_addr_type": {
"offset": 6,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"peer_addr": {
"offset": 7,
"type": {
"array": {
"count": 5,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"chan_map": {
"offset": 13,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"filter_policy": {
"offset": 14,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 15
},
"ble_hci_le_set_adv_data_cp": {
"members": {
"adv_data_len": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"adv_data": {
"offset": 1,
"type": {
"array": {
"count": 30,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 32
},
"ble_hci_le_set_scan_rsp_data_cp": {
"members": {
"scan_rsp_len": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"scan_rsp": {
"offset": 1,
"type": {
"array": {
"count": 30,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 32
},
"ble_hci_le_set_adv_enable_cp": {
"members": {
"enable": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 1
},
"ble_hci_le_set_scan_params_cp": {
"members": {
"scan_type": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"scan_itvl": {
"offset": 1,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"scan_window": {
"offset": 3,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"own_addr_type": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"filter_policy": {
"offset": 6,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 7
},
"ble_hci_le_set_scan_enable_cp": {
"members": {
"enable": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"filter_duplicates": {
"offset": 1,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 2
},
"ble_hci_le_create_conn_cp": {
"members": {
"scan_itvl": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"scan_window": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"filter_policy": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"peer_addr_type": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"peer_addr": {
"offset": 6,
"type": {
"array": {
"count": 5,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"own_addr_type": {
"offset": 12,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"min_conn_itvl": {
"offset": 13,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"max_conn_itvl": {
"offset": 15,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_latency": {
"offset": 17,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"tmo": {
"offset": 19,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"min_ce": {
"offset": 21,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"max_ce": {
"offset": 23,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 25
},
"ble_hci_le_add_whte_list_cp": {
"members": {
"addr_type": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"addr": {
"offset": 1,
"type": {
"array": {
"count": 5,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 7
},
"ble_hci_le_conn_update_cp": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_itvl_min": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_itvl_max": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_latency": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"supervision_timeout": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"min_ce_len": {
"offset": 10,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"max_ce_len": {
"offset": 12,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 14
},
"ble_hci_le_rd_rem_feat_cp": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 2
},
"ble_hci_le_rem_conn_param_rr_cp": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_itvl_min": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_itvl_max": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_latency": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"supervision_timeout": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"min_ce": {
"offset": 10,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"max_ce": {
"offset": 12,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 14
},
"ble_hci_le_rem_conn_params_nrr_cp": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"reason": {
"offset": 2,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 3
},
"ble_hci_le_rd_phy_cp": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 2
},
"ble_hci_le_rd_phy_rp": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"tx_phy": {
"offset": 2,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"rx_phy": {
"offset": 3,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 4
},
"ble_hci_le_set_default_phy_cp": {
"members": {
"all_phys": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"tx_phys": {
"offset": 1,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"rx_phys": {
"offset": 2,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 3
},
"ble_hci_le_set_phy_cp": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"all_phys": {
"offset": 2,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"tx_phys": {
"offset": 3,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"rx_phys": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"phy_options": {
"offset": 5,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 7
},
"ble_hci_ev_disconn_cmp": {
"members": {
"status": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"conn_handle": {
"offset": 1,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"reason": {
"offset": 3,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 4
},
"ble_hci_ev_le_subev_conn_upd_complete": {
"members": {
"subev_code": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"status": {
"offset": 1,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"conn_handle": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_itvl": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_latency": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"supervision_timeout": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 10
},
"ble_hci_ev_le_subev_rd_rem_used_feat": {
"members": {
"subev_code": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"status": {
"offset": 1,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"conn_handle": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"features": {
"offset": 4,
"type": {
"array": {
"count": 7,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 12
},
"ble_hci_ev_le_subev_rem_conn_param_req": {
"members": {
"subev_code": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"conn_handle": {
"offset": 1,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"min_interval": {
"offset": 3,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"max_interval": {
"offset": 5,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"latency": {
"offset": 7,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"timeout": {
"offset": 9,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 11
},
"ble_hci_ev_le_subev_phy_update_complete": {
"members": {
"subev_code": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"status": {
"offset": 1,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"conn_handle": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"tx_phy": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"rx_phy": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 6
},
"ble_l2cap_sig_update_params": {
"members": {
"itvl_min": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"itvl_max": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"slave_latency": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"timeout_multiplier": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 8
},
"ble_store_key_sec": {
"members": {
"peer_addr": {
"offset": 0,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"ediv": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"rand_num": {
"offset": 16,
"type": {
"typedef": "uint64_t",
"bytes": 8
}
},
"ediv_rand_present": {
"offset": 24,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"idx": {
"offset": 25,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 32
},
"ble_store_value_sec": {
"members": {
"peer_addr": {
"offset": 0,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"key_size": {
"offset": 7,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"ediv": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"rand_num": {
"offset": 16,
"type": {
"typedef": "uint64_t",
"bytes": 8
}
},
"ltk": {
"offset": 24,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"ltk_present": {
"offset": 40,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"irk": {
"offset": 41,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"irk_present": {
"offset": 57,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"csrk": {
"offset": 58,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"csrk_present": {
"offset": 74,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"authenticated": {
"offset": 72,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"sc": {
"offset": 74,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 80
},
"ble_gap_adv_params": {
"members": {
"conn_mode": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"disc_mode": {
"offset": 1,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"itvl_min": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"itvl_max": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"channel_map": {
"offset": 6,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"filter_policy": {
"offset": 7,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"high_duty_cycle": {
"offset": 8,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 10
},
"ble_gap_conn_params": {
"members": {
"scan_itvl": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"scan_window": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"itvl_min": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"itvl_max": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"latency": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"supervision_timeout": {
"offset": 10,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"min_ce_len": {
"offset": 12,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"max_ce_len": {
"offset": 14,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 16
},
"ble_gap_ext_disc_params": {
"members": {
"itvl": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"window": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"passive": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 6
},
"ble_gap_disc_params": {
"members": {
"itvl": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"window": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"filter_policy": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"limited": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"passive": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"filter_duplicates": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 6
},
"ble_gap_event_listener": {
"members": {
"fn": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gap_event_fn"
}
}
},
"arg": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"sle_next": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_gap_event_listener"
}
}
}
},
"bytes": 12
},
"stats_ble_gap_stats": {
"members": {},
"bytes": 0
},
"ble_gap_conn_complete": {
"members": {
"status": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"connection_handle": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"role": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"peer_addr_type": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"peer_addr": {
"offset": 6,
"type": {
"array": {
"count": 5,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"conn_itvl": {
"offset": 12,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"conn_latency": {
"offset": 14,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"supervision_timeout": {
"offset": 16,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"master_clk_acc": {
"offset": 18,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"local_rpa": {
"offset": 19,
"type": {
"array": {
"count": 5,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
},
"peer_rpa": {
"offset": 25,
"type": {
"array": {
"count": 5,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 32
},
"ble_gap_master_state": {
"members": {
"op": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"exp_set": {
"offset": 1,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"exp_os_ticks": {
"offset": 4,
"type": {
"typedef": "ble_npl_time_t",
"bytes": 4
}
},
"cb": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gap_event_fn"
}
}
},
"cb_arg": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"preempted_op": {
"offset": 16,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 20
},
"ble_gap_slave_state": {
"members": {
"op": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"our_addr_type": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"preempted": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"connectable": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"exp_set": {
"offset": 0,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"exp_os_ticks": {
"offset": 4,
"type": {
"typedef": "ble_npl_time_t",
"bytes": 4
}
},
"cb": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gap_event_fn"
}
}
},
"cb_arg": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 16
},
"ble_gap_update_entry": {
"members": {
"sle_next": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_gap_update_entry"
}
}
},
"params": {
"offset": 4,
"type": {
"struct": "ble_gap_upd_params"
}
},
"exp_os_ticks": {
"offset": 16,
"type": {
"typedef": "ble_npl_time_t",
"bytes": 4
}
},
"conn_handle": {
"offset": 20,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 24
},
"ble_gap_update_entry_list": {
"members": {
"slh_first": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_gap_update_entry"
}
}
}
},
"bytes": 4
},
"ble_gap_snapshot": {
"members": {
"desc": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_gap_conn_desc"
}
}
},
"cb": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gap_event_fn"
}
}
},
"cb_arg": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 12
},
"ble_gap_hook_list": {
"members": {
"slh_first": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_gap_event_listener"
}
}
}
},
"bytes": 4
},
"ble_store_key_cccd": {
"members": {
"peer_addr": {
"offset": 0,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"chr_val_handle": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"idx": {
"offset": 10,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 12
},
"ble_store_value_cccd": {
"members": {
"peer_addr": {
"offset": 0,
"type": {
"typedef": "ble_addr_t",
"bytes": null
}
},
"chr_val_handle": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"flags": {
"offset": 10,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"value_changed": {
"offset": 12,
"type": {
"bytes": 4,
"name": "unsigned int"
}
}
},
"bytes": 16
},
"ble_store_key": {
"members": {
"sec": {
"offset": null,
"type": {
"struct": "ble_store_key_sec"
}
},
"cccd": {
"offset": null,
"type": {
"struct": "ble_store_key_cccd"
}
}
},
"bytes": 32
},
"ble_store_value": {
"members": {
"sec": {
"offset": null,
"type": {
"struct": "ble_store_value_sec"
}
},
"cccd": {
"offset": null,
"type": {
"struct": "ble_store_value_cccd"
}
}
},
"bytes": 80
},
"ble_store_status_event": {
"members": {
"event_code": {
"offset": 0,
"type": {
"bytes": 4,
"name": "int"
}
}
},
"bytes": 12
},
"ble_att_svr_entry": {
"members": {
"stqe_next": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_att_svr_entry"
}
}
},
"ha_uuid": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"ha_flags": {
"offset": 8,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"ha_min_key_size": {
"offset": 9,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"ha_handle_id": {
"offset": 10,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"ha_cb": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_att_svr_access_fn"
}
}
},
"ha_cb_arg": {
"offset": 16,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 20
},
"ble_gatt_access_ctxt": {
"members": {
"op": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"om": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mbuf"
}
}
}
},
"bytes": 12
},
"ble_gatt_chr_def": {
"members": {
"uuid": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"access_cb": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gatt_access_fn"
}
}
},
"arg": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"descriptors": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_gatt_dsc_def"
}
}
},
"flags": {
"offset": 16,
"type": {
"typedef": "ble_gatt_chr_flags",
"bytes": 2
}
},
"min_key_size": {
"offset": 18,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"val_handle": {
"offset": 20,
"type": {
"bytes": 4,
"pointer": {
"identifier": "uint16_t"
}
}
}
},
"bytes": 24
},
"ble_gatt_dsc_def": {
"members": {
"uuid": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"att_flags": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"min_key_size": {
"offset": 5,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"access_cb": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gatt_access_fn"
}
}
},
"arg": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 16
},
"ble_gatt_svc_def": {
"members": {
"type": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"uuid": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"includes": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"characteristics": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 16
},
"ble_gatt_register_ctxt": {
"members": {
"op": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 20
},
"ble_hs_cfg": {
"members": {
"gatts_register_cb": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gatt_register_fn"
}
}
},
"gatts_register_arg": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"sm_io_cap": {
"offset": 8,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"sm_oob_data_flag": {
"offset": 8,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"sm_bonding": {
"offset": 8,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"sm_mitm": {
"offset": 8,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"sm_sc": {
"offset": 8,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"sm_keypress": {
"offset": 8,
"type": {
"bytes": 4,
"name": "unsigned int"
}
},
"sm_our_key_dist": {
"offset": 10,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"sm_their_key_dist": {
"offset": 11,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"reset_cb": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_hs_reset_fn"
}
}
},
"sync_cb": {
"offset": 16,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_hs_sync_fn"
}
}
},
"store_read_cb": {
"offset": 20,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_store_read_fn"
}
}
},
"store_write_cb": {
"offset": 24,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_store_write_fn"
}
}
},
"store_delete_cb": {
"offset": 28,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_store_delete_fn"
}
}
},
"store_status_cb": {
"offset": 32,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_store_status_fn"
}
}
},
"store_status_arg": {
"offset": 36,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 40
},
"stats_ble_gatts_stats": {
"members": {},
"bytes": 0
},
"ble_gatt_resources": {
"members": {
"svcs": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"incs": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"chrs": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"dscs": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"cccds": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"attrs": {
"offset": 10,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 12
},
"ble_gatts_svc_entry": {
"members": {
"svc": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"handle": {
"offset": 4,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"end_group_handle": {
"offset": 6,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 8
},
"ble_gatt_error": {
"members": {
"status": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"att_handle": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 4
},
"ble_gatt_svc": {
"members": {
"start_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"end_handle": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"uuid": {
"offset": 4,
"type": {
"typedef": "ble_uuid_any_t",
"bytes": null
}
}
},
"bytes": 24
},
"ble_gatt_attr": {
"members": {
"handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"offset": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"om": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"tag": "os_mbuf"
}
}
}
},
"bytes": 8
},
"ble_gatt_chr": {
"members": {
"def_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"val_handle": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"properties": {
"offset": 4,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"uuid": {
"offset": 8,
"type": {
"typedef": "ble_uuid_any_t",
"bytes": null
}
}
},
"bytes": 28
},
"ble_gatt_dsc": {
"members": {
"handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"uuid": {
"offset": 4,
"type": {
"typedef": "ble_uuid_any_t",
"bytes": null
}
}
},
"bytes": 24
},
"ble_att_find_info_idata": {
"members": {
"attr_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"uuid": {
"offset": 4,
"type": {
"typedef": "ble_uuid_any_t",
"bytes": null
}
}
},
"bytes": 24
},
"ble_att_find_type_value_hinfo": {
"members": {
"attr_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"group_end_handle": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 4
},
"ble_att_read_type_adata": {
"members": {
"att_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"value_len": {
"offset": 4,
"type": {
"bytes": 4,
"name": "int"
}
},
"value": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": {
"identifier": "uint8_t"
}
}
}
},
"bytes": 12
},
"ble_att_read_group_type_adata": {
"members": {
"att_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"end_group_handle": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"value_len": {
"offset": 4,
"type": {
"bytes": 4,
"name": "int"
}
},
"value": {
"offset": 8,
"type": {
"bytes": 4,
"pointer": {
"identifier": "uint8_t"
}
}
}
},
"bytes": 12
},
"stats_ble_gattc_stats": {
"members": {},
"bytes": 0
},
"ble_gattc_proc": {
"members": {
"stqe_next": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_gattc_proc"
}
}
},
"exp_os_ticks": {
"offset": 4,
"type": {
"typedef": "uint32_t",
"bytes": 4
}
},
"conn_handle": {
"offset": 8,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"op": {
"offset": 10,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"flags": {
"offset": 11,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 56
},
"ble_gattc_proc_list": {
"members": {
"stqh_first": {
"offset": 0,
"type": {
"bytes": 4,
"pointer": {
"tag": "ble_gattc_proc"
}
}
},
"stqh_last": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 8
},
"ble_gattc_rx_adata_entry": {
"members": {
"op": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"cb": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gattc_rx_adata_fn"
}
}
}
},
"bytes": 8
},
"ble_gattc_rx_complete_entry": {
"members": {
"op": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"cb": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gattc_rx_complete_fn"
}
}
}
},
"bytes": 8
},
"ble_gattc_rx_attr_entry": {
"members": {
"op": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"cb": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gattc_rx_attr_fn"
}
}
}
},
"bytes": 8
},
"ble_gattc_rx_prep_entry": {
"members": {
"op": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"cb": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gattc_rx_prep_fn"
}
}
}
},
"bytes": 8
},
"ble_gattc_rx_exec_entry": {
"members": {
"op": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"cb": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": {
"identifier": "ble_gattc_rx_exec_fn"
}
}
}
},
"bytes": 8
},
"ble_gattc_criteria_conn_op": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"op": {
"offset": 2,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 4
},
"ble_gattc_criteria_exp": {
"members": {
"now": {
"offset": 0,
"type": {
"typedef": "ble_npl_time_t",
"bytes": 4
}
},
"next_exp_in": {
"offset": 4,
"type": {
"typedef": "int32_t",
"bytes": 4
}
}
},
"bytes": 8
},
"ble_gattc_criteria_conn_rx_entry": {
"members": {
"conn_handle": {
"offset": 0,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
},
"rx_entries": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": "void"
}
},
"num_rx_entries": {
"offset": 8,
"type": {
"bytes": 4,
"name": "int"
}
},
"matching_rx_entry": {
"offset": 12,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 16
},
"gen_entry": {
"members": {
"op": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"cb": {
"offset": 4,
"type": {
"bytes": 4,
"pointer": "void"
}
}
},
"bytes": 8
}
},
"identifier": {
"__uint8_t": {
"bytes": 1,
"name": "unsigned char"
},
"uint8_t": {
"typedef": "__uint8_t",
"bytes": 1
},
"__uint32_t": {
"bytes": 4,
"name": "long unsigned int"
},
"uint32_t": {
"typedef": "__uint32_t",
"bytes": 4
},
"__uint16_t": {
"bytes": 2,
"name": "short unsigned int"
},
"uint16_t": {
"typedef": "__uint16_t",
"bytes": 2
},
"ble_npl_time_t": {
"typedef": "uint32_t",
"bytes": 4
},
"ble_l2cap_chan_flags": {
"typedef": "uint8_t",
"bytes": 1
},
"ble_addr_t": {
"include": {
"null": {
"members": {
"type": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
},
"val": {
"offset": 1,
"type": {
"array": {
"count": 5,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 7
}
}
},
"__int8_t": {
"bytes": 1,
"name": "signed char"
},
"int8_t": {
"typedef": "__int8_t",
"bytes": 1
},
"ble_hs_conn_flags_t": {
"typedef": "uint8_t",
"bytes": 1
},
"__uint64_t": {
"bytes": 8,
"name": "long long unsigned int"
},
"uint64_t": {
"typedef": "__uint64_t",
"bytes": 8
},
"ble_sm_proc_flags": {
"typedef": "uint8_t",
"bytes": 1
},
"ble_uuid_t": {
"include": {
"null": {
"members": {
"type": {
"offset": 0,
"type": {
"typedef": "uint8_t",
"bytes": 1
}
}
},
"bytes": 1
}
}
},
"QueueHandle_t": {
"bytes": 4,
"pointer": "void"
},
"SemaphoreHandle_t": {
"typedef": "QueueHandle_t",
"bytes": 4
},
"ble_gatt_chr_flags": {
"typedef": "uint16_t",
"bytes": 2
},
"ble_uuid16_t": {
"include": {
"null": {
"members": {
"u": {
"offset": 0,
"type": {
"typedef": "ble_uuid_t",
"bytes": null
}
},
"value": {
"offset": 2,
"type": {
"typedef": "uint16_t",
"bytes": 2
}
}
},
"bytes": 4
}
}
},
"ble_uuid32_t": {
"include": {
"null": {
"members": {
"u": {
"offset": 0,
"type": {
"typedef": "ble_uuid_t",
"bytes": null
}
},
"value": {
"offset": 4,
"type": {
"typedef": "uint32_t",
"bytes": 4
}
}
},
"bytes": 8
}
}
},
"ble_uuid128_t": {
"include": {
"null": {
"members": {
"u": {
"offset": 0,
"type": {
"typedef": "ble_uuid_t",
"bytes": null
}
},
"value": {
"offset": 1,
"type": {
"array": {
"count": 15,
"of": {
"typedef": "uint8_t",
"bytes": 1
}
}
}
}
},
"bytes": 17
}
}
},
"ble_uuid_any_t": {
"include": {
"null": {
"members": {
"u": {
"offset": null,
"type": {
"typedef": "ble_uuid_t",
"bytes": null
}
},
"u16": {
"offset": null,
"type": {
"typedef": "ble_uuid16_t",
"bytes": null
}
},
"u32": {
"offset": null,
"type": {
"typedef": "ble_uuid32_t",
"bytes": null
}
},
"u128": {
"offset": null,
"type": {
"typedef": "ble_uuid128_t",
"bytes": null
}
}
},
"bytes": 20
}
}
},
"__int32_t": {
"bytes": 4,
"name": "long int"
},
"int32_t": {
"typedef": "__int32_t",
"bytes": 4
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment