Commit Graph
1833 Commits
Author SHA1 Message Date
hathach bd035793df add comment explanation for sleep() 2017-04-06 15:48:04 +07:00
hathach f50708b24c add sleep() as wrapper for __wfe() 2017-04-06 15:45:51 +07:00
hathach 3822bf91af clean up warnings 2017-04-04 22:33:44 +07:00
microbuilder 2ceabefb90 ANCS cleanup 2017-04-04 16:48:36 +02:00
hathach 0e65819100 bleancs add performAction 2017-04-04 17:59:42 +07:00
hathach c0dedf4f37 enhance ancs data parser
note: Get Application Attribute does not work yet. Probably due to the
write response > 20 bytes
2017-04-04 17:36:22 +07:00
hathach ecf9df2fae Add option to not use adacallback when invoking callback 2017-04-04 14:38:04 +07:00
hathach b1336100cc add mutex for uart to prevent write conflict 2017-04-04 12:39:02 +07:00
hathach aa32c41ff8 adacallback
- peripherl connect callback
- central characteristic notify callback
2017-04-04 12:38:40 +07:00
hathach a770b995c3 added AdaCallback implemetation 2017-04-03 22:58:35 +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 1d9d23ddce start to add callback task 2017-04-01 01:17:42 +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 fde64249d7 fix Central Chars write response 2017-03-31 16:16:12 +07:00
hathach 9ac50c633f add getAttribute() 2017-03-31 15:43:15 +07:00
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 d92438be4d adding ancs example 2017-03-30 15:01:54 +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 dbf858e3f2 clean up example 2017-03-29 15:06:07 +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 1f2efb042a relate to #21 2017-03-28 22:15:52 +07:00
hathach 7168d198ef make HardwarePWM compatible with Neopixel DMA 2017-03-28 22:15:22 +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