Zephyr Project API
3.2.0
A Scalable Open Source RTOS
smp_bt.h
Go to the documentation of this file.
1
/*
2
* Copyright Runtime.io 2018. All rights reserved.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
11
#ifndef ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
12
#define ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
13
14
#include <
zephyr/types.h
>
15
struct
bt_conn;
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
26
int
smp_bt_register
(
void
);
27
33
int
smp_bt_unregister
(
void
);
34
45
int
smp_bt_notify
(
struct
bt_conn *conn,
const
void
*
data
,
uint16_t
len);
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#endif
types.h
smp_bt_notify
int smp_bt_notify(struct bt_conn *conn, const void *data, uint16_t len)
smp_bt_register
int smp_bt_register(void)
Registers the SMP Bluetooth service.
smp_bt_unregister
int smp_bt_unregister(void)
Unregisters the SMP Bluetooth service.
uint16_t
__UINT16_TYPE__ uint16_t
Definition:
stdint.h:89
data
static fdata_t data[2]
Definition:
test_fifo_contexts.c:15
include
zephyr
mgmt
mcumgr
smp_bt.h
Generated on Tue Feb 28 2023 15:43:19 for Zephyr Project API by
1.9.2