#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/uuid.h>
#include <zephyr/bluetooth/gatt.h>
Go to the source code of this file.
|
#define | BT_UUID_NSMS_VAL BT_UUID_128_ENCODE(0x57a70000, 0x9350, 0x11ed, 0xa1eb, 0x0242ac120002) |
| UUID of the NSMS Service.
|
|
#define | BT_UUID_NSMS_STATUS_VAL BT_UUID_128_ENCODE(0x57a70001, 0x9350, 0x11ed, 0xa1eb, 0x0242ac120002) |
| UUID of the Status characteristic.
|
|
#define | BT_UUID_NSMS_SERVICE BT_UUID_DECLARE_128(BT_UUID_NSMS_VAL) |
|
#define | BT_UUID_NSMS_STATUS BT_UUID_DECLARE_128(BT_UUID_NSMS_STATUS_VAL) |
|
#define | BT_NSMS_SECURITY_LEVEL_NONE 0 |
|
#define | BT_NSMS_SECURITY_LEVEL_ENCRYPT 1 |
|
#define | BT_NSMS_SECURITY_LEVEL_AUTHEN 2 |
|
#define | BT_NSMS_SERVICE_DEF(_name, ...) BT_GATT_SERVICE_DEFINE(_name, __VA_ARGS__) |
|
#define | BT_NSMS_DEF(_nsms, _name, _slevel, _status_init, _len_max) |
| Create the Nordic Status Message Service instance.
|
|
|
ssize_t | bt_nsms_status_read (struct bt_conn *conn, struct bt_gatt_attr const *attr, void *buf, uint16_t len, uint16_t offset) |
| Nordic Status Message Service reading command.
|
|
int | bt_nsms_set_status (const struct bt_nsms *nsms_obj, const char *status) |
| Set status.
|
|