-
Notifications
You must be signed in to change notification settings - Fork 15
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
creat session error when use serial mode #134
Comments
I use xrce version 2.1.1 and serial rs232 |
Could you paste here the whole commands you are using? |
agent: ./MicroXRCEAgent serial -b 115200 -D /dev/ttyUSB0 -v 6 -r agent.refs |
Where do you have both the client and the agent running? Which serial port are you using? |
Have you checked the proper operation of the serial link without the XRCE environment? |
yes I have checked. |
Are you opening the port with any other software at the same moment you are running client/agent? |
no |
If you send something from the agent to the client-side it also works? |
yes I just try. |
How are you connecting the RS232 side of the adaptor to the Raspberry Pi? |
Well it seems that the communication from the client to the agent is working since the agent creates the session but the client is not receiving the agent's session confirmation. Please try another serial connection or use another transport layer. |
UDP and TCP is works well.what is "another serial connection" RS485? |
using another serial adaptor |
Can you recommend me a way to build a serial port environment |
Try to use a USB to UART adaptor using the UART GPIO of the RPi instead of chaining two USB-to-RS232 adaptors. |
Here is the same question on vmware virtual serial port.
Client side:
|
@ilikecola could you try without virtual ports in vmware in order to check that this is not a misconfiguration on that side? |
@pablogs9 there is a little configuration on virtual ports in vmware , only I/O mode of 'Yield CPU on poll' and echo test is working well. |
@ilikecola ok, could you provide detailed instructions so we can replicate your scenario? |
Using the example code of ShapeDemoClient, I encountered the above errors on client side.
Agent side
ShapeDemoClient side
The text was updated successfully, but these errors were encountered: