Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Bluetooth transport for the mcumgr SMP protocol. More...
#include <zephyr/types.h>
Go to the source code of this file.
Functions | |
int | smp_bt_register (void) |
Registers the SMP Bluetooth service. | |
int | smp_bt_unregister (void) |
Unregisters the SMP Bluetooth service. | |
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. | |
Bluetooth transport for the mcumgr SMP protocol.
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.
conn | Connection object. |
data | Pointer to SMP message. |
len | data length. |
int smp_bt_register | ( | void | ) |
Registers the SMP Bluetooth service.
Should only be called if the Bluetooth transport has been unregistered by calling smp_bt_unregister().
int smp_bt_unregister | ( | void | ) |
Unregisters the SMP Bluetooth service.