Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
The device I need to connect sents out its data via TCP socket request, not websocket request. My idea is to use PAT to get the data. PAT supports websocket by default, I can wrap the tcp packet as websocket request ( or any other channel PAT supports ) then sent it to PAT, but the more straightforward way is to create a custom Channel in PAT I think.
But I don't know how to register a custom Channel and how to config it in connector.conf . Is there a guide for creating custom channel ?
Regards,
Sean
Solved! Go to Solution.
Hello Sean,
Thanks for reaching out on the ThingWorx Developer Community.
Looking into this there is a section of the ThingWorx Protocol Adapter Toolkit Developer's Guide which describes the creation of a custom channel. Please refer to the "Developing a Custom Channel" section on Page 46 of the guide.
Hopefully this gets you started with what you're looking for.
Regards,
Tyler Misner
ThingWorx Technical Support Engineer
Hello Sean,
Thanks for reaching out on the ThingWorx Developer Community.
Looking into this there is a section of the ThingWorx Protocol Adapter Toolkit Developer's Guide which describes the creation of a custom channel. Please refer to the "Developing a Custom Channel" section on Page 46 of the guide.
Hopefully this gets you started with what you're looking for.
Regards,
Tyler Misner
ThingWorx Technical Support Engineer