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

Participant msg failed #326

Open
VasuDhevan22 opened this issue Aug 30, 2022 · 4 comments
Open

Participant msg failed #326

VasuDhevan22 opened this issue Aug 30, 2022 · 4 comments

Comments

@VasuDhevan22
Copy link

Hi,
Currently am porting xrcedds client library to the mpc5744 power pc architecture. Code compiling was fine. We can able to make session init while sending participant msg am getting error from agent side. like de-serialization error.
Just analyzed the frame compare to the linux client packet there was a some issue in framing.
We are configured - BIG ENDIAN format

Participant frame's:

Jetson nano client frame:
0000: 81 80 00 00 01 05 68 00 00 0A 00 11 01 02 CD 7E 59 00 00 00 3C 64 64 73 3E 3C 70 61 72 74 69 63
0020: 69 70 61 6E 74 3E 3C 72 74 70 73 3E 3C 6E 61 6D 65 3E 64 65 66 61 75 6C 74 5F 78 72 63 65 5F 70
0040: 61 72 74 69 63 69 70 61 6E 74 3C 2F 6E 61 6D 65 3E 3C 2F 72 74 70 73 3E 3C 2F 70 61 72 74 69 63
0060: 69 70 61 6E 74 3E 3C 2F 64 64 73 3E 00 CA 00 00

MPC5744 client frame:
0000: 81 80 00 00 01 04 68 00 00 0A 00 11 01 02 00 00 00 00 00 59 3C 64 64 73 3E 3C 70 61 72 74 69 63
0020: 69 70 61 6E 74 3E 3C 72 74 70 73 3E 3C 6E 61 6D 65 3E 64 65 66 61 75 6C 74 5F 78 72 63 65 5F 70
0040: 61 72 74 69 63 69 70 61 6E 74 3C 2F 6E 61 6D 65 3E 3C 2F 72 74 70 73 3E 3C 2F 70 61 72 74 69 63
0060: 69 70 61 6E 74 3E 3C 2F 64 64 73 3E 00 00 00 00

There is a frame mismatch in mpc5744.
Please help me to resolve this issue.

@pablogs9
Copy link
Member

pablogs9 commented Sep 5, 2022

Could you provide code for replicating this issue?

@king318hua
Copy link

Hi,
Currently am porting xrcedds client library to the mpc5748G power pc architecture. Code compiling was fine. We can able to make session init while sending participant msg am getting error from agent side. like de-serialization error. but i send 128 packages, i will stoped.

@king318hua
Copy link

Hi, Currently am porting xrcedds client library to the mpc5744 power pc architecture. Code compiling was fine. We can able to make session init while sending participant msg am getting error from agent side. like de-serialization error. Just analyzed the frame compare to the linux client packet there was a some issue in framing. We are configured - BIG ENDIAN format

Participant frame's:

Jetson nano client frame: 0000: 81 80 00 00 01 05 68 00 00 0A 00 11 01 02 CD 7E 59 00 00 00 3C 64 64 73 3E 3C 70 61 72 74 69 63 0020: 69 70 61 6E 74 3E 3C 72 74 70 73 3E 3C 6E 61 6D 65 3E 64 65 66 61 75 6C 74 5F 78 72 63 65 5F 70 0040: 61 72 74 69 63 69 70 61 6E 74 3C 2F 6E 61 6D 65 3E 3C 2F 72 74 70 73 3E 3C 2F 70 61 72 74 69 63 0060: 69 70 61 6E 74 3E 3C 2F 64 64 73 3E 00 CA 00 00

MPC5744 client frame: 0000: 81 80 00 00 01 04 68 00 00 0A 00 11 01 02 00 00 00 00 00 59 3C 64 64 73 3E 3C 70 61 72 74 69 63 0020: 69 70 61 6E 74 3E 3C 72 74 70 73 3E 3C 6E 61 6D 65 3E 64 65 66 61 75 6C 74 5F 78 72 63 65 5F 70 0040: 61 72 74 69 63 69 70 61 6E 74 3C 2F 6E 61 6D 65 3E 3C 2F 72 74 70 73 3E 3C 2F 70 61 72 74 69 63 0060: 69 70 61 6E 74 3E 3C 2F 64 64 73 3E 00 00 00 00

There is a frame mismatch in mpc5744. Please help me to resolve this issue.

i force UCDR_BIG_ENDIANNESS,it will ok, but Another problem appears.

@pablogs9
Copy link
Member

Which other problem appears?

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

3 participants