Ubidots Community

[SOLVED] Send data to ubidots

Hello Everyone,
Greetings.I am working on a project where I am using BC96 module with raspberry pi 3 to send data to ubidots. The special Iot Simcard network has its own VPN server where I am successfully sending UDP data and later on I was trying to listen to the data and send it to the ubidots. But The code shows me that data is successfully posted but I cannot see any anything in my account. Is there anyone who can help me to solve this problem.I am attaching the images of that UDP code to get help from you.

Hi there, UDP is a protocol that does not expect an answer from the server so there is not a way to debug the issue easily. From your screencapture, I see that you are checking for an ‘Ok’ from the server, Ubidots always tries to send this packet, but some of them may be missed due to the way that UDP works.

My advice is to check that you are using a valid token and to change your actual host from things.ubidots.com to industrial.api.ubidots.com if you are not an educational user. If the problem persists, try using TCP.

All the best