It is unclear for me why the following code look like this (conn_ble_gap_sec_keys.c, SDK15):
Fullscreen
1
2
3
4
5
6
7
typedef struct
{
uint32_t id;
uint8_t ble_data[SER_MAX_ADV_DATA];
} ble_data_item_t;
ble_data_item_t m_ble_data_pool[8];
Is it logical that here the SER_MAX_ADV_DATA is used? is there actual advertising data stored in this field?
And why is the data size of 8 for m_ble_data_pool[8] hard coded, is this not the same define as SER_MAX_CONNECTIONS used earlier in the same file?
Regards,
Erwin