help with psoc6 wifi-bt and IBM Watson connection

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Soram
Employee
Employee
10 sign-ins 5 replies posted 5 questions asked

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?

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

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 🙂

Regards,
Dheeraj

View solution in original post

0 Likes
5 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

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. 

Regards,
Dheeraj 

0 Likes
Soram
Employee
Employee
10 sign-ins 5 replies posted 5 questions asked

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.

Thanks

 

0 Likes
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

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 🙂

Regards,
Dheeraj

0 Likes
Soram
Employee
Employee
10 sign-ins 5 replies posted 5 questions asked

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: 

Re: Help with psoc 6 wifi-bt pioneer kit and wiced... - Cypress Developer Community

0 Likes
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

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 😊

Regards,
Dheeraj

0 Likes