This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTTP fixes for cellular: timeout cannot be zero. (#1086)
Cellular modules return an error if an attempt is made to set the HTTP timeout to zero: AT+UHTTP=0,7,0 +CME ERROR: Operation not supported This is pointed out in the description of uCellHttpOpen() and does not occur if the intended pattern of assigning uHttpClientConnection_t to U_HTTP_CLIENT_CONNECTION_DEFAULT when calling pUHttpClientOpen() is followed. However that pattern is not documented in the description of pUHttpClientOpen() and uCellHttpOpen() allows the timeout to be set to zero, which it should not. Our thanks to jamal-mouline for highlighting this.
- Loading branch information