Commit Graph
100 Commits
Author SHA1 Message Date
hathach cc6dcfb2f9 clean up 2017-04-18 12:21:26 +07:00
hathach 2dfa19c8e6 clean up 2017-04-18 12:16:06 +07:00
hathach 3186db019d windows 10 issue testing 2017-04-18 12:01:34 +07:00
hathach 1232979970 testing windows 10 issue 2017-04-18 11:29:55 +07:00
hathach b72a83fc38 keywords update 2017-04-17 14:41:17 +07:00
hathach aa0326b766 clean up 2017-04-17 14:39:08 +07:00
hathach db9709b3c5 wrap up ancs_oled demo 2017-04-17 14:24:32 +07:00
hathach 3f5d8cc3f1 handle title Unicode Bidirectional control 2017-04-17 13:57:13 +07:00
hathach 3b4cef0941 enhance ancs_oled example 2017-04-17 13:11:33 +07:00
hathach 162cc01529 ancs add actPositive/actNegative helper 2017-04-17 13:11:14 +07:00
hathach 31911243ca increase ancs timeout 2017-04-17 12:31:22 +07:00
hathach e6c9dbb292 Merge branch 'develop' of github.com:adafruit/Adafruit_nRF52_Arduino into develop 2017-04-17 00:46:02 +07:00
hathach ca2ad3946d clean up demo 2017-04-17 00:45:41 +07:00
hathach 13f2a3e615 wrap up ancs oled demo 2017-04-15 01:18:02 +07:00
hathach c0b20bb804 update ancs oled demo 2017-04-14 23:44:56 +07:00
hathach 316ae25aec clean up 2017-04-14 21:31:55 +07:00
hathach e70cc12e05 add ancs with oled demo 2017-04-14 21:30:42 +07:00
hathach 6f63385084 acns Add all high level API 2017-04-14 18:12:24 +07:00
hathach 89647bd02c [ancs] add high level getMessageSize(),
implement using AdaMsg
2017-04-14 18:01:23 +07:00
hathach 73482c59e0 Merge branch 'macos_frozen_nrfutil' into develop 2017-04-14 16:25:19 +07:00
hathach 08465f9b95 update changelog 2017-04-13 18:57:32 +07:00
hathach 029acb033c minor clean up 2017-04-13 18:53:51 +07:00
hathach 7f29dab8b3 update sketches 2017-04-13 18:33:21 +07:00
hathach 730ee7e1d6 change rtos_idle_hook behavior
- if rtos_idle_callback is not defined, go to low-power when Idle.
Otherwise user have to call waitForEvent() manually.
2017-04-13 18:16:00 +07:00
hathach e45f489767 add BLECharacteristic destructor 2017-04-13 18:01:56 +07:00
hathach bd96f7df90 complete BLEClientDis 2017-04-13 17:53:33 +07:00
hathach fcddca77c5 correct ClientChar read() 2017-04-13 17:52:43 +07:00
hathach ae20fa0176 Adding BLEClientDis
- add get/set HandleRange for BLEDiscovery
- implement destructor for BLEClientCharacteristic
- add BLEGatt::_removeCharacteristic(client)
-
2017-04-13 17:22:49 +07:00
hathach f72401271e adding BLEClientDis 2017-04-13 15:53:05 +07:00
hathach cece1ef746 add ble_gattc_handle_range_t to clientService 2017-04-13 15:42:58 +07:00
hathach 08187e3c15 implement gattc read 2017-04-13 14:54:46 +07:00
hathach 7933ddff68 clean up 2017-04-13 14:40:29 +07:00
hathach 8235db0ebf Implemnt gattc long write using AdaMsg 2017-04-13 14:27:00 +07:00
hathach c3ca58cba3 wrap up AdaMsg 2017-04-13 14:24:47 +07:00
hathach 1ed9c12f1a discovery debug log to level 2 2017-04-13 14:19:09 +07:00
hathach 0e51209b3a rename AdaMess to AdaMsg 2017-04-13 13:35:10 +07:00
hathach 961cc90457 wrap up AdaMess 2017-04-13 13:34:09 +07:00
hathach 73b4fbacf4 faster implementation for Gattc long write 2017-04-13 13:23:13 +07:00
hathach 4bef49bd29 add AdaMess class 2017-04-13 12:23:36 +07:00
hathach c4538ce5fb house keeping 2017-04-13 11:26:10 +07:00
hathach 65bbab95fb add properties() 2017-04-13 11:24:37 +07:00
hathach e86556fd8f API clean up 2017-04-13 11:09:59 +07:00
hathach 701a407d5e close #29 2017-04-12 17:56:28 +07:00
hathach 482f0e987b wrap up gattc long write 2017-04-12 17:47:40 +07:00
hathach c718eff435 correct ClientCharacteristic write response with long support 2017-04-12 16:03:03 +07:00
hathach e9778a0d91 clean up 2017-04-12 14:33:28 +07:00
hathach 2f0849635f move BLEAncs to clients 2017-04-12 14:02:30 +07:00
hathach d70b13e7f3 complete rename BLEClientCharacteristic 2017-04-12 13:54:54 +07:00
hathach a4ff4c8bd3 more rename 2017-04-12 13:52:00 +07:00
hathach 2733036325 rename BLECentralCharacteristic to BLEClientCharacteristic 2017-04-12 13:39:02 +07:00
hathach 3d0014fa8a clean up 2017-04-12 13:36:40 +07:00
hathach 9787394dbc rename central_services to clients 2017-04-12 13:33:51 +07:00
hathach 86acacb53a complete rename BLEClientUart 2017-04-12 13:31:58 +07:00
hathach 91a3aa0e9c rename BLECentralUart to BLEClientUart 2017-04-12 13:28:49 +07:00
hathach 1f65aa9a3c complete BLEClientService rename 2017-04-12 13:27:07 +07:00
hathach 98fc8f54be rename BLECentralService to BLEClientService 2017-04-12 13:26:28 +07:00
hathach 266d99630b add discovery helper 2017-04-12 13:04:58 +07:00
hathach 117d251d4b fix RTC1 compare interrupt is not clear by bootloader 2017-04-12 12:43:33 +07:00
hathach b37b8bcb77 upgrade port_cmsis_systick.c to matches one in sdk13 for tick fix 2017-04-12 11:24:30 +07:00
hathach 5506465bb2 update changelog 2017-04-11 00:05:02 +07:00
hathach 3f83bb06ac move waitForEvent() to wiring, increase configMINIMAL_STACK_SIZE from 60 to 100 2017-04-10 23:52:59 +07:00
hathach a81184d9ce remove unused mcu core 2017-04-10 18:17:15 +07:00
hathach dd19b14261 clean up 2017-04-10 17:54:56 +07:00
hathach e191a07dec forgot to add the file 2017-04-10 17:28:21 +07:00
hathach 6c87cf4df2 add SoftwareTimer support 2017-04-10 17:27:30 +07:00
hathach e5d98a877f call waitForEvent() in core idle hook 2017-04-10 16:39:14 +07:00
hathach f093e03c5d clean up 2017-04-10 15:23:39 +07:00
hathach d2fc54fab9 Change FreeRTOS tick source from systick to RTC for low-power mode 2017-04-10 15:23:13 +07:00
hathach 33a6bb3642 rename PWM begun() to enabled() 2017-04-10 15:15:58 +07:00
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
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