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

cross mob
lefeno
Level 2
Level 2
First like received 10 sign-ins 5 replies posted

Hello,

I am using CYW954907AEVAL1F dev board and want to connect to MQTT via web socket. 

I see that the current WICED SDK only supports native MQTT, and in AWS there is an option for MQTT via web socket, but no implementation yet.

Is there any API in WICED SDK or any available MQTT lib for connecting MQTT via web socket with my board, or I have to implement it on my own?

0 Likes
1 Solution
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

You can try with libwebsockets library for your use case.

Link - https://libwebsockets.org/git/libwebsockets/tree/?h=v4.2-stable

You can do the necessary porting as per your application.

Thanks

Aditi

View solution in original post

0 Likes
4 Replies
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

I'll check with the internal team on this query and revert back to you.

Thanks

Aditi

0 Likes
lefeno
Level 2
Level 2
First like received 10 sign-ins 5 replies posted

Hello @Adielfr, is there any solution on this subject? Am I missing something on WICED SDK?

0 Likes
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

Unfortunately, we don't have any example implementation on this. We do have separate MQTT and Websocket snip examples but not the one mentioned in the query. Sorry, for the inconvenience caused.

Thanks

Aditi

0 Likes
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

You can try with libwebsockets library for your use case.

Link - https://libwebsockets.org/git/libwebsockets/tree/?h=v4.2-stable

You can do the necessary porting as per your application.

Thanks

Aditi

0 Likes