Scott Shawcroft
e8515c1a2c
Merge pull request #9548 from elpekenin/fix/_bleio-stubs
...
Typing improvements
2024-08-28 10:56:20 -07:00
elpekenin
4b10b912e9
remove useless comments
2024-08-27 23:43:24 +02:00
elpekenin
839bbd30d1
Update USBFramebuffer: __new__ -> __init__
2024-08-27 23:11:13 +02:00
Pablo Martínez
0f94cc5f92
Update shared-bindings/_bleio/CharacteristicBuffer.c
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2024-08-27 22:59:41 +02:00
Scott Shawcroft
1039743356
Merge pull request #9560 from FoamyGuy/math_dist
...
Implement math.dist
2024-08-27 13:40:53 -07:00
elpekenin
9b950a4035
use types.CodeType, as per jepler finding
2024-08-25 14:28:39 +02:00
elpekenin
0a37155f6e
fix "code" hint
2024-08-24 03:59:46 +02:00
elpekenin
bc7a052cbb
fix some doc-comments
2024-08-23 23:00:56 +02:00
elpekenin
1cfedcb79c
fix CharacteristicBuffer.readinto
2024-08-22 23:22:15 +02:00
elpekenin
71ef507c18
fix ScanEntry.matches
2024-08-22 16:43:45 +02:00
Dan Halbert
88e8a3c755
Merge pull request #9540 from elpekenin/fix/_bleio-stubs
...
Fix `_bleio` doc comments
2024-08-22 10:32:27 -04:00
Dan Halbert
e5e9c5ca84
Merge pull request #9469 from dhalbert/merge-from-micropython-v1.22.2
...
Merge from micropython v1.22.2
2024-08-21 18:11:19 -04:00
Dan Halbert
450cb4963e
address review comments
2024-08-21 16:50:19 -04:00
elpekenin
0ebbb39460
fix CharacteristicBuffer.timeout
2024-08-20 22:40:42 +02:00
elpekenin
95d776211a
fix Characteristic.add_to_service
2024-08-20 20:24:40 +02:00
foamyguy
e682663ef3
implement math.dist
2024-08-11 09:45:33 -05:00
wyrdsec
5861363028
Pre-commit fixes, again
2024-08-09 11:38:35 -04:00
wyrdsec
8472ae7021
Docs formatting
2024-08-09 11:35:21 -04:00
wyrdsec
5d024a0d65
Docs formatting
2024-08-09 11:32:14 -04:00
wyrdsec
2a98af336c
More pre-commit formating
2024-08-08 21:26:17 -04:00
wyrdsec
33864badb8
More whitespace changes for doc generation
2024-08-08 21:15:00 -04:00
wyrdsec
db188d5c6b
whitespace issue
2024-08-08 21:10:34 -04:00
wyrdsec
0b13367dd3
Fixed missing tab for docs generation
2024-08-08 20:48:55 -04:00
wyrdsec
e416ac0570
pre-commit fixes
2024-08-08 20:37:49 -04:00
wyrdsec
0ce385bf5d
shared-bindings/aurora_epaper/aurora_framebuffer.c: Another typo
2024-08-07 21:11:44 -04:00
wyrdsec
bcc93590bc
shared-bindings/aurora_epaper/aurora_framebuffer.c: Typos
2024-08-07 20:39:33 -04:00
wyrdsec
6208124bd1
Merge branch 'adafruit:main' into main
2024-08-07 18:01:23 -04:00
Daniel Dunn
fc6a34459c
Manually fix white space formatting
2024-08-05 18:14:50 -06:00
Daniel Dunn
41246c9162
Suggested changes
2024-08-05 17:52:48 -06:00
Daniel Dunn
61201a3dc4
Try to fix formatting
2024-08-05 17:50:27 -06:00
wyrdsec
b580df5ab3
Merge branch 'adafruit:main' into main
2024-08-02 13:42:51 -04:00
wyrdsec
4ae6afa0c1
Updated copyright
2024-08-02 13:39:57 -04:00
Daniel Dunn
52374ad738
Use the existing "can't set attribute" string
2024-07-31 20:24:50 -06:00
Daniel Dunn
42da6f9d69
radio.listen_interval unconditional regardless of port
2024-07-31 17:14:18 -06:00
Daniel Dunn
e7b4522d66
Wifi listen interval
2024-07-30 22:12:25 -06:00
Dan Halbert
be6fa2af21
merge from main
2024-07-29 17:41:46 -04:00
Dan Halbert
e16467da85
clean up some include files
2024-07-26 18:38:13 -04:00
Scott Shawcroft
bffdf3beea
Merge pull request #9436 from jepler/veesix
...
Add IPv6 support for Espressif
2024-07-23 12:43:22 -07:00
21a5c93ada
IPv6: improvments based on review notes
...
* don't enable ipv6 by default due to privacy concerns
* move list of board support for ipv6 to socketpool documentation
* removed wifi.supports_ipvx properties
* throw an exception when start_dhcp_client(ipv6=True) but not supported
2024-07-23 14:18:03 -05:00
aa82a3e733
Radio.start_dhcp: finish documentation.
2024-07-22 16:38:48 -05:00
99e5e66518
socketpool: Always use getaddrinfo_raise.
2024-07-22 16:20:34 -05:00
Scott Shawcroft
612bf209b5
Merge pull request #9421 from timchinowsky/rawsample-doublebuffer
...
Add double buffering to RawSample
2024-07-22 13:24:30 -07:00
34bee59920
espressif: actually disable v6 support on select boards
2024-07-22 12:46:56 -05:00
5ffc4b2f4f
Tick more boxes on the TODO list
...
* v6 on by default
* dhcp can start v4 & v6 separately
* self documenting property for v4 & v6 support
* v4 support is always on .. for now
2024-07-22 10:48:47 -05:00
bc2e6b48fd
Finish turning dns into a tuple
...
to accomodate multiple servers some day
2024-07-22 09:50:27 -05:00
timchinowsky
d554c017ad
Update shared-bindings/analogbufio/BufferedIn.c
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2024-07-19 16:57:27 -07:00
Tim
e8a7700af4
add looping to rp2040 analogbufio.BufferedIn
2024-07-18 12:03:15 -07:00
bee32ea826
Make return value of recvfrom_into & accept right for v6 addresses
...
only tested recvfrom_into as can't bind() v6 addresses yet
wifi workflow may be broken by this or maybe it was broken before
2024-07-17 17:15:22 -05:00
86f7a38ff4
Add wifi.radio.addresses, .addresses_ap, .dns
2024-07-17 12:18:29 -05:00
9088488d1c
WIP ipv6 works(-ish)
...
* metro esp32s2 only, because that's what I had handy
* nothing is started at boot; I hung it on `start_dhcp()` which is dubious
* I get a stateless address (which doesn't seem to work) and a dhcpv6 address (which does)
```
>>> wifi.radio.ipv6_addresses
('FE80::7EDF:A1FF:FE00:518C', 'FD5F:3F5C:FE50:0:7EDF:A1FF:FE00:518C')
```
* depending whether a v4 or v6 dns server is configured, DNS resolution breaks
wrong ipv4_dns is first 4 bytes of the v6 dns server address:
```
>>> wifi.radio.ipv4_dns
253.95.63.92
```
* I can connect to a v4 or v6 SSH server on the local network and read its banner
>>> s.close(); s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM); s.connect(("fd5f:3f5c:fe50:0:6d9:f5ff:fe1f:ce10", 22))
*** len[0]=28
*** len=28 family=10 port=5632
>>> s.recv_into(buf)
40
>>> bytes(buf)
b'SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u3\r\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2024-07-17 12:18:29 -05:00