Commit Graph
240 Commits
Author SHA1 Message Date
hathach 90db83ef32 Add conn handle to Bluefruit's connect and disconnect prototype
move connect and disconnect into BLEGap
2017-07-11 13:56:50 +07:00
hathach c8b774d1b7 Bluefruit disconnect invoked in callback thread 2017-07-11 12:43:02 +07:00
hathach 4ff746a7f7 move AdaCallback files 2017-07-11 12:36:31 +07:00
hathach 3e00bdafa4 fix typo 2017-07-11 12:33:57 +07:00
hathach 9a74a6f300 more central support
- rename BLE_GAP_MAX_CONN to BLE_MAX_CONN
- change rx callback of BLEClientUart
- better support multiple connection
2017-07-10 23:39:18 +07:00
hathach d4e3244341 make Gatt support multiple connections 2017-07-10 20:56:19 +07:00
hathach f74c723af7 add connHandle() for client char 2017-07-10 20:55:05 +07:00
hathach 74b032b880 update GAP to support multiple connections 2017-07-10 16:45:17 +07:00
hathach f973a13aaf rename 2017-07-10 12:56:55 +07:00
hathach 5bd0b4dd87 complete get peer name 2017-07-10 12:47:10 +07:00
hathach 226c99ab0c implement #41
read peer Gap Device Name
2017-07-08 00:29:38 +07:00
hathach 6053993a7b clean up 2017-07-08 00:27:54 +07:00
hathach 6e5f3f6082 clean up 2017-07-06 13:03:48 +07:00
hathach 868395efce allow to change optimization level with debug mode 2017-07-05 14:08:53 +07:00
hathach d3715de869 fix setName() 2017-06-22 20:56:47 +07:00
hathach db9709b3c5 wrap up ancs_oled demo 2017-04-17 14:24:32 +07:00
hathach 162cc01529 ancs add actPositive/actNegative helper 2017-04-17 13:11:14 +07:00
hathach 31911243ca increase ancs timeout 2017-04-17 12:31:22 +07:00
hathach 6f63385084 acns Add all high level API 2017-04-14 18:12:24 +07:00
hathach 89647bd02c [ancs] add high level getMessageSize(),
implement using AdaMsg
2017-04-14 18:01:23 +07:00
hathach e45f489767 add BLECharacteristic destructor 2017-04-13 18:01:56 +07:00
hathach bd96f7df90 complete BLEClientDis 2017-04-13 17:53:33 +07:00
hathach fcddca77c5 correct ClientChar read() 2017-04-13 17:52:43 +07:00
hathach ae20fa0176 Adding BLEClientDis
- add get/set HandleRange for BLEDiscovery
- implement destructor for BLEClientCharacteristic
- add BLEGatt::_removeCharacteristic(client)
-
2017-04-13 17:22:49 +07:00
hathach f72401271e adding BLEClientDis 2017-04-13 15:53:05 +07:00
hathach cece1ef746 add ble_gattc_handle_range_t to clientService 2017-04-13 15:42:58 +07:00
hathach 08187e3c15 implement gattc read 2017-04-13 14:54:46 +07:00
hathach 7933ddff68 clean up 2017-04-13 14:40:29 +07:00
hathach 8235db0ebf Implemnt gattc long write using AdaMsg 2017-04-13 14:27:00 +07:00
hathach c3ca58cba3 wrap up AdaMsg 2017-04-13 14:24:47 +07:00
hathach 1ed9c12f1a discovery debug log to level 2 2017-04-13 14:19:09 +07:00
hathach 0e51209b3a rename AdaMess to AdaMsg 2017-04-13 13:35:10 +07:00
hathach 961cc90457 wrap up AdaMess 2017-04-13 13:34:09 +07:00
hathach 73b4fbacf4 faster implementation for Gattc long write 2017-04-13 13:23:13 +07:00
hathach 4bef49bd29 add AdaMess class 2017-04-13 12:23:36 +07:00
hathach c4538ce5fb house keeping 2017-04-13 11:26:10 +07:00
hathach 65bbab95fb add properties() 2017-04-13 11:24:37 +07:00
hathach e86556fd8f API clean up 2017-04-13 11:09:59 +07:00
hathach 701a407d5e close #29 2017-04-12 17:56:28 +07:00
hathach 482f0e987b wrap up gattc long write 2017-04-12 17:47:40 +07:00
hathach c718eff435 correct ClientCharacteristic write response with long support 2017-04-12 16:03:03 +07:00
hathach e9778a0d91 clean up 2017-04-12 14:33:28 +07:00
hathach 2f0849635f move BLEAncs to clients 2017-04-12 14:02:30 +07:00
hathach d70b13e7f3 complete rename BLEClientCharacteristic 2017-04-12 13:54:54 +07:00
hathach a4ff4c8bd3 more rename 2017-04-12 13:52:00 +07:00
hathach 2733036325 rename BLECentralCharacteristic to BLEClientCharacteristic 2017-04-12 13:39:02 +07:00
hathach 9787394dbc rename central_services to clients 2017-04-12 13:33:51 +07:00
hathach 86acacb53a complete rename BLEClientUart 2017-04-12 13:31:58 +07:00
hathach 91a3aa0e9c rename BLECentralUart to BLEClientUart 2017-04-12 13:28:49 +07:00
hathach 1f65aa9a3c complete BLEClientService rename 2017-04-12 13:27:07 +07:00