Commit Graph
30 Commits
Author SHA1 Message Date
hathach 2733036325 rename BLECentralCharacteristic to BLEClientCharacteristic 2017-04-12 13:39:02 +07:00
hathach 98fc8f54be rename BLECentralService to BLEClientService 2017-04-12 13:26:28 +07:00
hathach 4d5a0e3587 change return type from err_t to bool 2017-04-09 13:00:48 +07:00
hathach aa32c41ff8 adacallback
- peripherl connect callback
- central characteristic notify callback
2017-04-04 12:38:40 +07:00
hathach d955303a78 clean up 2017-04-03 13:53:38 +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 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 ff481dd327 clean up 2017-03-30 00:44:47 +07:00
hathach 6d79f0106e move discovery to its own class BLEDiscovery 2017-03-29 23:40:18 +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 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 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 6f0e361b8f adding BLECentralCharacteritic, add hid_camerashutter sketch 2017-03-22 13:38:22 +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 a1c3cc04dc clean up 2017-03-16 16:00:52 +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