update HAP char

This commit is contained in:
hathach committed 2017-10-15 00:50:27 +07:00
1 parent 57c89c85fa
commit 7220d98c94
6 files changed
+75 -12

No files matched your search

+4 -1
View File
@@ -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);