Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
27
extern
"C"
{
28
#endif
29
33
#define NIMBLE_ADDR_STRLEN (28U)
34
40
void
nimble_addr_print
(
const
ble_addr_t *addr);
41
51
void
nimble_addr_sprint
(
char
*buf,
const
ble_addr_t *addr);
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
#endif
/* NIMBLE_ADDR_H */
58
nimble_addr_print
void nimble_addr_print(const ble_addr_t *addr)
Print the given address on STDIO.
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.
Generated on Tue Nov 24 2020 19:46:51 by
1.8.17