bool populateJobDocFields( const char * jobDoc,
const size_t jobDocLength,
int32_t fileIndex,
struct containing the fields of an AFR OTA Job Document
Definition: job_parser.h:23
Populate the fields of 'result', returning true if successful.
- Parameters
-
jobDoc | FreeRTOS OTA job document |
jobDocLength | OTA job document length |
fileIndex | The index of the file to use properties of |
result | Job document structure to populate |
- Returns
- true Job document fields were parsed from the document
-
false Job document fields were not parsed from the document