The IoT board uses the following topic names to publish data about a specific surfboard, where surfboardname must be replaced with a unique name assigned to a surfboard:
Variable |
Topic name |
Status |
surfboards/surfboardname/status |
Speed (mph) |
surfboards/surfboardname/speedmph |
Altitude (feet) |
surfboards/surfboardname/altitudefeet |
Water temperature (degrees Fahrenheit) |
surfboards/surfboardname/temperaturef |
For example, if we assign surfboard01 as the name for the surfboard, the client that wants to receive the actual speed for the surfboard has to subscribe to the surfboards/surfboard01/speedmph topic.
The IoT board and its connected sensors are capable of distinguishing between the following five possible statuses of a surfer and their surfboard:
Status key |
Meaning |
0 |
Idle |
1 |
Paddling |
2 |
Riding... |