Commit Graph
55 Commits
Author SHA1 Message Date
hathach cd45f0adc2 move clearBonds() to PrPh 2020-03-14 11:47:27 +07:00
hathach cce9aa990b clean up 2019-03-06 22:43:01 +07:00
hathach b7323d1819 Remove BLEGap, API function is taken by Bluefruit, BLEPeriph, BLECentral 2019-02-01 16:16:20 +07:00
hathach e200c8249d Central.disconnect() is repalced by Bluefruit.disconnect() 2019-01-24 14:10:15 +07:00
hathach e42b11d348 clean up 2019-01-24 00:07:11 +07:00
hathach 84f9bfd44c clean up BLEGap
- remove connected() and getRole()
- add setRssiCallback()
2019-01-22 22:53:07 +07:00
hathach 72e627149c Bluefruit.connected(void) return number of connected as prph, Central.connected(void) return number of connection as central 2019-01-21 18:26:09 +07:00
hathach 49ad36cdd6 add connected(conn_hdl) for prph 2019-01-21 17:58:22 +07:00
hathach e312da361e enhance BLEGap, adding BLEGapConnection to support up to max 20 connections 2019-01-17 12:53:22 +07:00
hathach 386bde94e9 clean up 2019-01-09 21:00:56 +07:00
hathach 9a0da085b7 Central handle BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST 2019-01-07 15:16:52 +07:00
hathach 294e0564b8 adding central BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST 2019-01-05 00:10:44 +07:00
hathach 4640481d02 update Copyright year to 2018 2018-07-27 16:20:36 +07:00
hathach a05d467686 enhance bonding management
- seperate bond folder for prph and central
- use mac address if couldn't get peer name when saving bond data
2018-02-26 15:11:13 +07:00
hathach 91f6de09f8 clean up 2018-01-02 16:03:46 +07:00
hathach d7fe49b4c3 move callback from BLEGap back to Bluefruit & BLECentral 2017-07-15 00:38:25 +07:00
hathach 78f3be6dfa add BLECentral disconnect() 2017-07-13 18:32:31 +07:00
hathach 48e1da695c clean up 2017-07-13 17:59:33 +07:00
hathach 24a680f180 code refactor 2017-07-13 17:57:32 +07:00
hathach 67831a7f52 clean up 2017-07-13 17:46:52 +07:00
hathach c84236b2f9 move scan report parser to Scanner 2017-07-13 16:48:45 +07:00
hathach 6061482e80 update scanner 2017-07-12 21:55:51 +07:00
hathach f770816f01 Add BLEScanner 2017-07-12 21:19:23 +07:00
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 74b032b880 update GAP to support multiple connections 2017-07-10 16:45:17 +07:00
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