Secure IoT command sending (NodeJS Client).
There are many ways to secure and authenticate a networking communication, but not all solutions will run on a microcontroller, where processing power and memory is a scarce resource.
You can not select more than 25 topicsTopics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
There are many ways to secure and authenticate a networking communication, but not all solutions will run on a microcontroller, where processing power and memory is a scarce resource.
How does it work?
~~~~~~~~~~~~~~~~~
+Server -> the iot device that will receive the command+
+Client -> the command sender+
. The Client connects to the Server.
. [ Optional: The Client sends a predefined ammount of data for the Server to wake up. (Some libraries need the client to send first data, else they will not recognize that a connection was just made.) ]
. The Server sends a challenge to be solved.
. The Client send the solved challenge with the command.
. The Server extracts the command from the response/solution, executes it [Optional: sends back the response ].
. [ Optional: The Client extracs the execution response from the Server response. ]