nrf-softdevice

Crates

0.1.0

Versions

s112

Flavors

Module gatt_server

Source
Expand description

Generic Attribute server. GATT servers offer functionality to clients.

Typically the peripheral device is the GATT server, but it is not necessary. In a connection any device can be server and client, and even both can be both at the same time.

Modules§

builder
characteristic

Structs§

Characteristic
CharacteristicHandles
DescriptorHandle
IncludedServiceHandle
InvalidWriteOpError
ServiceHandle

Enums§

GetSysAttrsError
GetValueError
IndicateValueError
NotifyValueError
RegisterError
SetSysAttrsError
SetValueError
WriteOp

Traits§

Server
Service

Functions§

get_sys_attrs
get_value
indicate_value
This will fail if an indication is already in progress
notify_value
Multiple notifications can be queued. Will fail when the queue is full.
run
set_sys_attrs
set_value