fix HAP Char length

This commit is contained in:
hathach committed 2017-10-18 15:01:28 +07:00
1 parent a70152df0e
commit 854d7185f4
2 files changed
+1 -3

No files matched your search

@@ -50,9 +50,7 @@ err_t HAPLightBulb::begin(void)
// ON char
_on.setHapProperties(HAP_CHR_PROPS_SECURE_READ | HAP_CHR_PROPS_SECURE_WRITE | HAP_CHR_PROPS_NOTIFY );
_on.setFixedLen(1);
VERIFY_STATUS( _on.begin() );
_on.write( (uint8_t) 0x00 );
return ERROR_NONE;
}