Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

es_wifi: fix start client connection for UDP sockets #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joelguittet
Copy link

@joelguittet joelguittet commented Aug 5, 2024

This pull-request fixes an issue with the ES_WIFI_StartClientConnection function when using UDP socket: commands P3 and P4 (respectively to set remote IP address and port) must be executed not only for TCP/SSL connection. Indeed, while trying to open an UDP socket, we have to set the UDP server address and port!!

Reference documentation from Inventek at https://www.inventeksys.com/iwin/wp-content/uploads/IWIN_Command_Set_Users_Manual.pdf does not limit executing P3 and P4 commands to TCP/SSL.

Implementation from getting-started example from Azure RTOS also made this modification. See https://github.com/eclipse-threadx/getting-started/blob/37ff82f757070f3fa5364acb1ac06fcc7a5b9d38/STMicroelectronics/B-L475E-IOT01A/lib/netx_driver/inventek/es_wifi.c#L1635.

@ALABSTM ALABSTM requested review from RJMSTM and removed request for RJMSTM August 7, 2024 11:24
@ALABSTM ALABSTM added bug Something isn't working projects Projects-related (demos, applications, examples) issue or pull-request. wifi WiFi-related issue or pull-request labels Aug 7, 2024
@RJMSTM
Copy link
Contributor

RJMSTM commented Aug 9, 2024

ST Internal Reference: 188471

@RJMSTM RJMSTM added the internal bug tracker Issue confirmed and reported into a ticket in the internal bug tracking system label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working internal bug tracker Issue confirmed and reported into a ticket in the internal bug tracking system projects Projects-related (demos, applications, examples) issue or pull-request. wifi WiFi-related issue or pull-request
Projects
Development

Successfully merging this pull request may close these issues.

3 participants