#include <ble.h>
Encode a ble_uuid_t structure into little endian raw UUID bytes (16-bit or 128-bit).
- Note
- The pointer to the destination buffer p_uuid_le may be NULL, in which case only the validity and size of p_uuid is computed.
- Parameters
-
| [in] | p_uuid | Pointer to a ble_uuid_t structure that will be encoded into bytes. |
| [out] | p_uuid_le_len | Pointer to a uint8_t that will be filled with the encoded length (2 or 16 bytes). |
| [out] | p_uuid_le | Pointer to a buffer where the little endian raw UUID bytes (2 or 16) will be stored. |
- Return values
-