Commit Graph
38 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 4ff746a7f7 move AdaCallback files 2017-07-11 12:36:31 +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 74b032b880 update GAP to support multiple connections 2017-07-10 16:45:17 +07:00
hathach 4d5a0e3587 change return type from err_t to bool 2017-04-09 13:00:48 +07:00
hathach a770b995c3 added AdaCallback implemetation 2017-04-03 22:58:35 +07:00
hathach c7f8a8d67f add con_handl to central disconnect callback. Starting to add ada_callback 2017-04-03 12:44:53 +07:00
hathach 13571bfb7a add connection handle for central callback 2017-03-31 22:58:04 +07:00
hathach 006f74aade clean up 2017-03-31 22:51:20 +07:00
hathach b7f33a2e64 add connection handel to BLECentralService
- add  multi-connection support to
BLECentralService/BLECentralCharacteristic
2017-03-30 23:07:41 +07:00
hathach 852e100007 make gatt support both client & server 2017-03-30 19:55:57 +07:00
hathach d5a8e8a738 wrap up discovery 2017-03-30 00:09:20 +07:00
hathach 6d79f0106e move discovery to its own class BLEDiscovery 2017-03-29 23:40:18 +07:00
hathach 3966c7be89 complete central uart read/write 2017-03-29 16:13:53 +07:00
hathach dade06c68a add Central's service list
change central service begin()'s return type to bool
2017-03-29 16:03:05 +07:00
hathach 0beff63269 refactor service discovery 2017-03-29 15:33:48 +07:00
hathach 15ddb3ede5 central enhancement
- change discoverCharacteristic() API
- add BLECentralUart Rx callback,
- add BLECentralService discovered()
- refactor BLECentralCharacteristic
2017-03-29 15:02:45 +07:00
hathach f08759ad64 add characteristic write, write_resp() support 2017-03-29 00:38:54 +07:00
hathach c8a2a51008 clean up prph and central 2017-03-27 16:24:27 +07:00
hathach be42b0a360 add parent service for central 2017-03-23 02:21:52 +07:00
hathach 9f40cbfb1e [central] callback support for chars
- add enableNotify()
2017-03-23 01:57:44 +07:00
hathach bba444f0b4 [central] add connHandle() 2017-03-22 22:13:33 +07:00
hathach 83fe22cdf0 remvoe malloc in Central discoverDescriptor() and clean up 2017-03-22 21:55:09 +07:00
hathach 1e15b3884e implement Central Characteristic Descriptor Discovery 2017-03-22 21:36:55 +07:00
hathach 65f86005c3 add Central discoverDescriptor() 2017-03-22 19:30:17 +07:00
hathach 7dc80ba645 clean up 2017-03-22 18:00:55 +07:00
hathach 6354c8d186 adding BLECentralService, BLECentralCharacteristic, BLECentralUart serivce 2017-03-22 17:17:11 +07:00
hathach ad6f48c4d2 update discoveryService 2017-03-22 00:25:32 +07:00
hathach 660c4c7f15 adding central support 2017-03-21 22:57:09 +07:00
hathach 555e4a368a add LED_RED & LED_BLUE macro 2017-03-17 13:24:12 +07:00
hathach 9f3e2955cb add BLEAdvertising 2017-03-04 14:27:24 +07:00
hathach 68bb79fa11 more about connected() 2017-02-26 09:37:44 +07:00
hathach d4425a15c0 fix #16 correct connected() 2017-02-26 09:23:18 +07:00
hathach 0317b59c49 clean up 2017-02-21 17:24:33 +07:00
hathach a3bb011e0e Implement Central Connect, callback for connect/disconnect 2017-02-21 00:00:42 +07:00
hathach 1e2b632998 add Central connect(), seperate Central event handler 2017-02-20 16:22:51 +07:00
hathach 2583f234e6 Central add checkUuidInScan, extractScanData
update central scan demo to check Ble uart service
2017-02-20 15:40:57 +07:00
hathach 6950c98319 group central API into separate class for clarification 2017-02-20 12:35:23 +07:00