Skip to content

[cyw43] structs::parse error #4753

@RayLucchesi

Description

@RayLucchesi

Noobie here so just my best guess but in the parse function there’s an if clause around line 106 in structs.rs

if sdpcm_header.len != !sdpcm_header.len_inv {
warn!("len inv mismatch header”);
return None:

Now as len_inv is 65K !len_inv is 0 and any header.len is going to be non-0 (I believe) so this if statement is always true and always returns None…

I’ve been trying the RP examples for wifi (e.g. wifi_scan.rs), recompiling them for the RP235X chip (Pico2W) in the /examples/Rp235x directory and they don’t work even after I fix this.

They all seem to get [WARN. ] TX stalled (runner.rs:380) errors and never come back.

But that assumes that fixing the above not to trigger was correct. If incorrect then I have bigger problems…

Let me know if you need more info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions