Giter Club home page Giter Club logo

livestreamcsi's People

Contributors

caichao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

livestreamcsi's Issues

Questions about the packet size

Hello,Mr Cai.l am here to ask some questions about the live stream CSI on the Github that you have implemented. l would appreciate it a lot if you could help me.

1.In "realtime_plot.m", why we set the buffer length as 393+2(line 27)?Why we abandon the first byte(line 56)?And why we treat 392 bytes as the length of a valid packet(line 58)?l am a little confused about it because l think each packet is 213 bytes.In the program log_to_file, it can print the size of each packet received.And the result is 213 bytes each packet. l hope that you could explain it.Thank you.

2.Later, l modified the file realtime_plot.m.Set buffer length as 213+2 and valid packet size as 212 bytes, and it can work well. But there is another problem. When I compare the live stream csi with the csi parsed by read_bf_file.m from the file, the result is different. So, l can not figure out whether there is something wrong with the realtime_plot.m or read_bf_file.m. l really hope that you could give me a hand.Thank you.
l am looking forward to your reply.

The error about "Wrong beamforming matrix size"

In the process of run the realtime_plot, the error "Wrong beamforming matrix size" occasionally happen. I guess maybe the transmitting rate is too high, but I couldn't use ping to modify the rate. Because tcpip is directly built after run my real-time data processing program and sudo ./log even haven't used ping. Do you have any idea, Mr Cai? @caichao

What is break_condition?

I can't find any definition of 'break_condition', and an error happened when run the code in MATLAB.
Can you help me?
while 1 < break_condition while(1) nBytes = get(TCPServer,'BytesAvailable'); if nBytes >= bufferLen % disp('read bytes ');disp(nBytes); break; end end i = i + 1;

connect ok but TCPServer couldn't receive any data

Hello Mr Cai,
I’m studying real-time display of csi, and your code has given me much help,thank you! But I'm still experiencing some problems. I would appreciate it if you could help me. The details are as follows.
Because my matlab version is 2010b on ubuntu 11.04(ubuntu 11.04 is able to support the 802.11 tool after Tsinghua University‘s students made some changes), the program “realtime_plot.m” could only run after I make some changes for it. After I ran the program on matlab and ran "sudo ./log save.dat” on terminal, the terminal indicated connect ok and the file named save.dat could log csi, but the TCP server couldn’t receive any data(ValuesReceived and BytesAvailable is always 0). And whenever I stop the program by using Ctrl+C, matlab shows the stop position is in the line of “nBytes = get(TCPServer,'BytesAvailable');”
I have tried to solve it but I failed. Could you give me some suggest ? Thanks!
@caichao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.