Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/sys/iterable_sections.h>
#include <zephyr/sys/slist.h>
Go to the source code of this file.
Data Structures | |
struct | bt_nus_inst |
Functions | |
ssize_t | nus_bt_chr_write (struct bt_conn *conn, const struct bt_gatt_attr *attr, const void *buf, uint16_t len, uint16_t offset, uint8_t flags) |
Required as the service may be instantiated outside of the module. | |
void | nus_ccc_cfg_changed (const struct bt_gatt_attr *attr, uint16_t value) |
#define BT_UUID_NUS_RX_CHAR BT_UUID_DECLARE_128(BT_UUID_NUS_RX_CHAR_VAL) |
#define BT_UUID_NUS_SERVICE BT_UUID_DECLARE_128(BT_UUID_NUS_SRV_VAL) |
#define BT_UUID_NUS_TX_CHAR BT_UUID_DECLARE_128(BT_UUID_NUS_TX_CHAR_VAL) |
ssize_t nus_bt_chr_write | ( | struct bt_conn * | conn, |
const struct bt_gatt_attr * | attr, | ||
const void * | buf, | ||
uint16_t | len, | ||
uint16_t | offset, | ||
uint8_t | flags ) |
Required as the service may be instantiated outside of the module.
void nus_ccc_cfg_changed | ( | const struct bt_gatt_attr * | attr, |
uint16_t | value ) |