Dan Halbert
|
140904ec84
|
getting Scanner to work
|
2019-06-22 22:10:15 -04:00 |
|
Dan Halbert
|
4881e1ff55
|
WIP: Central compiles; now will test
|
2019-06-21 18:04:04 -04:00 |
|
Dan Halbert
|
24ac1fdcab
|
WIP: backup only; not compiled
|
2019-06-19 21:54:28 -04:00 |
|
Dan Halbert
|
a1b5d800f3
|
Update copyrights; get ready for Central
|
2019-06-19 10:42:36 -04:00 |
|
Dan Halbert
|
35b9191857
|
Don't operate directly on bleio objects in shared-bindings: use common_hal
routines instead. Changes made but not yet tested.
|
2019-06-18 23:46:20 -04:00 |
|
Dan Halbert
|
bed6d43a76
|
merge from upstream; WIP redo Address; no more AddressType
|
2019-06-13 21:55:07 -04:00 |
|
Dan Halbert
|
1905d90eaa
|
Make advertising data buffers long-lived
|
2019-06-05 20:08:53 -04:00 |
|
Dan Halbert
|
613e12f99f
|
Replace Broadcaster with enhanced Peripheral
|
2019-06-03 20:40:05 -04:00 |
|
Dan Halbert
|
63ac37946d
|
1. Remove advertising data construction in C: it's all done in Python now
2. Add scan response capability to advertising.
|
2019-06-02 23:21:30 -04:00 |
|
Dan Halbert
|
12f1d9d30c
|
fix advertisement length check; add Service.secondary attribute
|
2019-05-31 18:03:05 -04:00 |
|
Dan Halbert
|
6cec81bcb5
|
Need to enable ble before scanning
|
2019-05-23 22:05:16 -04:00 |
|
Dan Halbert
|
1639354e5f
|
Scanner working, but not very first time
|
2019-05-23 16:07:54 -04:00 |
|
Dan Halbert
|
15b7946fc4
|
Off-by-one error for usage of MAX_TX_IN_PROGRESS
|
2019-04-22 22:07:48 -04:00 |
|
Nick Moore
|
9c42a72275
|
Fix up single-byte access to nvm.ByteArray
|
2019-04-16 14:53:44 +10:00 |
|
Nick Moore
|
83dad37562
|
Fixups for adafruit/circuitpython#1042
|
2019-04-16 14:53:44 +10:00 |
|
Nick Moore
|
02dd32da60
|
Make some space for NVM adafruit/circuitpython#1042
|
2019-04-16 14:53:44 +10:00 |
|
Nick Moore
|
66e8ceafad
|
switch nvm.ByteArray to use new nrf_nvm_safe_flash_page_write
adafruit/circuitpython#1610
|
2019-04-16 14:53:44 +10:00 |
|
Nick Moore
|
d0e5af3b09
|
Working flash pages for nvm.ByteArray adafruit/circuitpython#1042
import microcontroller
def dump(n = microcontroller.nvm):
for i in range(0,len(n)):
print ("%02X " % n[i], end="")
if i % 16 == 15: print('')
microcontroller.nvm[0:4096] = bytes([1,2,3,4,5,6,7,8]) * 512
microcontroller.nvm[4096:8192] = bytes([16,17,18,19]) * 1024
microcontroller.nvm[4090:4101] = b'thisisatest'
microcontroller.nvm[100:105] = b'hello'
microcontroller.nvm[8000:8007] = b'goodbye'
dump()
|
2019-04-16 14:53:44 +10:00 |
|
Nick Moore
|
933500c448
|
nvm.ByteArray reads & writes but no sensible erase yet adafruit/circuitpython#1042
|
2019-04-16 14:53:44 +10:00 |
|
Nick Moore
|
df89156f2f
|
Start on nRF nvm.ByteArray adafruit/circuitpython#1042 (doesn't do anything yet)
|
2019-04-16 14:53:44 +10:00 |
|
Scott Shawcroft
|
254d0a53ac
|
Revert "nrf nvm: touchups to nickzoic PR #1768"
|
2019-04-15 18:50:33 -07:00 |
|
Dan Halbert
|
864910559b
|
fix subscripting
|
2019-04-10 21:41:55 -04:00 |
|
Nick Moore
|
18908c21f7
|
Fixups for adafruit/circuitpython#1042
|
2019-04-09 12:53:11 +10:00 |
|
Nick Moore
|
fdaff00c78
|
Make some space for NVM adafruit/circuitpython#1042
|
2019-04-09 10:56:53 +10:00 |
|
Nick Moore
|
bc92441803
|
switch nvm.ByteArray to use new nrf_nvm_safe_flash_page_write
adafruit/circuitpython#1610
|
2019-04-09 10:55:39 +10:00 |
|
Nick Moore
|
8e7fee2246
|
Working flash pages for nvm.ByteArray adafruit/circuitpython#1042
import microcontroller
def dump(n = microcontroller.nvm):
for i in range(0,len(n)):
print ("%02X " % n[i], end="")
if i % 16 == 15: print('')
microcontroller.nvm[0:4096] = bytes([1,2,3,4,5,6,7,8]) * 512
microcontroller.nvm[4096:8192] = bytes([16,17,18,19]) * 1024
microcontroller.nvm[4090:4101] = b'thisisatest'
microcontroller.nvm[100:105] = b'hello'
microcontroller.nvm[8000:8007] = b'goodbye'
dump()
|
2019-04-09 10:55:39 +10:00 |
|
Nick Moore
|
492431a694
|
nvm.ByteArray reads & writes but no sensible erase yet adafruit/circuitpython#1042
|
2019-04-09 10:54:11 +10:00 |
|
Nick Moore
|
f8e5e2da64
|
Start on nRF nvm.ByteArray adafruit/circuitpython#1042 (doesn't do anything yet)
|
2019-04-09 10:54:11 +10:00 |
|
Scott Shawcroft
|
049b9ca094
|
Remove terse TODOs
|
2019-04-08 14:46:45 -07:00 |
|
Radomir Dopieralski
|
8323721232
|
Stop hard-coding SPI frequency in FourWire
Instead remember and use the frequency, polarity and phase that was
set when the bus was first created.
|
2019-04-06 15:15:29 +02:00 |
|
Nick Moore
|
781d301bb6
|
Remove unnecessary MP_WEAK declarations
|
2019-04-02 13:33:22 +11:00 |
|
Nick Moore
|
94bda3bde1
|
Change nRF RTC implementation to use RTC2 #1046
(to avoid interference with Bluetooth Softdevice. See
https://github.com/adafruit/circuitpython/pull/1534#issuecomment-478776240
with thanks to @bboser for pointing it out)
|
2019-04-02 13:28:22 +11:00 |
|
Nick Moore
|
6afe23d0b0
|
There isn't really a good way to calibrate this RTC adafruit/circuitpython#1046
|
2019-04-02 13:28:03 +11:00 |
|
Nick Moore
|
6206fa9a82
|
adafruit/circuitpython#1046 handle overflows in the RTC counter
|
2019-04-02 13:27:45 +11:00 |
|
Nick Moore
|
f846fa109e
|
enable NRFX RTC adafruit/circuitpython#1046
|
2019-04-02 13:27:28 +11:00 |
|
Nick Moore
|
f88f9fd748
|
more fake RTC code ... adafruit/circuitpython#1046
(works if MP_WEAK common_hal_rtc_get_time is removed)
|
2019-04-02 13:27:13 +11:00 |
|
Nick Moore
|
4a5c52fbd6
|
starting on #1046 rtc for nRF
|
2019-04-02 13:27:00 +11:00 |
|
Dan Halbert
|
0653bca323
|
Revert "Circuitpython nickzoic 1046 nrf rtc"
|
2019-03-29 16:41:29 -04:00 |
|
Nick Moore
|
71622a4515
|
There isn't really a good way to calibrate this RTC adafruit/circuitpython#1046
|
2019-03-28 09:50:09 +11:00 |
|
Nick Moore
|
28254def0b
|
adafruit/circuitpython#1046 handle overflows in the RTC counter
|
2019-03-28 09:50:09 +11:00 |
|
Nick Moore
|
b09d2c3c62
|
enable NRFX RTC adafruit/circuitpython#1046
|
2019-03-28 09:50:09 +11:00 |
|
Nick Moore
|
69cf33e6a1
|
more fake RTC code ... adafruit/circuitpython#1046
(works if MP_WEAK common_hal_rtc_get_time is removed)
|
2019-03-28 09:50:09 +11:00 |
|
Nick Moore
|
77f307c642
|
starting on #1046 rtc for nRF
|
2019-03-28 09:50:09 +11:00 |
|
Radomir Dopieralski
|
f440e41819
|
Really fix the error messages in bleio, this time
|
2019-03-25 14:04:50 +01:00 |
|
Radomir Dopieralski
|
bb10a8aaa1
|
Fix error messages in bleio
|
2019-03-25 09:19:48 +01:00 |
|
Dan Halbert
|
fe555a4098
|
Allow NFC pins to be used for other purposes.
|
2019-03-21 11:22:58 -04:00 |
|
Dan Halbert
|
99da3b9646
|
Use critical section, not lock, in CharacteristicBuffer; use a root pointer for ble_drv list
|
2019-02-21 00:19:31 -05:00 |
|
Dan Halbert
|
a345ef28f2
|
finish Makefile refactoring; nrf builds work
|
2019-02-15 18:55:10 -05:00 |
|
Dan Halbert
|
ab4194f752
|
don't allocate DMA buffer as long-lived
|
2019-02-13 19:49:57 -05:00 |
|
Dan Halbert
|
e92d90ce9c
|
Add second UARTE to busio.UART. Init uarts on startup.
|
2019-02-12 22:34:05 -05:00 |
|