-
You will need a recent copy of RAD Studio or Delphi. You can download a trial or the free CE version here: www.embarcadero.com/products/delphi
-
You will also need to install the TMS MQTT component. Go to www.tmssoftware.com/site/tmsmqtt.asp The code will work with the trial version.
I wrote this for an episode of our Embarcadero 30 for 30 webinar series. You can catch the webinar replay via the link below.
The video shows the app in use and explains how I did it.
https://www.youtube.com/live/Ycs4y45qe28?si=XHqVgo3LBxTZ7Tyu)
I included a few little tricks like a semi-transparent 'glass' effect, a draggable captionless form which remembers the last position it started, and a shrink/unshrink capability just to show off a few capabilities of RAD Studio FireMonkey FMX.
In the video I connect to an M5Atom device from M5 Stack (see the video for more details). It is broadcasting MQTT packets to the M5Stack MQTT broker: mqtt.m5stack.com
The background texture is designed by Freepik I edited the original to suit my purposes.
- The button SVGs are from material icons from Google Fonts
Ian Barker.
Embarcadero Developer Advocate.