ble_uuid_u16

uint16_t
ble_uuid_u16(const ble_uuid_t *uuid)

Description

Converts the specified 16-bit UUID to a uint16_t.

Parameters

ParameterDescription
uuidThe source UUID to convert.

Returned values

ValueCondition
The converted integerSuccess.
0The specified uuid is not 16 bits.