This example demonstrates how the B4X tools can be used to create a solution with multiple types of components and communication channels.
See the following video (make sure to watch it in HD resolution):
The components in this example:
- Intel Edison (B4J - jMRAA library)
- Raspberry Pi (B4J - jPi4J library)
- B4A app
- B4i app
- B4J desktop app
- Browser
All the applications, except of the web app that runs in the browser, use MQTT for the communication.
A lightweight web server runs on the Intel Edison to support the browsers.
The data is serialized with B4XSerializator (RandomAccessFile).
The various apps monitor the hardware buttons and control the LEDs. Note that all the connected devices always show the updated state.
The five projects are attached.
See the following video (make sure to watch it in HD resolution):
The components in this example:
- Intel Edison (B4J - jMRAA library)
- Raspberry Pi (B4J - jPi4J library)
- B4A app
- B4i app
- B4J desktop app
- Browser
All the applications, except of the web app that runs in the browser, use MQTT for the communication.
A lightweight web server runs on the Intel Edison to support the browsers.
The data is serialized with B4XSerializator (RandomAccessFile).
The various apps monitor the hardware buttons and control the LEDs. Note that all the connected devices always show the updated state.
The five projects are attached.