Zephyr Project API
4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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
12
#ifndef ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
13
#define ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
14
22
#include <
zephyr/bluetooth/uuid.h
>
23
#include <
zephyr/types.h
>
24
struct
bt_conn;
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
31
#define SMP_BT_SVC_UUID_VAL \
32
BT_UUID_128_ENCODE(0x8d53dc1d, 0x1db7, 0x4cd3, 0x868b, 0x8a527460aa84)
33
35
#define SMP_BT_SVC_UUID \
36
BT_UUID_DECLARE_128(SMP_BT_SVC_UUID_VAL)
37
39
#define SMP_BT_CHR_UUID_VAL \
40
BT_UUID_128_ENCODE(0xda2e7828, 0xfbce, 0x4e01, 0xae9e, 0x261174997c48)
41
45
#define SMP_BT_CHR_UUID \
46
BT_UUID_DECLARE_128(SMP_BT_CHR_UUID_VAL)
47
54
int
smp_bt_register
(
void
);
55
61
int
smp_bt_unregister
(
void
);
62
73
int
smp_bt_notify
(
struct
bt_conn *conn,
const
void
*data,
uint16_t
len);
74
75
#ifdef __cplusplus
76
}
77
#endif
78
83
#endif
uuid.h
Bluetooth UUID handling.
smp_bt_notify
int smp_bt_notify(struct bt_conn *conn, const void *data, uint16_t len)
Transmits an SMP command/response over the specified Bluetooth connection as a notification.
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.
types.h
uint16_t
__UINT16_TYPE__ uint16_t
Definition
stdint.h:89
include
zephyr
mgmt
mcumgr
transport
smp_bt.h
Generated on Sun Aug 24 2025 06:52:31 for Zephyr Project API by
1.9.8