You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is to discuss the possibility to "handshake" a device based on a publication of data (actual sensor data) and to not need the hello. This is the step in the onboarding where we "wait for device".
This will help us in two ways:
Avoid the hello bottleneck in case something happens in the hello payload
Potentially fill up some data already for when the user ends the onboarding process and goes to the kits page
In principle, right after receiving a valid configuration (SSID + PASS + Token) and a successful connection, the kit will immediately send a hello, take a reading and send it.
This will also help us in the initial check of the device itself, which can be done in the onboarding stage. Potentially, we can even think that the hello OR the data payload can trigger the handshake, in case we don't want to risk moving completely away from the hello part.
The text was updated successfully, but these errors were encountered:
Yes, the 'Hello' protocol is no longer needed in our current firmware setup.
Detailed Explanation:
Handshake:
Initially, 'Hello' confirmed device communication independently of sensor data, in case it was not available: i.e. sensors are warming up.
Heartbeat:
The 'Hello' served as a device health check when sensors were inactive: i.e. sleep mode for power savings
Security:
A plan for 'Hello' to aid in periodic key exchanges (i.e. Diffie-Hellman) to increase security: i.e. current token is very weak. Current MQTT over SSL and longer device tokens might be sufficient.
Conclusion:
Given these developments, maintaining the 'hello' handshake isn't justified in our current firmware system architecture. We can always come back to it or merge it with ‘hardware_info’.
This issue is to discuss the possibility to "handshake" a device based on a publication of data (actual sensor data) and to not need the hello. This is the step in the onboarding where we "wait for device".
This will help us in two ways:
In principle, right after receiving a valid configuration (SSID + PASS + Token) and a successful connection, the kit will immediately send a hello, take a reading and send it.
This will also help us in the initial check of the device itself, which can be done in the onboarding stage. Potentially, we can even think that the hello OR the data payload can trigger the handshake, in case we don't want to risk moving completely away from the hello part.
The text was updated successfully, but these errors were encountered: