NimBLE specific helper functions for handling addresses.
More...
NimBLE specific helper functions for handling addresses.
|
file | nimble_addr.h |
| Interface for NimBLE specific address helper functions.
|
|
|
#define | NIMBLE_ADDR_STRLEN (28U) |
| Length of an address string in byte, including \0 termination.
|
|
◆ nimble_addr_print()
void nimble_addr_print |
( |
const ble_addr_t * |
addr | ) |
|
Print the given address on STDIO.
- Parameters
-
◆ nimble_addr_sprint()
void nimble_addr_sprint |
( |
char * |
buf, |
|
|
const ble_addr_t * |
addr |
|
) |
| |
Write the string representation of the given address into a buffer.
The resulting string written to buf
is \0
terminated and is always 28 bytes (NIMBLE_ADDR_STRLEN) long.
- Parameters
-
[out] | buf | buffer |
[in] | addr | addre to convert |