From ce343be55d9b1d25e368e32cd83347ce4a19dea6 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Mon, 28 Mar 2022 21:42:13 -0500 Subject: [PATCH] Update ServiceList.md --- docs/ServiceList.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/ServiceList.md b/docs/ServiceList.md index 54c1b8e..52af85d 100644 --- a/docs/ServiceList.md +++ b/docs/ServiceList.md @@ -176,6 +176,22 @@ Additionally, when first starting up, HomeSpan begins by validating the device's |Volume|uint8_t|0| |WaterLevel|double|0| + +### HAP Format Codes (HAP-R2 Table 6-5) + +|HAP-R2 Format Code|HomeSpan C++ Type| +|------------------|-----------------| +|BOOL|boolean| +|UINT8|uint8_t| +|UINT16|uint16_t| +|UINT32|uint32_t| +|UINT64|uint64_t| +|INT|int| +|FLOAT|double| +|STRING|char \*| +|TLV8|(not implemented)| +|DATA|(not implemented)| + --- [↩️](README.md) Back to the Welcome page