Communication from/to BioT Cloud
The device/GW may communicate with the cloud over HTTPS and MQTT.
HTTPS communication is done by using a JWT token.
MQTT communication is done by using an X.509 certificate or temporary credentials.
A certificate is usually used when the device communicates directly with the cloud, while temporary credentials are used by the GW/website that communicates with the cloud.
A device communicates with the cloud directly (e.g. using Wi-Fi) or through a gateway (e.g. mobile app).
In case the device communicates directly with the cloud, it should have a certificate. See the "Install a certificate" section for more details.
In case the device communicates with the cloud through a GW, then the GW usually uses temporary credentials for communication with the cloud - see the "Get temporary credentials" section for more info.
Lightweight measurement data as well as occasional bidirectional command and status communication is best served by MQTT. First, you need to establish a connection to our MQTT broker, which is Amazon Internet of Things (AWS IoT). For this, first, retrieve temporary credentials from BioT. These credentials are later used in the Connection Method described in the AWS IoT device SDK documentation.
Updated 11 months ago