The device/GW communicates with the cloud over HTTPS, MQTT.
HTTPS communication is done by using a JWT token.
MQTT communication is done by using a certificate or temporary credentials.
A certificate 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 "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 "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 4 months ago