zephyr/subsys/bluetooth/shell/bt.h
Joakim Andersson 0ac83180fd Bluetooth: host: Move address string parsing to bluetooth API
Bluetooth address parsing has been duplicated across the different
sub-shell files. Also missing parsing of identity/resolved addresses.
Move parsing of string close to parsing to string for a symmetrical API

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2019-07-16 12:44:18 +02:00

21 lines
390 B
C

/** @file
* @brief Bluetooth shell functions
*
* This is not to be included by the application.
*/
/*
* Copyright (c) 2017 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __BT_H
#define __BT_H
extern const struct shell *ctx_shell;
extern struct bt_conn *default_conn;
void conn_addr_str(struct bt_conn *conn, char *addr, size_t len);
#endif /* __BT_H */