Satoshi Tanaka
099ec7443b
Add AP mode (unencrypted)
2023-05-01 04:30:21 +09:00
kbleeke
76b967a966
comment wifi scanning items
2023-04-28 21:28:59 +02:00
kbleeke
2c5d94493c
wifi scan ioctl
2023-04-28 21:28:59 +02:00
Dario Nieuwenhuis
c19de29847
Merge pull request #63 from kbleeke/generalize-events
...
rework event handling to allow sending data to `Control`
2023-04-27 18:23:36 +00:00
kalkyl
4d551a5865
Update embassy
2023-04-27 19:37:19 +02:00
Dario Nieuwenhuis
0c7ce80384
Fix missing defmt impl.
2023-04-26 16:20:23 +02:00
kbleeke
9e96655757
comment some choices for current event handling
2023-04-25 19:14:00 +02:00
kbleeke
582a15a693
cleanup EventMask
2023-04-25 19:14:00 +02:00
kbleeke
2d7ba44621
rework event handling to allow sending data
2023-04-25 19:14:00 +02:00
Dario Nieuwenhuis
cbbfeb23be
Merge pull request #62 from kbleeke/parse-events-in-place
...
Parse event data from device in-place
2023-04-06 21:09:11 +00:00
kbleeke
76ebebd0c5
parse data from device in-place
2023-04-03 12:50:52 +02:00
kbleeke
608eb9b1fd
event queue mutexs can be noop because we are already !Sync in other places
2023-04-03 11:57:33 +02:00
Dario Nieuwenhuis
e6e5685f7c
Merge pull request #58 from kbleeke/clear-data-unavailable
...
clear DATA_UNAVAILABLE irq
2023-03-30 10:30:53 +00:00
kbleeke
69db1535b2
clear DATA_UNAVAILABLE irq
2023-03-30 12:24:37 +02:00
kbleeke
b2d63d851d
set INTERRUPT_WITH_STATUS flag in attempt to prevent hangs
2023-03-30 12:04:18 +02:00
kbleeke
056df98d47
use send status feature of cyw43 instead of manually checking status
2023-03-27 18:19:07 +02:00
Dario Nieuwenhuis
273e6f5b83
Merge pull request #47 from kbleeke/pio-irq
...
Use IRQ instead of polling the status register
2023-03-27 16:08:22 +00:00
kbleeke
8926397f45
address irq nits
2023-03-27 15:29:01 +02:00
kbleeke
1c721cb20e
cancel ioctl when future is dropped
2023-03-27 13:39:41 +02:00
kbleeke
b58cc2aa23
use irqs to wait for events
2023-03-27 13:18:59 +02:00
kbleeke
a2272dda08
status and irq flags formatting with defmt
2023-03-27 13:18:59 +02:00
Dario Nieuwenhuis
cde6f0f862
Merge pull request #50 from kbleeke/async-ioctls
...
Rework Ioctls to an async state machine
2023-03-27 10:43:53 +00:00
kbleeke
c7646eb699
bring back TODO note about dropping ioctls
2023-03-27 12:40:40 +02:00
kbleeke
4c52104413
simplify ioctl waker code
2023-03-27 12:40:27 +02:00
kbleeke
6f547cf05d
asyncify outgoing events
2023-03-27 11:48:58 +02:00
kbleeke
4721381225
also wait for join event in join_open
2023-03-27 11:10:29 +02:00
Dario Nieuwenhuis
cffc3fc795
Fix build with log.
2023-03-27 03:33:06 +02:00
kbleeke
20923080e6
split lib.rs into multiple files
2023-03-22 15:35:02 +01:00
kbleeke
359b1c7fdb
replace inspect() with direct calls to trace!() after awaiting
2023-03-21 19:39:41 +01:00
kbleeke
29494a9296
Merge branch 'master' into pio
2023-03-21 19:32:39 +01:00
kbleeke
3034e8fb45
document response delay quirks in bus code
2023-03-21 19:26:24 +01:00
kbleeke
b4b8d82980
remove use of embedded-hal SPI traits. Instead just call our bus trait directly and push responsibility for implementing CS on the trait implementor
2023-03-21 19:15:54 +01:00
kbleeke
1b410d6f3f
add event handling to join
2023-03-19 17:48:41 +01:00
kbleeke
a6a2a035d5
even faster pio speed are possible
2023-03-19 17:00:45 +01:00
kbleeke
0ff606dfc1
Add pio transport to pico w example
2023-03-19 16:58:22 +01:00
kbleeke
d57fe0de86
Custom Bus Trait to support PIO
2023-03-19 16:57:54 +01:00
Dario Nieuwenhuis
a2bae33d84
Add separate function to set power management mode.
2023-01-02 21:36:51 +01:00
Lukas Krejci
001610f0d0
Be able to specify the power management mode at init time.
2023-01-02 21:34:13 +01:00
mattiasgronlund
c1fa46bd36
Merge branch 'master' into wlan_read_fix
2022-12-31 16:40:22 +01:00
Mattias Grönlund
871700f05d
Fixed length for wlan_read.
...
The length provided in command word for FUNC_WLAN READ, should
describe the actual bytes requested, not the size of the buffer
which is sized in u32.
2022-12-31 16:25:37 +01:00
Dario Nieuwenhuis
2548bbdd65
Update Embassy.
2022-12-27 01:19:26 +01:00
Dario Nieuwenhuis
1b6799d93f
split bus, consts into separate mods.
2022-12-26 23:34:27 +01:00
Dario Nieuwenhuis
076ada4c02
Add feature to display console logs from the wifi firmware.
2022-12-25 22:50:59 +01:00
Dario Nieuwenhuis
42cc0c6d73
print ioctl error as signed.
2022-12-25 22:50:59 +01:00
Dario Nieuwenhuis
56b50f8b62
fix bp_read.
...
It was broken since the switch from u8 to u32.
2022-12-25 22:50:59 +01:00
Dario Nieuwenhuis
0d84533bcb
Use async spi transaction helper macro.
2022-10-02 21:30:43 +02:00
Dario Nieuwenhuis
c385bbf07d
Update embassy, embedded-hal.
2022-10-02 21:28:34 +02:00
Daniel Bevenius
3b04ef265c
Add constants for BDC_VERSION
...
This commit adds two constants intended to be used with the
bdc_header.flags field. I believe these are the correct values after
looking at following lines in `whd_cdc_bdc.c`:
40a7ec2273/WiFi_Host_Driver/src/whd_cdc_bdc.c (L34-L35)
40a7ec2273/WiFi_Host_Driver/src/whd_cdc_bdc.c (L447)
2022-09-26 14:53:37 +02:00
Daniel Bevenius
9962db4ecf
Suppress compiler warnings
...
This commit adds the allow(unused) attribute to functions and constants
that are not currently used. There is one warning remaining but
https://github.com/embassy-rs/cyw43/pull/23 attempts to address that
one. The constants have been moved into a module to allow the attribute
to be applied to the module as a whole.
The motivation for this is that it will hopefully make it easier to
spot new warnings that might be introduced by new, or updated code.
2022-09-26 14:08:50 +02:00
Dario Nieuwenhuis
79a9a4eb98
Merge pull request #20 from danbev/glom_comment
...
Add comment about bus:txglom iovar
2022-09-25 23:39:08 +02:00