change the linker memory for homekit

This commit is contained in:
hathach committed 2017-10-25 22:53:44 +07:00
1 parent ee1d76b2d5
commit 0f17739b2d
11 files changed
+90 -27

No files matched your search

+3 -1
View File
@@ -102,13 +102,15 @@ bool BLEHomekit::setAdv(BLEAdvertisingData& adv_ref)
.type = 0x06,
.adv_int_len = ail,
.status_flag = 1, // bit0 = HAP Pairing Status Flag (1 not paired)
.dev_id = { 0x0a, 0xbc, 0x12, 0x33, 0x56, 0x98 },
.dev_id = { 0x00},
.category = HAP_CAT_LIGHTBULB,
.gsn = 1,
.config_num = 1,
.compatible_verion = HOMEKIT_PROTOCOL_VERION
};
Bluefruit.Gap.getAddr(data.dev_id);
VERIFY_STATIC( sizeof(data) == 17);
adv.addFlags(BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE);