How to compute the serial input in Bolt IoT module

Using API, I was able to send serial data to the bolt IoT module. How can I compute data based on the given serial input ?

I’m a bit confused with this UART. For example, I wanted to develop Some thing like robot. Ex- send lift hand command from serial input, how to compute this internally so that I can make actuators to lift the hand. How should i write conditional statements…

Hi @Nikhil,
You cannot run conditionals/logic on the Bolt WiFi Module itself. You’ll have to run them on the client side(the computer you are calling the APIs from) and send commands back using the APIs.

I would highly recommend you check out the Bolt Python Library. You can fetch data over UART using the library, run all the conditionals using python and send appropriate commands to the actuators back.

Do let me know if you need any other help.