2018-01-18 10:02:12 +08:00
|
|
|
/*
|
|
|
|
* Copyright Runtime.io 2018. All rights reserved.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @file
|
|
|
|
* @brief Bluetooth transport for the mcumgr SMP protocol.
|
|
|
|
*/
|
|
|
|
|
2018-09-15 01:43:44 +08:00
|
|
|
#ifndef ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
|
|
|
|
#define ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
|
2018-01-18 10:02:12 +08:00
|
|
|
|
|
|
|
#include <zephyr/types.h>
|
|
|
|
struct bt_conn;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Registers the SMP Bluetooth service.
|
|
|
|
*
|
|
|
|
* @return 0 on success; negative error code on failure.
|
|
|
|
*/
|
|
|
|
int smp_bt_register(void);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|