Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to use send_Data #2

Open
kr689 opened this issue Jan 25, 2023 · 3 comments
Open

Error when trying to use send_Data #2

kr689 opened this issue Jan 25, 2023 · 3 comments

Comments

@kr689
Copy link

kr689 commented Jan 25, 2023

I'm attempting to use send_data and I'm getting the following error:

syntax error: unexpected "("

I use the normal sendData tool and it works fine so why do I see this error and how can I resolve it?

Screenshot from 2023-01-25 12:47:12
See the last few lines of the command line

@Kuroshika
Copy link

Hi, kr689:
I met the same problem and my recv_csi cannot work either. Have you solved this problem? I will be appreciate if you share with me!

Thanks for your reading.

@kr689
Copy link
Author

kr689 commented Jan 18, 2024

@Kuroshika it has been a while so let me make sure I understand the issue. When you try to send more than 1, you get an error (for the function that should be able to send multiple packets) ? If this is the case, I actually didn’t quite figure out why that was happening. I instead just wrote a script to run the line that sends one packet n times with the for loop. Now maybe you want that the time between each packet sent is constant and that may not be the case with the for loop so then you might need to apply some post processing where you linearise the data points (they have time stamps) using some algorithm (built into many languages like Python, which is what I did for my case). If I have misunderstood, let me know

@Kuroshika
Copy link

I am delighted to receive your response! However, I would like to apologize for not being able to clearly describe my issue.

My problem is as follows: After successfully compiling the "recv_csi" and "send_Data" programs using the MIPS cross-compilation tool, I transferred these two programs to a router that has OpenWrt installed. I attempted to run these programs, but encountered errors during execution. When I ran "recv_csi," I received the following error message: "./recv_csi: line 1: syntax error: unexpected word (expecting ")")". Similarly, when I ran "send_Data," I received the error: "./send_Data: line 1: syntax error: unexpected "("".

I noticed that you encountered a similar issue, and I speculate that your solution may also resolve my problem.

I genuinely appreciate your response and look forward to further communication with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants