NimBLE specific helper functions for handling addresses. More...
NimBLE specific helper functions for handling addresses.
Files | |
file | nimble_addr.h |
Interface for NimBLE specific address helper functions. | |
Macros | |
#define | NIMBLE_ADDR_STRLEN (28U) |
Length of an address string in byte, including \0 termination. | |
Functions | |
void | nimble_addr_print (const ble_addr_t *addr) |
Print the given address on STDIO. | |
void | nimble_addr_sprint (char *buf, const ble_addr_t *addr) |
Write the string representation of the given address into a buffer. | |
#define NIMBLE_ADDR_STRLEN (28U) |
Length of an address string in byte, including \0
termination.
Definition at line 33 of file nimble_addr.h.
void nimble_addr_print | ( | const ble_addr_t * | addr | ) |
Print the given address on STDIO.
[in] | addr | address to print |
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.
[out] | buf | buffer |
[in] | addr | addre to convert |