Commit Graph

181 Commits

Author SHA1 Message Date
Matt Johnston
f46e0eb5f2 Fix PowerManagementMode::None
Mode was being set to 2 (PM2_POWERSAVE_MODE), should be
0 (NO_POWERSAVE_MODE). Setting None mode failed with a panic:

85.707099 DEBUG set pm2_sleep_ret = [00, 00, 00, 00]
└─ cyw43::control::{impl#0}::set_iovar_v::{async_fn#0} @ cyw43/src/fmt.rs:127
85.710469 ERROR panicked at 'IOCTL error -29'
2023-05-14 22:48:04 +08:00
Dario Nieuwenhuis
6b5d9642d5 Rename BCD -> BDC. That's what Broadcom calls it. Still no idea what it means. 2023-05-08 22:01:44 +02:00
Dario Nieuwenhuis
881e9d07d2 Fix missing padding in tx. Makes max-sized packets not get dropped 2023-05-08 21:53:03 +02:00
Dario Nieuwenhuis
a7dee5b65c Change all logging level to debug. 2023-05-08 21:53:03 +02:00
Dario Nieuwenhuis
d3d424dad3 remove comment. 2023-05-08 21:53:03 +02:00
Dario Nieuwenhuis
008b1fd30c update defmt to 0.3.4, now that probe-run is fixed. 2023-05-08 21:53:03 +02:00
Dario Nieuwenhuis
705270faae
Merge pull request #77 from kbleeke/join-error-handling
simple a simple Error type for join instead of looping internally
2023-05-04 22:21:16 +00:00
kbleeke
0d8d8d3320 simple error handling for join instead of looping internally 2023-05-04 20:23:02 +02:00
Dario Nieuwenhuis
733b83e44f
Merge pull request #76 from kbleeke/ioctl-response-logging
cleanup ioctl response logging
2023-05-03 18:21:35 +00:00
Kai Bleeke
8dbe397f99
cleanup ioctl response logging 2023-05-03 20:15:43 +02:00
Dario Nieuwenhuis
6ee45f5ec0
Update README.md 2023-05-01 18:47:09 +02:00
Dario Nieuwenhuis
1296817f7b
Merge pull request #74 from tana/ap-mode-example
Add AP mode example
2023-05-01 16:38:42 +00:00
Satoshi Tanaka
534cf7c618 Add AP mode example 2023-05-02 01:30:08 +09:00
Dario Nieuwenhuis
73cd016885
Merge pull request #72 from tana/ap-mode
Add AP mode
2023-05-01 14:50:29 +00:00
Dario Nieuwenhuis
0589f2f36e
Merge pull request #71 from kbleeke/wifi-scanning2
add wifi scan example
2023-05-01 14:37:25 +00:00
kbleeke
b612976cc7 add wifi scan example 2023-05-01 16:34:30 +02:00
Dario Nieuwenhuis
03737e4be4
Merge pull request #73 from daniel-larsen/master
cyw43-pio optional feature for defmt
2023-05-01 09:25:24 +00:00
Daniel Larsen
bc34f3c60f updated example 2023-04-30 23:19:53 -03:00
Daniel Larsen
c70a66fe81 Make defmt optional 2023-04-30 18:55:19 -03:00
Satoshi Tanaka
a186694fdd Implement WPA2 AP mode 2023-05-01 06:54:26 +09:00
Daniel Larsen
af368676ef Removed defmt 2023-04-30 18:02:44 -03:00
Satoshi Tanaka
099ec7443b Add AP mode (unencrypted) 2023-05-01 04:30:21 +09:00
Dario Nieuwenhuis
5659269c8f
Merge pull request #70 from kbleeke/wifi-scanning-ioctl
Wifi scanning ioctl
2023-04-30 15:05:16 +00: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
Dario Nieuwenhuis
f4bfda345d
Merge pull request #69 from kalkyl/update-embassy
Update embassy
2023-04-27 18:22:46 +00:00
kalkyl
4d551a5865 Update embassy 2023-04-27 19:37:19 +02:00
Dario Nieuwenhuis
0c8e5f92c7 Switch from probe-run to probe-rs-cli. 2023-04-26 18:10:57 +02:00
Dario Nieuwenhuis
0a2d6f0be0 ci: build with DEFMT_LOG=trace to catch all defmt issues. 2023-04-26 16:20:49 +02:00
Dario Nieuwenhuis
0c7ce80384 Fix missing defmt impl. 2023-04-26 16:20:23 +02:00
Dario Nieuwenhuis
123c110427 Revert "Workaround regex breaking change."
This reverts commit 6a1a3e6877.
2023-04-26 16:19: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
6a1a3e6877 Workaround regex breaking change. 2023-04-21 14:37:04 +02:00
Dario Nieuwenhuis
efb67dfc1b
Merge pull request #66 from mattiasgronlund/remove_myspi
Remove MySpi from example
2023-04-15 09:54:02 +00:00
mattiasgronlund
9ca5bcd576
Update main.rs 2023-04-14 10:27:25 +02:00
Mattias Grönlund
4be1e4bd44 Remove MySpi
MySpi was replaced by PioSpi and no longer used.
2023-04-14 09:38:35 +02:00
Dario Nieuwenhuis
46efce6ea2
Merge pull request #64 from kbleeke/master
general maintenance commits
2023-04-09 20:07:32 +00:00
kbleeke
683ad80479 update embedded-hal 2023-04-07 19:56:05 +02:00
kbleeke
4d2710ed4d pin defmt to 0.3.2. 0.3.4 introduces an undesired wire format upgrade 2023-04-07 19:55:46 +02:00
kbleeke
056b8ab5a2 update nightly to embassy nightly 2023-04-07 19:54:39 +02:00
kbleeke
eb32d8ebbd update embassy 2023-04-07 19:54:05 +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
Dario Nieuwenhuis
fd5c7acafc
Merge pull request #61 from kbleeke/noop-mutex-for-events
event queue mutexs can be noop because we are already !Sync in other …
2023-04-03 13:32:34 +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