update HAP Chr permission
This commit is contained in:
1 parent
e7a225dda9
commit
a70152df0e
5 files changed
+5
-15
No files matched your search
@@ -50,7 +50,6 @@ err_t HAPLightBulb::begin(void)
|
||||
|
||||
// ON char
|
||||
_on.setHapProperties(HAP_CHR_PROPS_SECURE_READ | HAP_CHR_PROPS_SECURE_WRITE | HAP_CHR_PROPS_NOTIFY );
|
||||
_on.setPermission(SECMODE_OPEN, SECMODE_OPEN);
|
||||
_on.setFixedLen(1);
|
||||
VERIFY_STATUS( _on.begin() );
|
||||
_on.write( (uint8_t) 0x00 );
|
||||
|
||||
Reference in new issue
Block a user