200 Commits

Author SHA1 Message Date
Gordon Williams
b7909462fb set option to notify 2016-09-08 16:31:16 +01:00
Gordon Williams
29516753ff fix setAdvertising while connected via BLE 2016-09-06 16:28:51 +01:00
Gordon Williams
38d2182182 typo 2016-09-06 12:22:25 +01:00
Gordon Williams
a1e4a3f027 give capsense a timeout, add it to Puck object, and fix Ctrl-C behaviour on nRF52 2016-08-26 12:17:02 +01:00
Gordon Williams
4faca0235e Merge branch 'master' into NRF_capacitance 2016-08-26 11:17:38 +01:00
Gordon Williams
c8f5c2eaf9 puck tweaks for bootloader and NFC 2016-08-16 12:35:44 +01:00
Gordon Williams
cce2c1d9e6 Merge branch 'nrf_bootloader_2' 2016-08-05 10:39:29 +01:00
Gordon Williams
048c9fbbb7 nRF52 fast UART fixed thanks to https://devzone.nordicsemi.com/question/89107/efficiently-sending-printed-data-with-nordic-uart 2016-08-05 10:34:37 +01:00
Gordon Williams
d4c980ca86 unsuccessful tweaks to use IRQs for BLE TX 2016-08-04 17:44:34 +01:00
Gordon Williams
bf1e196476 info 2016-08-02 18:59:14 +01:00
Gordon Williams
bf4a71764d Finally getting DFU working with GCC-built version 2016-08-02 18:53:38 +01:00
Gordon Williams
8042dcb743 fix stupid accidental commit 2016-07-27 17:01:11 +01:00
Gordon Williams
8b610bc43a tweak device name 2016-07-27 16:54:03 +01:00
Gordon Williams
4cbe062f84 NRF5x: allow raw advertising data in setAdvertising 2016-07-27 14:29:21 +01:00
Gordon Williams
38df0e3437 NRF5x: remove setName and add functionality to setAdvertising, along with advertising interval 2016-07-27 13:23:31 +01:00
Gordon Williams
e79c9130e4 capacitance sense 2016-07-27 11:13:03 +01:00
Gordon Williams
769c419c60 nfc debug 2016-07-26 14:22:32 +01:00
Gordon Williams
d58372f1fd working error handler 2016-07-26 11:46:30 +01:00
Gordon Williams
b726ab7997 Added nRF52 NFC support when compiled with NFC=1 - doesn't quite seem to work yet though, despite being same code from NFC example and not producing any errors 2016-07-20 15:27:51 +01:00
Gordon Williams
c9c2107358 power testing 2016-07-20 10:07:18 +01:00
Gordon Williams
2b32755e6f use RTC for sleep - should allow clock shutdown 2016-07-19 17:23:10 +01:00
Michael Dietz
5393de29f4 NRF_RADIO->TASK_DISABLE = 0; was causing hardfault. 2016-07-11 03:35:17 -07:00
Michael Dietz
8934e4e71b Update SOFTDEVICE_HANDLER_INIT() described in SoftDevice migration notes. 2016-07-09 23:43:12 +02:00
Michael Dietz
5a68a4322b Clock enumerations have changed in nRF5 v11.0.0 SDK. 2016-07-09 11:04:33 -07:00
Gordon Williams
2073ac7991 hacky attempt at allowing bootloader and non-bl based nRF5x stuff to coexist 2016-06-20 14:47:38 +01:00
Gordon Williams
eab3a11156 oops - remove leftover line 2016-06-18 17:53:59 +01:00
Gordon Williams
3082053ddb Merge branch 'master' into PuckJS 2016-06-18 17:52:21 +01:00
Gordon Williams
a6bce4e14a fix nRF51 compile error 2016-06-15 14:49:13 +01:00
Gordon Williams
9562d189af Merge branch 'master' into makerbean
Conflicts:
	libs/bluetooth/jswrap_bluetooth.c
2016-06-06 13:01:19 +01:00
Gordon Williams
f170079ee4 Allow faster connection interval, and force slowest to be as fast as iOS will go 2016-06-06 10:39:19 +01:00
Gordon Williams
5f0bb738ba Add 'force' to 'Serial.setConsole' - you can force the console to stay in one place 2016-06-02 11:12:43 +01:00
Gordon Williams
6f7e9699fd support for vendor-specific UUIDs - just not when scanning 2016-06-01 16:50:27 +01:00
Gordon Williams
9b9c24f67e add TODO with info about BLE UUIDs 2016-06-01 10:46:13 +01:00
Gordon Williams
6e552d28ea BLE service/characteristic discovery and writing 2016-05-27 12:59:02 +01:00
Gordon Williams
a0e2ba5321 start of the ability to write characteristics 2016-05-27 12:35:50 +01:00
Gordon Williams
536e3de21a sligtly better service/characteristic discovery 2016-05-27 11:28:58 +01:00
Gordon Williams
d9eb58ff62 Revert "move to service discovery library - don't init yet as it's changed in new SDK"
This reverts commit 7548799e86c59fcbbae61fe332e55c07b8052ac8.
2016-05-27 10:32:08 +01:00
Gordon Williams
609345bde9 sort out suggested ram size 2016-05-27 10:31:07 +01:00
Gordon Williams
1f9656b3a5 Merge branch 'master' into makerbean
Conflicts:
	libs/bluetooth/jswrap_bluetooth.c
	targetlibs/nrf5x/nrf5x_linkers/linker_nrf52_ble_espruino.ld
2016-05-27 10:17:38 +01:00
Gordon Williams
7548799e86 move to service discovery library - don't init yet as it's changed in new SDK 2016-05-27 10:13:16 +01:00
Gordon Williams
c35250f96a start of service discovery 2016-05-26 18:00:40 +01:00
Gordon Williams
66f534c44f working GAP connect 2016-05-26 17:34:30 +01:00
Gordon Williams
93139172d6 Allow BLE name to be set - start of BLE connect, based(ish) on noble 2016-05-26 16:57:06 +01:00
Gordon Williams
6860087aa2 Merge branch 'nordic_dfu_ota' into makerbean
Conflicts:
	Makefile
2016-05-26 11:44:00 +01:00
Gordon Williams (u36)
79d26a9f57 Added ability to add BLE characteristics 2016-04-06 16:40:13 +01:00
Gordon Williams (u36)
2d7ba28a1a add copyright note 2016-04-01 16:54:16 +01:00
Gordon Williams
127b607f2c BLE docs 2016-04-01 11:47:30 +01:00
Gordon Williams
52fcaf8412 oops - include bluetooth docs in next build 2016-04-01 11:28:08 +01:00
Gordon Williams
41b3709e08 Merge branch 'master' into nordic_dfu_ota
Conflicts:
	libs/bluetooth/jswrap_bluetooth.c
2016-03-11 16:10:20 +00:00
Gordon Williams
610accf2c1 Added NRF.setTxPower, and ensure that scanning stops after a reset! 2016-03-11 16:09:38 +00:00