Loading...
Searching...
No Matches
nimble_addr.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 Freie Universität Berlin
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
21#ifndef NIMBLE_ADDR_H
22#define NIMBLE_ADDR_H
23
24#include "nimble/ble.h"
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
33#define NIMBLE_ADDR_STRLEN (28U)
34
40void nimble_addr_print(const ble_addr_t *addr);
41
51void nimble_addr_sprint(char *buf, const ble_addr_t *addr);
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* NIMBLE_ADDR_H */
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.