update HAP char
This commit is contained in:
1 parent
57c89c85fa
commit
7220d98c94
6 files changed
+75
-12
No files matched your search
@@ -37,7 +37,6 @@
|
||||
#include <Arduino.h>
|
||||
#include <bluefruit.h>
|
||||
#include "BLEHomekit.h"
|
||||
#include "HAPService.h"
|
||||
|
||||
err_t HAPService::begin(void)
|
||||
{
|
||||
@@ -46,6 +45,10 @@ err_t HAPService::begin(void)
|
||||
return _addSvcID();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add HAP Service Instance Characteristic
|
||||
* @return status code
|
||||
*/
|
||||
err_t HAPService::_addSvcID(void)
|
||||
{
|
||||
BLECharacteristic chr(HAP_UUID_CHR_SERVICE_ID);
|
||||
|
||||
Reference in new issue
Block a user