csiread
csiread copied to clipboard
Accessing timestamps for NexMon
Thanks for creating this amazing framework! I am trying to develop a demo that requires access to real-time CSI data and timestamps using NexMon. However, it looks like I can only obtain CSI and RSSI, but not the timestamps.
I am running a server like this: https://github.com/citysu/csiread/blob/master/examples/csiserver.py
For visualization, I am reading like this:
csidata = csiread.NexmonPull46(None, chip='43455c0', bw=80)
while True:
# receiving the frames
frame = conn.recv(BUFFER_SIZE)
code = csidata.pmsg(frame)
print(csidata.csi) # Works well
csidata._autoscale = 1
csidata.rssi = csidata.rssi.astype(np.int8)
print(csidata.rssi) # Works well
print(csidata.sec) # Prints None
How can I access the timestamps?
Thank you!