155 views
in System Integration by

Good day

I have configured the Raspberry Pi as the slave andTest program use an ESP32 as the master for Tcp/Ip socket communication via wlan0 on the Raspberry Pi 4B.

In the test program, the slave initiates communication and with a loopback sends back data it receives from the master. This test program works fine.

However implementing the slave on the Raspberry with Embedded Wizard, I only manage to connect with the master but fails to send or receive data.

I have included the test program for the master and slave as well as the attempted Embedded Wizard slave program.

I would appreciate feedback from you to guide me in implementing this protocol successfully.

Thank you.

1 Answer

0 votes
by
Hi there,

Unfortunately, we are GUI experts, and none of us are very familiar with TCP/IP socket communication via WLAN.

Therefore, I don't think this is the best place to ask that question.

You might find someone who can help you with your project in a more general Raspberry Pi forum.

Best regards,

Tim
by
Thank you, Tim the program attached runs fine on the Raspberry Pi without Embedded Wizard integration.

The Tcp/Ip slave program implemented in Embedded Wizard's middleware should be simple enough to at least see the first data transmission.

Data reception is a bit more complex with EwInvokeCopy implementation.

I would appreciate feedback from anyone in the group.

Thank you.
by
Good day

In the program attached, when I use the " write(p3Socket, dataSend, sizeof(dataSend)); " command,

the 'sendData' is printed on the screen instead of being sent out on the socket.

Is there an explanation for this?

Thank you

Embedded Wizard Website | Privacy Policy | Imprint

...