entering security M3 state

This commit is contained in:
hathach committed 2018-01-23 15:21:35 +07:00
1 parent c292b39f51
commit 99e9d2e36b
2 files changed
+4 -7

No files matched your search

@@ -165,7 +165,7 @@ err_t HAPPairing::begin(void)
VERIFY_STATUS( _setup.begin() );
_verify.setHapProperties(HAP_CHR_PROPS_READ | HAP_CHR_PROPS_WRITE);
_verify.setMaxLen(BLE_GATTS_VAR_ATTR_LEN_MAX);
_verify.setMaxLen(100/*BLE_GATTS_VAR_ATTR_LEN_MAX*/); // FIXME change later
VERIFY_STATUS( _verify.begin() );
_features.setHapProperties(HAP_CHR_PROPS_READ);
@@ -219,7 +219,7 @@ static HAPResponse_t* pairing_setup_write_cb (HAPCharacteristic* chr, ble_gatts_
bool is_write_resp = false;
// TODO HAP Fragmentation
// TODO HAP Fragmentation for packet > 512
// Parse TLV data
while (body_len)