citysu
citysu
This is my implementation of live plotting. Maybe it can help you. [csirealtime_esp32.py](https://github.com/citysu/csiread/blob/ca97fc0e2e97da892d4cc61267aadb8212e0cdbf/examples/csirealtime_esp32.py)
I noticed that [piwheel-csiread](https://www.piwheels.org/project/csiread/) built source successfully. But I havn't tested it on PI4. I don't know whether it works.
csidata.csi.shape is [packet_num, tones, nrxnum, ntxnum], but for each packet, [csidata.num_tones, csidata.nr, csidata.nc] is the real shape. csidata.csi is a container.
`(u_int64_t)buf_addr[0]
Yes, it's a type casting. Just replace it, nothing else.
This issue was caused by `Atheros CSI Tool Python RemoteReceive` The format of one atheros packet contains two parts: | 2 bytes | xxx bytes | |-----------|------------| | field_len |...
https://github.com/citysu/csiread/blob/c4ec21d5638e2d86887fce557704313bf135e2fd/csiread/_csiread.pyx#L410-L411
Take a look at the `docstring` in `core.py`. you can disable the report by setting `if_report=False`.
`cd example`, ```python from utils import infer_device, infer_chip_bw infer_device(csifile) # 'NexmonPull46' infer_chip_bw(csifile) # ('43455c0', 80, 5) ``` so, the code should be: ```python csifile = "csi_from_rpi_ping.pcap" csidata = csiread.NexmonPull256(csifile, chip='43455c0',...
Wireshark shows: The capture file appears to be damaged or corrupt. (pcap: File has 72155412-byte packet, bigger than maximum of 262144)