In modus toolbox is there any program that i can run to connect psoc6 wifi-bt with IBM Watson cloud? I've successfully connected psoc6 WiFi-bt which is the device i have with AWS cloud by using any cloud mqtt program in modus toolbox likewise are there any such program for connecting psoc6 to IBM cloud Watson?
Hello @Soram ,
No, as of today we do not have any example that showcases how a connection to the IBM Watson Cloud connection can be made using PSoC6 in ModusToolbox.
However, there is a blog that explains how you can do this using WICED. You can find it here: https://www.element14.com/community/community/project14/remote-monitoring-control-devices/blog/2019/...
You can use this as a starting point to develop your example in ModusToolbox. Technically it should work. It's just that AnyCloud SDK doesn't have anything directly available to help you make a connection with IBM Cloud.
Hi @DheerajK_81 so just wanted to confirm that is it possible by using modustoolbox anycloud mqtt program to connect to IBM Watson since it is mentioned clearly in modus toolbox that it is designed with sdk specifically for AWS cloud connection. You know just wanted to be clear.
Hello @Soram ,
You need to find out which connectivity protocol IBM Watson supports. You can connect using AnyCloud if IBM Watson supports standard MQTT protocol. It’s straight-forward, not that difficult.
If it is HTTP, then we have http-client as part of AnyCloud. But you need to write the code according to IBM’s HTTP specification. This may not be very difficult, though not straight-forward.
Hope this helps 🙂
but will it support psoc6 because according to one query it says wiced studio does not support psoc6 as mine is CY8CKIT-062-WiFi-Bt.
here is the link for that:
For PSoC6 devices, ModusToolbox is the recommended software for developing applications. The blog link makes use of WICED APIs which can't directly be ported to ModusToolbox. Although the underlying APIs are the same in ModusToolbox and Wiced Studio, there have been significant changes to the high-level APIs, where we have made a move from WWD to WHD model.
There are no porting guides are such, but looking at the description of the APIs, you should be able to figure out which is which and make it work.
Do let us know if you face any difficulties, we will be happy to help 😊