Websocket Client for iMX RT1064 in Azure RTOS

GanesanGuru 0 Reputation points
2023-09-28T11:34:15.31+00:00

Hi @team,

I've been looking for Websocket-client for iMXRT1064 MCU utilizing Azure RTOS stack. We are planning to connect to a websockets server. If there is any available source/guidance, it would be really helpful.

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
326 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Haiqing Zhao 165 Reputation points Microsoft Employee
    2023-10-08T07:49:19.4133333+00:00

    Hi @GanesanGuru,

    The websocket client is already in Azure RTOS NetxDuo repository, and can be accessed through below link:

    https://github.com/azure-rtos/netxduo/tree/master/addons/websocket

    So far, in NetxDuo, the websocket client has been utilized by the mqtt client (access through https://github.com/azure-rtos/netxduo/blob/master/addons/mqtt/nxd_mqtt_client.c) in order to realize mqtt over websocket application. You may reference how the API functions of websocket client are called and used in mqtt client. Searching the macro "NXD_MQTT_OVER_WEBSOCKET" may bring some help.

    Best Regards,

    Haiqing Zhao