Skip to main content
Visitor II
January 20, 2021
Solved

websocket connection and transmit data from stm32f7 using LWIP

  • January 20, 2021
  • 4 replies
  • 5343 views

Hi

I am developing the project with STM32F746 (STMCUBE IDE)

sending the data to the server . want to use WEBSOCKET protocol to do this

Is there any Library with example for WEBSOCKET with LWIP in STM32

    This topic has been closed for replies.
    Best answer by Imen.D

    Hello @sunil​  and welcome to the STM32 Community :smiling_face_with_smiling_eyes:,

    Have a look to the LwIP example under STM32CubeF7 MCU package, that can help you as an implementation example: 

    STM32Cube_FW_F7_V1.16.0\Projects\STM32746G-Discovery\Applications\LwIP\LwIP_HTTP_Server_Netconn_RTOS

    For more details about LwIP, please refer to this UM1713 : “Developing applications on STM32Cube with LwIP TCP/IP stack�?.

    Imen

    4 replies

    Imen.DAnswer
    Technical Moderator
    January 29, 2021

    Hello @sunil​  and welcome to the STM32 Community :smiling_face_with_smiling_eyes:,

    Have a look to the LwIP example under STM32CubeF7 MCU package, that can help you as an implementation example: 

    STM32Cube_FW_F7_V1.16.0\Projects\STM32746G-Discovery\Applications\LwIP\LwIP_HTTP_Server_Netconn_RTOS

    For more details about LwIP, please refer to this UM1713 : “Developing applications on STM32Cube with LwIP TCP/IP stack�?.

    Imen

    sunilAuthor
    Visitor II
    February 6, 2021

    I found that problem in socket accept function

    see the attach picture

    it returns value newconn as -1 with listen(sock,5) and also listen(sock,8)

    sunilAuthor
    Visitor II
    February 6, 2021

    0693W000007ECgPQAW.png