Packets
Once you have created a packet schema for the datapoint or message, you can have your device send datapoints, and send and receive messages.
The exact details of it differ based on the protocol and serialization format you choose to use. We support sending payloads in JSON and MsgPack over MQTT, and only JSON over HTTP.
Once a packet is sent from your device and received by Fostrom, it is immediately processed according to the packet schema. If a field cannot be casted into the correct type, it will be marked as a bad field. Currently, if a packet contains a bad field, it is dropped and logged. If all the fields are processed successfully, it enters the packet stream. You can see new packets as they enter the packet stream on the Packets tab in your fleet. This stream is also processed in the background to queue any Action Runs on incoming messages.
We are adding more capabilities to Packets tab, such as filtering, querying, and exporting data soon.