Howdy community, I trust that you are well!
I have a BLE mesh network interface which runs on TCP or Websocket server. I moved to TCP because my websocket server does not receive messages from OR but it works with postman. I have a certain message in JSON format to get active energy from a BLE mesh device which is sent to my TCP server.
It all works, I can get the received data back (P.S when sending data back to OR via a TCP client make sure that you add a \n delimitter to the end of your message, by default OR uses this to determine the end of a message).
I also got all the filters etc working, if anyone is interested in this I can post a guide on how to get basic json filters working.
The ultimate question I have, is how do I get OR to automatically poll this data i.e. Send the message to my client say every 60s. I know you can do this with the HTTP agent as shown in the Weather asset tutorial, but it does not look like you can do this with other agents, at least not TCP and Websocket… I have seen a pollMillis attribute in these agents but it does not look like its doing anything…
Any help would be greatly appreciated!
Thanks:)