9 years, 7 months ago.

Can two platforms communicate with each other using WIFI without a centralized server?

If I have two LPC1768 platforms with WIFI components, one is connected to an accelerometer and the other is connected to an LED. Can I send motion data from the platform with accelerometer to the platform with the LED WITHOUT using a centralized server?

Basically I want to move one platform with the accelerometer with my hand. If is is moving too fast the LED connected to the other platform will turn on. I do not want a centralized server in between. Is this possible?

Thanks

1 Answer

9 years, 7 months ago.

Have not yet tried but it should work. UDP or TCP/IP socket connections seems best option. You may want/need to allocate hardcoded IP addresses to both devices when there is not even a DHCP-server (eg router) that provides IP addresses. Hardcoded addresses also make it easier to find out the address of the other device.