blob: 1e40bb7169e33d4dd11f3e6cb135c4e9e04bb461 [file] [log] [blame]
/*
* Copyright Runtime.io 2018. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/** @file
* @brief Bluetooth transport for the mcumgr SMP protocol.
*/
#ifndef H_SMP_BT_
#define H_SMP_BT_
#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