Commit Graph
551 Commits
Author SHA1 Message Date
hathach 792a011185 add waitForEvent() for examples 2017-04-09 22:07:17 +07:00
hathach a454cb9f21 add optional callback rtos_idle_callback() 2017-04-09 21:51:00 +07:00
hathach a335699296 only enter low power mode waitForEvent() in idle if there is no active PWM 2017-04-09 14:42:26 +07:00
hathach 2963e1dade house keeping 2017-04-09 13:52:46 +07:00
hathach 93014fa500 clean up 2017-04-09 13:51:28 +07:00
hathach dada11452e more return type change from err_t to bool 2017-04-09 13:47:18 +07:00
hathach 4d5a0e3587 change return type from err_t to bool 2017-04-09 13:00:48 +07:00
hathach 2ed6fe5b75 update changelog 2017-04-09 00:26:32 +07:00
hathach 5f406346b3 update keywords 2017-04-08 18:35:22 +07:00
hathach 6c4ae55c03 clean up 2017-04-08 18:02:34 +07:00
hathach 249a355584 change return type of setConnInterval() from err_t to bool 2017-04-08 17:27:55 +07:00
hathach c46fe5b9be clean up warnings
remove warning option -Wpointer-arith
2017-04-08 17:22:56 +07:00
hathach 2ab46a03fa move waitForEvent() to Arduino.h 2017-04-08 17:03:53 +07:00
hathach 291a28b507 add waitForEvent() as macro for __WFE(). Enable Idle Hook and call wfe instruction 2017-04-08 16:59:56 +07:00
hathach 887d0354a0 revert syscall 2017-04-08 16:32:58 +07:00
hathach f62daa12fd newline correction 2017-04-08 16:31:25 +07:00
hathach 9358e7c052 rename ancsNotification_t to AncsNotification_t 2017-04-07 23:19:25 +07:00
hathach cbbf75e6ef add stub for malloc lock 2017-04-07 17:46:46 +07:00
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