Skip to main content
13-Aquamarine
November 24, 2020
Solved

Edge device with information prioritisation / managing the socket messages

  • November 24, 2020
  • 1 reply
  • 1089 views

Hello,

 

I have to send some alarms, warnings and errors from a device (microcontroleur) to thingworx. The SDK type has not been choosen yet, but I would personnaly prefer the Java SDK. Because the quality of the network is very poor, I have to prioritize the message sending. It means that I have to make sure that the errors will be send first.

- Is that possible using the SDK?

- or should I manage myself a queue of messages ?

- How can I make sure that a value has been successfully sended / received using updateSubscribedProperties?

 

Can I also switch the network used if one is down, for instance switching from Wifi to GSM? In java I would open a socket for a given interface, is that also possible? 

socket.bind(ni.getInetAddresses().nextElement());

 

Best answer by slangley

Hi @gch.

 

ThingWorx can do all of this with the proper coding to handle the prioritization, etc..  Since this could be complicated, we recommend that you reach out to one of our consultants for guidance.  You can contact them either through your Sales rep or by reaching out to the Sales team here.

 

Regards.

 

--Sharon

 

 

1 reply

slangleyCommunity ManagerAnswer
Community Manager
December 3, 2020

Hi @gch.

 

ThingWorx can do all of this with the proper coding to handle the prioritization, etc..  Since this could be complicated, we recommend that you reach out to one of our consultants for guidance.  You can contact them either through your Sales rep or by reaching out to the Sales team here.

 

Regards.

 

--Sharon