SWUpdate library to be used with RPC.
Fork of SWUpdate by
Diff: SWUpdate.h
- Revision:
- 24:e400edb8d2ee
- Parent:
- 20:cf73b0d75bb7
- Child:
- 26:f2bb6061dcb3
--- a/SWUpdate.h Thu Jun 01 11:35:49 2017 +0000 +++ b/SWUpdate.h Fri Nov 10 12:32:04 2017 +0000 @@ -232,5 +232,11 @@ /// HTTPResult SoftwareUpdateGetHTTPErrorCode(void); +/// Get the error message from a return code +/// +/// @param[in] r is the result code to translate into a message +/// @returns a pointer to a text string of the message +/// +const char * SoftwareUpdateGetHTTPErrorMsg(HTTPResult r); #endif // SWUPDATE_H