SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication between systemlink and arduino

Hello, my team has encountered challenges in establishing communication between the Arduino Nano 33 IoT and SystemLink. We are using a virtual computer to host the SystemLink web server, which was developed by our IT team.

Initially, we successfully communicated between the ESP32 and SystemLink using the HTTP API reference, focusing on updating tag values, specifically the POST: /v2/update-current-values endpoint.
Here is the function we created on esp32 using  HTTPclient.h library as well as ArduinoJson.h:

Labmecepel_0-1713270437681.png

Labmecepel_1-1713270457962.png

 

Labmecepel_2-1713270752062.png

 



However, the Arduino Nano 33 IoT does not utilize the same libraries as the ESP32. While we have successfully communicated with Google using GET requests and tested simple POST requests using Postman, we encountered difficulties when attempting to send multiple headers and communicate with our own server. We have tried numerous libraries and various methods of sending data; however, none of them have proven effective. Any suggestions would be greatly appreciated. Thank you in advance.

For example, when using ArduinoHttpClient.h and ArduinoJson.h on the Nano 33, we frequently encounter -1 and -2 (more often)  errors.

Labmecepel_3-1713271359807.png

 



0 Kudos
Message 1 of 1
(348 Views)