Commit Graph
166 Commits
Author SHA1 Message Date
hathach 9afb42694a rename 2017-03-31 14:57:59 +07:00
hathach 041a42d904 add bleancs setNotificationCallback() 2017-03-31 13:41:32 +07:00
hathach 7c932db50f rename BLEBas update() to write() for consistency 2017-03-31 13:28:20 +07:00
hathach 5f091b0a82 add ancs struct 2017-03-31 13:08:55 +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 f4b4ec0470 introduce BLEGap to manage part of GAP events 2017-03-30 22:59:20 +07:00
hathach a974333516 rename Bonded to Paired 2017-03-30 21:33:25 +07:00
hathach 108b6555a1 add Central Char enable/disable notify,indicate() 2017-03-30 20:53:22 +07:00
hathach e38908b9da clean up 2017-03-30 19:57:59 +07:00
hathach 852e100007 make gatt support both client & server 2017-03-30 19:55:57 +07:00
hathach a3cd4104b2 rename 2017-03-30 16:38:46 +07:00
hathach 3c0f3e84f1 introduce BLEGatt class 2017-03-30 16:36:59 +07:00
hathach bd013738b9 add requestBonding 2017-03-30 15:26:35 +07:00
hathach e8873a43e7 able to discover ancs on iphone 2017-03-30 14:59:37 +07:00
hathach ff481dd327 clean up 2017-03-30 00:44:47 +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 ec9ea1ad6a add client service advertising 2017-03-29 18:28:42 +07:00
hathach 8b85dcfb9c adding ancs 2017-03-29 18:04:44 +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 4cb70667f5 change write() return type to uint16_t 2017-03-27 20:43:16 +07:00
hathach 1cc6654adf clean up notify API 2017-03-27 20:09:40 +07:00
hathach adffcef44f rename _txbuf_sem to _txpacket_sem 2017-03-27 17:00:23 +07:00
hathach 6ead6cc678 rename txbuf_get to getTxPacket 2017-03-27 16:50:13 +07:00
hathach c8a2a51008 clean up prph and central 2017-03-27 16:24:27 +07:00
hathach c8e0d8f537 implemented read() support for BLECentralUart 2017-03-23 02:34:30 +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 71cc024ee4 clean up 2017-03-23 01:48:42 +07:00
hathach 666c00cbf4 clean up 2017-03-22 23:22:38 +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 9ca48429cf change BLEUuid.size() to return number of bits instead of bytes 2017-03-22 15:02:44 +07:00
hathach 98402b1a50 add BLEUuid.cpp
since it got more complex
2017-03-22 14:55:27 +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 85ce580e9e fix typo 2017-03-21 14:48:19 +07:00
hathach 861af7b7e2 clean up BLEUuid merge uuid16 & uuid128 with copy operator
- also change DIS model to "Bluefruit Feather 52"
2017-03-20 18:21:33 +07:00
hathach a6f1318f3e trigger callback once byte event 2017-03-18 17:00:19 +07:00
Todd Treece ca4cbe9f79 add MIDI isStatusByte helper 2017-03-17 12:43:36 -04:00
Todd Treece 9fb32b24c8 drop MIDI TX buffer back to 3, and fix sysex end message 2017-03-17 11:55:05 -04:00