ChristofR
47ae6e88fd
Bug Fix: UART IRQ Freezing
...
It was found that receiving UART data too rapidly would completely brick the UART peripheral (no further UART IRQs would be generated).
To brick the peripheral all of the following needs to be true.
1. A BLE connection is active
2. Serial speed is set fast enough (>= 115,200)
3. A continuous stream of Serial data needs to be received
Since interrupt timing is no longer guaranteed when the SoftDevice has an active BLE connection it is much more likely for UART data to be received when inside the UART IRQ. Clearing nrfUart->EVENTS_RXDRDY at the end of the IRQ increases the likelyhood of the system setting a pending IRQ before the current IRQ loop has cleared nrfUart->EVENTS_RXDRDY. If this occurs then the UART IRQ will be called again, but nrfUart->EVENTS_RXDRDY will be 0. Since nrfUart->RXD is no longer being cleared overruns start occuring and for some unknown reason the UART IRQ stops trigerring.
2018-06-07 15:49:54 +02:00
ChristofR
cca51a9817
Merge pull request #1 from adafruit/master
...
Bringing fork up to date
2018-06-06 15:28:35 +02:00
hathach
3f959e9776
Merge pull request #157 from ElliotMebane/master
...
Central connection sample with Peripheral Texas Instruments Sensor Ta…
2018-06-02 23:22:11 +07:00
LAPTOP-JCFJCJ8H\acer
c4cb13266e
Central connection sample with Peripheral Texas Instruments Sensor Tag (CC2650). Connect, enable optical sensor, adjust measurement/transmission period.
...
http://processors.wiki.ti.com/index.php/CC2650_SensorTag_User%27s_Guide
2018-06-01 16:13:47 -07:00
hathach
a07fbec136
Merge pull request #140 from swilson/master
...
Fix crash caused by incorrectly formatted (e.g. 1 byte) device reports.
2018-04-06 23:17:20 +07:00
Sean Wilson
644c0a247d
Fix crash caused by incorrectly formatted device reports.
2018-04-06 10:50:15 -04:00
hathach
fb29f5b937
update changelog
2018-04-05 12:29:10 +07:00
hathach
7ddfde20e6
Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino
2018-04-05 12:20:36 +07:00
hathach
5a850a00cb
fix changelog typo
2018-04-03 14:56:20 +07:00
hathach
ad9de729ad
Merge pull request #125 from greggian/dfu_typo
...
Fix dfu temp memory typo
2018-03-01 10:57:17 +07:00
hathach
160fd8cf5c
Merge pull request #126 from greggian/auth_callback
...
Fix setWriteAuthorizeCallback typo
2018-03-01 10:56:13 +07:00
Greg Gianforcaro
4181976b91
Fix dfu temp memory typo
2018-02-28 17:22:12 -05:00
Greg Gianforcaro
aad3697f42
Fix setWriteAuthorizeCallback typo
2018-02-28 17:19:52 -05:00
hathach
5afca51573
update changelog
2018-02-27 20:20:05 +07:00
hathach
d1a7254e6f
Merge branch '0.8.x' of github.com:adafruit/Adafruit_nRF52_Arduino into 0.8.x
2018-02-27 20:05:58 +07:00
hathach
38047231b1
Fix I2C lock-up when endTransmission() is called with empty txBuffer
...
close #121
2018-02-27 20:05:17 +07:00
Kevin Townsend
fe395ec964
Merge pull request #90 from Ureloc/master
...
Fixed using VDD as analog reference
2018-02-26 12:58:02 +01:00
Kevin Townsend
eebeb04da8
Merge pull request #123 from hracetech/patch-1
...
Update BLEUuid.h
2018-02-26 12:52:24 +01:00
hathach
028b420ccf
add central hid callback implementation
2018-02-26 17:54:42 +07:00
hathach
231f862338
enhance bonding process
...
- auto remove obsolete key on central and re-try with a fresh session.
2018-02-26 17:49:12 +07:00
hathach
f3136abcda
improve bonding with on-the-fly semaphore
...
enhance central bond
2018-02-26 17:30:14 +07:00
hathach
e81f60cd2e
update clear bonds examples
2018-02-26 16:07:34 +07:00
hathach
393ee6cf1d
renamed bonded to paired
2018-02-26 15:18:58 +07:00
hathach
a05d467686
enhance bonding management
...
- seperate bond folder for prph and central
- use mac address if couldn't get peer name when saving bond data
2018-02-26 15:11:13 +07:00
hracetech
49b0924a2a
Update BLEUuid.h
...
UUID for Cycling Power Service added...
2018-02-25 18:48:37 +01:00
hathach
203d9bd3f3
update configCentralConn value
2018-02-23 23:24:18 +07:00
hathach
f16576b70c
central keyboard work with polling method
...
- central bonding still needs some more work for reconnection.
2018-02-23 18:54:18 +07:00
hathach
1fd9cbedc5
add HID_KEYCODE_TO_ASCII decode
2018-02-23 18:53:18 +07:00
hathach
049a0afc5c
enhance blehid generic to support protocol boot mode
2018-02-23 15:48:03 +07:00
hathach
7cead72726
enhance hid service
2018-02-23 15:01:30 +07:00
hathach
e1c78409c2
correct parameter for pairing in central role
2018-02-23 14:45:10 +07:00
hathach
0e74a76c0a
more clean up
2018-02-22 23:47:41 +07:00
hathach
c4e25295e2
move pairing event handle code to BLEGap
...
- add bond_init()
- move thing around
2018-02-22 23:38:41 +07:00
hathach
86ea7e7ae5
more clean up
2018-02-22 15:10:44 +07:00
hathach
acd4abec1d
clean up
2018-02-22 14:56:36 +07:00
hathach
cf3132b997
Merge branch 'master' into 0.8.x
2018-02-22 14:51:50 +07:00
hathach
dcbecb8b5f
complete move all bond function to bonding.cpp
2018-02-22 14:51:10 +07:00
hathach
616e0672b8
Merge pull request #122 from hodrob84/master
...
BLEHidGeneric: fix missing writeN() function update
2018-02-22 13:59:58 +07:00
Robert Hodaszi
45b4e58a6a
BLEHidGeneric: fix missing writeN() function update
...
Otherwise getting the following error:
uint16_t BLECharacteristic::write(const void*, uint16_t): 431: verify failed, error = NRF_ERROR_INVALID_ADDR
Signed-off-by: Robert Hodaszi <hodrob84@gmail.com >
2018-02-21 16:48:56 +01:00
hathach
4fab39f26a
improving bonding management
2018-02-14 00:22:40 +07:00
hathach
a092479f60
more central hid code
2018-02-12 16:08:25 +07:00
hathach
98e69635ee
adding hid central
2018-02-12 15:17:23 +07:00
hathach
b58d2c1f20
increase version to 0.8.3
2018-01-30 14:29:16 +07:00
hathach
9e0a6ff775
enhance indicat API() to wait for confirm or timeout from peer.
2018-01-30 14:27:38 +07:00
hathach
fc2e3603c8
update htm example
2018-01-29 16:45:58 +07:00
hathach
30f854f148
Merge branch '0.8.x'
2018-01-29 16:34:59 +07:00
hathach
84a42000f5
update changelog
2018-01-29 16:26:02 +07:00
hathach
357ffb9029
clean up
2018-01-29 16:25:14 +07:00
hathach
b735d6a46c
added custom_htm as example for indicate API
2018-01-29 16:24:50 +07:00
hathach
cffa6456e4
fix typo
2018-01-23 13:19:10 +07:00