Improve error code description for some cyw43 connection methods #2586

Merged
peterharperuk merged 2 commits from connection_doc_fix into develop 2025-07-23 09:11:18 -05:00
peterharperuk commented 2025-07-23 06:36:23 -05:00 (Migrated from github.com)

Fixes #2564

Fixes #2564
lurch (Migrated from github.com) reviewed 2025-07-23 07:28:40 -05:00
@ -427,7 +431,10 @@ int cyw43_arch_wifi_connect_bssid_blocking(const char *ssid, const uint8_t *bssi
* \ref CYW43_AUTH_WPA2_AES_PSK, or \ref CYW43_AUTH_WPA2_MIXED_PSK (see \ref CYW43_AUTH_)
lurch (Migrated from github.com) commented 2025-07-23 07:28:39 -05:00
 * \return 0 if the connection is successful.
 * PICO_ERROR_TIMEOUT is returned if the timeout is reached before a successful connection.

For consistency with the way you list the other errors.

```suggestion * \return 0 if the connection is successful. * PICO_ERROR_TIMEOUT is returned if the timeout is reached before a successful connection. ``` For consistency with the way you list the other errors.
lurch (Migrated from github.com) reviewed 2025-07-23 07:29:00 -05:00
lurch (Migrated from github.com) commented 2025-07-23 07:29:00 -05:00
 * \return 0 if the connection is successful.
 * PICO_ERROR_TIMEOUT is returned if the timeout is reached before a successful connection.
```suggestion * \return 0 if the connection is successful. * PICO_ERROR_TIMEOUT is returned if the timeout is reached before a successful connection. ```
lurch (Migrated from github.com) approved these changes 2025-07-23 07:59:05 -05:00
kilograham (Migrated from github.com) approved these changes 2025-07-23 09:10:59 -05:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!2586
No description provided.