Zephyr API Documentation  3.6.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
11#ifndef ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
12#define ZEPHYR_INCLUDE_MGMT_SMP_BT_H_
13
14#include <zephyr/types.h>
15struct bt_conn;
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
28
35
46int smp_bt_notify(struct bt_conn *conn, const void *data, uint16_t len);
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif
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.
int smp_bt_register(void)
Registers the SMP Bluetooth service.
int smp_bt_unregister(void)
Unregisters the SMP Bluetooth service.
__UINT16_TYPE__ uint16_t
Definition: stdint.h:89