Commit Graph
1171 Commits
Author SHA1 Message Date
hathach 79b71bca88 fix typo 2018-02-06 22:31:28 +07:00
hathach 6c29ff5630 complete pair setup M6 response. Go to Pair verify 2018-02-06 20:22:18 +07:00
hathach 153fafc353 add hap_read_cb_t for HAPChar 2018-02-06 19:53:33 +07:00
hathach 9eb616e334 enhance homekit advertising
update BLEAdvertisingData::addName()
2018-02-06 17:11:09 +07:00
hathach 56f63234f0 add crypto_printkey() for debug 2018-02-05 13:30:20 +07:00
hathach f5c869a86b update crypto 2018-02-01 22:20:19 +07:00
hathach 8eb71cd481 implemented M6 state
- able to verify iOS signature M5
- still has issue with M6response (rejected by iOS).
2018-02-01 22:18:59 +07:00
hathach 42dfb7f7af proccessing M5
able to decode and verify Encrypted Data
2018-02-01 18:18:19 +07:00
hathach 9682914426 clean up 2018-01-31 23:21:24 +07:00
hathach 1dbd0b587a clean up HAP code 2018-01-31 23:18:01 +07:00
hathach 0e68ea43dd able to proceed to M5 state. cleaning up 2018-01-31 21:54:45 +07:00
hathach c2117d991b BLECharacteristic add offset to read() 2018-01-31 19:02:16 +07:00
hathach b58d2c1f20 increase version to 0.8.3 2018-01-30 14:29:16 +07:00
hathach 9e0a6ff775 enhance indicat API() to wait for confirm or timeout from peer. 2018-01-30 14:27:38 +07:00
hathach fc2e3603c8 update htm example 2018-01-29 16:45:58 +07:00
hathach 30f854f148 Merge branch '0.8.x' 2018-01-29 16:34:59 +07:00
hathach 357ffb9029 clean up 2018-01-29 16:25:14 +07:00
hathach b735d6a46c added custom_htm as example for indicate API 2018-01-29 16:24:50 +07:00
hathach 75e223a024 more clean up 2018-01-25 18:14:19 +07:00
hathach 3dcc7d9367 clean up 2018-01-25 17:56:17 +07:00
hathach 7045e55324 response to M3 request but seems to fail 2018-01-25 17:55:36 +07:00
hathach 4dce1998b9 add tlv8_decode_n 2018-01-25 17:22:09 +07:00
hathach a1a04b94f5 clean up pairing 2018-01-25 16:50:51 +07:00
hathach d7a3cb1cb4 correct hap fragmentation, parse M3 successfully 2018-01-25 16:29:43 +07:00
hathach ee459f0e3f implement HAP fragmenttaion request 2018-01-25 16:08:52 +07:00
hathach cdeb66fd8f suport fragmentation for tlv8 decode
add tlv8_decode_cleanup()
2018-01-25 15:11:41 +07:00
hathach 62b80b084b clean up 2018-01-25 14:58:04 +07:00
hathach 30316870d3 rename to tlv8_encode_calculate_len() 2018-01-23 22:15:39 +07:00
hathach 99e9d2e36b entering security M3 state 2018-01-23 15:21:35 +07:00
hathach cffa6456e4 fix typo 2018-01-23 13:19:10 +07:00
hathach c292b39f51 clean up 2018-01-22 22:05:30 +07:00
hathach 96c7689e05 add send confirm to indicate 2018-01-18 15:09:52 +07:00
hathach d0655b369d change BLECLientCharacteristic notify callback signature
from
notify_cb(BLEClientCharacteristic& chr, uint8_t* data, uint16_t len)
to
notify_cb(BLEClientCharacteristic* chr, uint8_t* data, uint16_t len)

Added
2018-01-18 15:07:39 +07:00
hathach 4747a9b7ae add useAdaCallback option to setNotifyCallback(), setIndicateCallback() for client char 2018-01-18 14:00:04 +07:00
hathach f86c0940a1 add software serial gpstest example 2018-01-18 12:54:52 +07:00
hathach 20a2db556c add indicate API, add getCccd to BLECharacteristic 2018-01-17 21:43:57 +07:00
hathach a70d157656 add isWaiting for AdaMsg 2018-01-17 21:41:29 +07:00
hathach 2d04696be1 fix burn issue with osx 2018-01-17 12:48:46 +07:00
hathach 5f491c5239 update 2018-01-17 11:32:15 +07:00
hathach b3f0598b1a move createHapResponse() 2018-01-15 16:17:09 +07:00
hathach 83ad264e35 add tlv8_encode_n 2018-01-15 15:13:04 +07:00
hathach a0dc1eced5 clean up 2018-01-15 14:54:22 +07:00
hathach 9ac36417d1 add Nffs listDir() and catFile() 2018-01-15 14:52:52 +07:00
hathach edea529483 update debug functions 2018-01-15 13:13:22 +07:00
hathach bc19796ac4 change polarssl malloc to standard rtos_malloc 2018-01-15 12:37:28 +07:00
hathach 853c98ff35 wrap up fragment tlv 2018-01-13 16:48:01 +07:00
hathach 37219b5bc0 add tlv8_calculate_encode_len 2018-01-13 13:23:16 +07:00
hathach 8b76590659 wrap up tlv8 decode/encode with item len > 255 2018-01-13 12:19:23 +07:00
hathach 6b67563028 update tlv decode to support > 255 item 2018-01-13 11:59:54 +07:00
hathach fd41ae543c update memory 2018-01-11 23:36:17 +07:00