Scott Feldman
7a7235f83b
move netdev interface to use net/netip for IP addr/ports
2023-12-06 20:09:39 +01:00
Scott Feldman
3089bf8b1b
net: updates/cleanup/docs for net, netdev, and netlink
2023-12-06 20:09:39 +01:00
Scott Feldman
8238f96319
move netdev and netlink into their own packages and out of drivers
...
This moves the netdev/netlink namespace out of drivers and into their
own packages. Also, defines netdev and netlink as L3/L4 and L2 OSI
layers, respectively. Move some L3 functionality from netlink to
netdev (GetIPAddr).
For netlink, add ConnectParams for NetConnect to pass in L2 connection
parameters (ssid, pass, auth_type, etc). Also adds connection mode
(STA, AP, etc).
For netlink, add SendEth and RecvEthFunc funcs to handle L2 send/recv of
Ethernet pkts.
2023-12-06 20:09:39 +01:00
Scott Feldman
4bf631a7e3
s/ConnectTimeo/ConnectTimeout, s/WatchdogTimeo/WatchdogTimeout/
2023-12-06 20:09:39 +01:00
Scott Feldman
3c4df6e811
wifinina: add 'unknown failure' reason code for AP connect
2023-12-06 20:09:39 +01:00
Scott Feldman
255c639ad4
wifinina: add ResetIsHigh cfg switch for MKR 1010 (copied from #561 )
2023-12-06 20:09:39 +01:00
Scott Feldman
276feecc20
Add network device driver model, netdev
2023-12-06 20:09:39 +01:00
deadprogram
422051d822
wifinina: add ResetIsHigh to control the behavior of the RESET pin for boards like the Arduino MKR 1010
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-05-18 21:25:33 +02:00
deadprogram
5f25a4f6be
wifinina: small timing adjustments in Configure() to better ensure device reset
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-05-18 21:25:33 +02:00
deadprogram
9955e09466
wifinina: only add generated strings when using wifidebug tag
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-05-14 23:16:40 +02:00
deadprogram
bc9177726d
wifinina: add generated strings, improved debugging system and messages
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-05-14 23:16:40 +02:00
deadprogram
1bb1b621c6
all: correct go fmt
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-09-25 13:23:16 +02:00
deadprogram
1c038f5183
wifinina: add mutex to prevent communication race problems
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-06-11 10:59:41 +02:00
deadprogram
f7dce6ae22
wifinina: correct sendParamStr to handle empty strings, such as when connecting to an unsecured access point.
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-01-26 23:05:50 +01:00
deadprogram
941c1c9057
wifi/espat, rtl8720dn, wifinina, net: modify to use Adapter interface
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-01-24 13:24:39 +01:00
Yurii Soldak
0f9b9d873b
wifinina: avoid busy wait
2021-12-10 12:15:56 +01:00
Yurii Soldak
334ed57373
wifinina: control nina pins, for example leds
2021-11-12 15:32:21 +01:00
Yurii Soldak
3fe3fc64e4
wifinina: fix warnings
2021-09-19 13:05:38 +02:00
Yurii Soldak
9adbde99a2
wifinina: avoid fmt package
2021-05-28 18:09:29 +02:00
Yurii Soldak
a09ec31e7a
Fix RSSI command for WiFiNINA
...
+ Print current SSID
+ Wait for correct time before printing it out
+ Cleanup
2021-05-27 08:00:13 +02:00
Kenneth Bell
2a48b5c25d
wifinina: fix getMACAddress and getTime
...
Tested against Adafruit AirLift (compatibile variant of wifinina)
2021-05-12 09:11:18 +02:00
Yurii Soldak
67b8a341a6
Make TLS work over WiFiNINA
...
Verified on Arduino Nano33 IoT and nina fw v1.4.5
2021-05-11 10:59:52 +02:00
Tobias Theel
b869d27170
remove debug flag and remove unnecessary padding call
...
(cherry picked from commit 9d3e63232b )
2021-05-11 10:59:52 +02:00
Tobias Theel
107932a201
fix padding and implement missing functions
...
(cherry picked from commit 0aa0bde76e )
2021-05-11 10:59:52 +02:00
deadprogram
42a907035b
spi: incorporate change from GH issue feedback
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2020-12-15 06:08:59 +01:00
deadprogram
46c9ba9595
spi: remove machine.SPI and replace with drivers.SPI interface for almost all SPI drivers
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2020-12-15 06:08:59 +01:00
deadprogram
74c9ff4c76
all: changeover to eliminate all direct use of master/slave terminology
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2020-07-30 12:03:09 +02:00
BCG
511a3282b7
Added UDP support
2020-06-21 16:21:06 +02:00
Daniel Esteban
d61fe99ef1
fix typo on StartScanNetworks
2020-02-26 19:55:12 +01:00
Ron Evans
086415605e
wifinina: update docs and info on how to install WiFiNINA driver
...
Signed-off-by: Ron Evans <ron@hybridgroup.com >
2019-12-26 16:34:35 +01:00
BCG
e80a22d0ba
Client driver for WiFiNINA firmware ( #98 )
...
* wifinina: implementation of WiFiNINA driver, including:
- TCP client example is working
- reading sockets and mqtt working
- switched over to common net package also used by espat package
- smoke tests and updated README for wifinina
2019-12-22 10:25:10 +01:00