InPlay API
in_ble_conf.h
1 
13 #ifndef IN_BLE_CONF_H
14 #define IN_BLE_CONF_H
15 
16 /*
17  * Structures
18  ****************************************************************************************
19  */
20 
21 typedef struct
22 {
24  uint8_t bd_addr[6];
25 
28  uint16_t sleep_algo_dur;
31  uint16_t local_drift;
33  uint16_t twosc;
35  uint16_t twrm;
37  uint16_t twext;
39  char le_coded_phy_500;
41  char sleep_enable;
43  uint16_t deep_sleep_comp_time;
45  char ble_ext_wakeup_enable;
46 
48  char public_key_valid;
49  char ble_osc_int_en;
50  char ipmac_en;
52  uint8_t public_key[64];
53 
55  char private_key_valid;
56  uint8_t pad4[3];
58  uint8_t private_key[32];
59 
61  char ble_activity_max;
63  char ble_connection_max;
65  char ble_rx_desc_nb;
67  char ble_rx_data_buf_nb;
68 
70  char ble_tx_desc_nb;
72  char ble_tx_desc_per_con_nb;
74  char ble_tx_desc_per_act_nb;
76  char ble_tx_acl_buf_nb;
77 
79  char ble_tx_llcp_buf_nb;
81  char ble_tx_adv_buf_nb;
83  char ble_whitelist_max;
85  char ble_resol_addr_list_max;
86 
88  char ble_duplicate_filter_max;
90  char ble_task_max;
92  char ble_observer;
94  char ble_central;
95 
97  char ble_peripheral;
99  char ble_broadcaster;
101  char ble_atts;
103  char ble_attc;
104 
106  char ble_l2cc;
108  char ble_smpc;
110  char ble_lecb;
112  char secure_connection;
113 
115  char ble_ch_assess_rssi_interf_thr;
116  char ble_ch_map_update_period; // in second
117  char ble_ch_assess_count_max;
118  char ble_ch_assess_count_min;
119 
120  char ble_ch_assess_count_thr_bad;
122  char ble_adv_no_delay;
124  char ble_dev_tx_max_power;
126  char ble_dev_cs_tx_pwr_en;
127 
129  uint8_t ble_adv_frag_size_tx;
131  uint8_t ble_adv_frag_nb_tx;
133  uint8_t lld_prog_delay;
135  uint8_t llc_proc_switch_instant_delay;
136 
138  char hci_nb_cmd_pkts;
140  char max_prf_nb;
142  char app_main_task;
144  char sdr_en;
145  char sdr_tx_desc_nb;
147  uint16_t ble_adv_buf_sz;
148  char ble_ignore_timestamp;
149 
151  uint16_t ble_ch_assess_valid_to;
153  uint16_t ble_ch_reassess_to;
154 
156  uint16_t ble_normal_win_size;
158  // In Long Range, the symbol for the Access Address is 8 times longer than the symbol for 1Mbps.
159  uint16_t ble_phy_coded_normal_win_size;
160 
162  uint16_t ble_prefetch_time_us;
166  uint16_t ble_prefetchabort_time_us;
167 
169  uint16_t ble_reservation_time_margin_hus;
171  uint16_t sch_arb_evt_start_prog_margin;
172 
174  uint32_t ble_max_slp_time;
176  uint32_t ble_trace_cfg;
177 } in_ble_conf_t;
178 
179 
180 #endif