- /** Structure for the association of attribute ID values to an attribute value in FLASH. A table of these
- * structures can then be built up for each supported UUID service within the device.
- */
- typedef struct
- {
- uint16_t AttributeID; /**< Attribute ID of the table element which the UUID service supports */
- const void* Data; /**< Pointer to the attribute data, located in PROGMEM memory space */
- } ServiceAttributeTable_t;
-
- /** Structure for the association of service UUID values to attribute tables stored in FLASH. A table of these
- * structures can then be built up for each supported UUID service within the device.
- */
- typedef struct
- {
- uint8_t UUID[UUID_SIZE_BYTES]; /**< UUID of a service supported by the device */
- const void* AttributeTable; /**< Pointer to the UUID's attribute table, located in PROGMEM memory space */
- } ServiceTable_t;
-
- /** Structure for a list of Data Elements containing UUIDs, for service attributes requiring UUID lists. */
- typedef struct
- {
- uint8_t Header; /**< Data Element header, should be (SDP_DATATYPE_UUID | SDP_DATASIZE_128Bit) */
- uint8_t UUID[UUID_SIZE_BYTES]; /**< UUID to store in the list Data Element */
- } ClassUUID_t;
-
- /** Structure for a list of Data Elements containing 8-bit integers, for service attributes requiring such lists. */
- typedef struct
- {
- uint8_t Header; /**< Data Element header, should be (SDP_DATATYPE_UnsignedInt | SDP_DATASIZE_8Bit) */
- uint8_t Value; /**< Value to store in the list Data Element */
- } Item8Bit_t;
-
- /** Structure for a list of Data Elements containing 16-bit integers, for service attributes requiring such lists. */
- typedef struct
- {
- uint8_t Header; /**< Data Element header, should be (SDP_DATATYPE_UnsignedInt | SDP_DATASIZE_16Bit) */
- uint16_t Value; /**< Value to store in the list Data Element */
- } Item16Bit_t;
-
- /** Structure for a list of Data Elements containing 32-bit integers, for service attributes requiring such lists. */
- typedef struct
- {
- uint8_t Header; /**< Data Element header, should be (SDP_DATATYPE_UnsignedInt | SDP_DATASIZE_32Bit) */
- uint32_t Value; /**< Value to store in the list Data Element */
- } Item32Bit_t;
-