List for keeping scanned BLE devices. More...
List for keeping scanned BLE devices.
Definition in file nimble_scanlist.h.
Go to the source code of this file.
Data Structures | |
struct | nimble_scanlist_entry_t |
Data structure for holding a single scanlist entry. More... | |
Macros | |
#define | NIMBLE_SCANLIST_SIZE (20U) |
Default number of list entries that are allocated in RAM. | |
Functions | |
void | nimble_scanlist_init (void) |
Initialize the scanlist. | |
void | nimble_scanlist_update (uint8_t type, const ble_addr_t *addr, int8_t rssi, const uint8_t *ad, size_t len) |
Add/update the entry for the a scanned node. More... | |
nimble_scanlist_entry_t * | nimble_scanlist_get_by_pos (unsigned pos) |
Get an entry of the scanlist by its position. More... | |
nimble_scanlist_entry_t * | nimble_scanlist_get_next (nimble_scanlist_entry_t *e) |
Get the next entry from the list, pass NULL for getting the first entry. More... | |
void | nimble_scanlist_clear (void) |
Clear all entries in the list. | |
void | nimble_scanlist_print (void) |
Dump the entire scanlist to STDIO using nimble_scanlist_print_entry() | |
void | nimble_scanlist_print_entry (nimble_scanlist_entry_t *e) |
Dump a single scanlist entry to STDIO. More... | |