Zephyr API Documentation
4.0.0
A Scalable Open Source RTOS
4.0.0
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
doc
►
kernel
►
lib
►
subsys
▼
zephyr
►
acpi
►
app_memory
►
arch
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
►
devicetree
►
dfu
►
display
►
drivers
►
dsp
►
dt-bindings
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mem_mgmt
▼
mgmt
►
ec_host_cmd
►
hawkbit
▼
mcumgr
►
grp
►
mgmt
►
smp
▼
transport
►
serial.h
►
smp.h
►
smp_bt.h
►
smp_dummy.h
►
smp_shell.h
►
smp_udp.h
hawkbit.h
►
osdp.h
►
updatehub.h
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
posix
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
xen
►
zbus
►
zvfs
►
bindesc.h
►
cache.h
►
device.h
►
devicetree.h
►
fatal.h
►
fatal_types.h
►
init.h
►
irq.h
►
irq_multilevel.h
►
irq_nextlevel.h
►
irq_offload.h
►
kernel.h
kernel_includes.h
►
kernel_structs.h
►
kernel_version.h
►
net_buf.h
►
shared_irq.h
►
smf.h
►
spinlock.h
►
sw_isr_table.h
►
sys_clock.h
►
syscall.h
►
toolchain.h
types.h
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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
11
#ifndef ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
12
#define ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
13
14
#include <
zephyr/bluetooth/uuid.h
>
15
#include <
zephyr/types.h
>
16
struct
bt_conn;
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
23
#define SMP_BT_SVC_UUID_VAL \
24
BT_UUID_128_ENCODE(0x8d53dc1d, 0x1db7, 0x4cd3, 0x868b, 0x8a527460aa84)
23
#define SMP_BT_SVC_UUID_VAL \
…
25
27
#define SMP_BT_SVC_UUID \
28
BT_UUID_DECLARE_128(SMP_BT_SVC_UUID_VAL)
27
#define SMP_BT_SVC_UUID \
…
29
31
#define SMP_BT_CHR_UUID_VAL \
32
BT_UUID_128_ENCODE(0xda2e7828, 0xfbce, 0x4e01, 0xae9e, 0x261174997c48)
31
#define SMP_BT_CHR_UUID_VAL \
…
33
37
#define SMP_BT_CHR_UUID \
38
BT_UUID_DECLARE_128(SMP_BT_CHR_UUID_VAL)
37
#define SMP_BT_CHR_UUID \
…
39
46
int
smp_bt_register
(
void
);
47
53
int
smp_bt_unregister
(
void
);
54
65
int
smp_bt_notify
(
struct
bt_conn *conn,
const
void
*data,
uint16_t
len);
66
67
#ifdef __cplusplus
68
}
69
#endif
70
71
#endif
types.h
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.
uint16_t
__UINT16_TYPE__ uint16_t
Definition
stdint.h:89
uuid.h
Bluetooth UUID handling.
zephyr
mgmt
mcumgr
transport
smp_bt.h
Generated on Sat Nov 16 2024 04:55:03 for Zephyr API Documentation by
1.12.0