/** @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; | |
int str2bt_addr(const char *str, bt_addr_t *addr); | |
void conn_addr_str(struct bt_conn *conn, char *addr, size_t len); | |
void hexdump(const struct shell *shell, const u8_t *data, size_t len); | |
#endif /* __BT_H */ |