Micro-XRCE-DDS-Client icon indicating copy to clipboard operation
Micro-XRCE-DDS-Client copied to clipboard

Participant msg failed

Open VasuDhevan22 opened this issue 1 year ago • 4 comments

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.

VasuDhevan22 avatar Aug 30 '22 09:08 VasuDhevan22

Could you provide code for replicating this issue?

pablogs9 avatar Sep 05 '22 14:09 pablogs9

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 avatar Dec 29 '22 11:12 king318hua

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.

king318hua avatar Dec 29 '22 11:12 king318hua

Which other problem appears?

pablogs9 avatar Dec 30 '22 07:12 pablogs9