Loading...
Searching...
No Matches
nimble_addr.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
19
20#include "nimble/ble.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
29#define NIMBLE_ADDR_STRLEN (28U)
30
36void nimble_addr_print(const ble_addr_t *addr);
37
47void nimble_addr_sprint(char *buf, const ble_addr_t *addr);
48
49#ifdef __cplusplus
50}
51#endif
52
void nimble_addr_sprint(char *buf, const ble_addr_t *addr)
Write the string representation of the given address into a buffer.
void nimble_addr_print(const ble_addr_t *addr)
Print the given address on STDIO.