![]() |
nRF Connect SDK API 3.3.99
|
Utility used to filter QoS information (per-channel CRC status) with the purpose of generating a suitable BLE channel map. More...
Data Structures | |
| struct | chmap_filter_params |
| Channel map filter parameters that can be changed at runtime. More... | |
Functions | |
| const char * | chmap_filter_version (void) |
| Get library version number. | |
| void | chmap_filter_init (void) |
| Initialize channel map filter library. | |
| int | chmap_filter_instance_init (struct chmap_instance *p_inst, size_t size) |
| Initialize channel map filter instance. | |
| void | chmap_filter_crc_update (struct chmap_instance *p_inst, uint8_t ch_idx, uint16_t crc_ok, uint8_t crc_error) |
| Update channel CRC information. | |
| bool | chmap_filter_process (struct chmap_instance *p_inst) |
| Process channel map filter. | |
| uint8_t * | chmap_filter_suggested_map_get (struct chmap_instance *p_inst) |
| Get suggested channel map. | |
| void | chmap_filter_suggested_map_confirm (struct chmap_instance *p_inst) |
| Confirm that suggested channel map has been applied. | |
| void | chmap_filter_params_get (struct chmap_instance *p_inst, struct chmap_filter_params *p_params) |
| Get dynamic parameters. | |
| int | chmap_filter_params_set (struct chmap_instance *p_inst, struct chmap_filter_params *p_params) |
| Set dynamic parameters. | |
| uint16_t | chmap_filter_wifi_blacklist_get (void) |
| Get bitmask of currently blacklisted wifi channels. | |
| int | chmap_filter_blacklist_set (struct chmap_instance *p_inst, uint16_t blacklist) |
| Set wifi channels blacklist. | |
| int | chmap_filter_chn_info_get (struct chmap_instance *p_inst, uint8_t chn_idx, uint8_t *p_state, int16_t *p_rating, uint8_t *p_freq) |
| Get BLE channel information. | |
Utility used to filter QoS information (per-channel CRC status) with the purpose of generating a suitable BLE channel map.
Input to the library is CRC information. This information is used to assign ratings to each BLE channel. Single channels with poor ratings, or blocks of channels affected by wifi are removed from the channel map recommendation.