Skip to content

WiFiS3 client connect timeout #148

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

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

JAndrassy
Copy link
Contributor

@JAndrassy JAndrassy commented Sep 24, 2023

The corresponding PR in firmware is arduino/uno-r4-wifi-usb-bridge#23

If connect timeout is not set on client, the library will use CONNECT commands which exist in older versions of the firmware.

There is no need to use extra command to connect with IP address. The connect with hostname uses hostByName which first attempts to convert the string to IP address. So to avoid duplicate code, this PR redirects connect with IP to connect with hostname.

The Modem bug fix PR #147 is need to see the effect of the timeout.

the checks will fail while the PR in firmware is not merged

overview of Client API in Arduino networking libraries:
https://github.com/JAndrassy/Arduino-Networking-API/blob/main/ArduinoNetAPILibs.md#client-getters-and-setters

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Sep 24, 2023
@arduino arduino deleted a comment from github-actions bot Dec 5, 2023
@JAndrassy JAndrassy force-pushed the wifis3_client_con_timeout branch from 8ce37f0 to bd2c159 Compare February 6, 2024 17:39
@JAndrassy
Copy link
Contributor Author

PR in firmware is merged but checks still fail because extras/uno-r4-wifi-usb-bridge links to release 0.3.0 tag

@pennam pennam merged commit 96457bc into arduino:main Feb 14, 2024
@JAndrassy JAndrassy deleted the wifis3_client_con_timeout branch February 14, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants