Home
last modified time | relevance | path

Searched refs:json_doc (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/linkkit/ota/
A Dota_lib.c98 int otalib_GetFirmwareFixlenPara(const char *json_doc, size_t json_doc_len, in otalib_GetFirmwareFixlenPara() argument
104 pvalue = otalib_JsonValueOf(json_doc, json_doc_len, key, &val_len); in otalib_GetFirmwareFixlenPara()
122 int otalib_GetFirmwareVarlenPara(const char *json_doc, size_t json_doc_len, in otalib_GetFirmwareVarlenPara() argument
128 pvalue = otalib_JsonValueOf(json_doc, json_doc_len, key, &val_len); in otalib_GetFirmwareVarlenPara()
146 int otalib_GetParams(const char *json_doc, uint32_t json_len, char **url, in otalib_GetParams() argument
160 if (0 != otalib_GetFirmwareVarlenPara(json_doc, json_len, "url", url)) { in otalib_GetParams()
172 if (0 != otalib_GetFirmwareFixlenPara(json_doc, json_len, "size", in otalib_GetParams()
186 int otalib_GetConfigParams(const char *json_doc, uint32_t json_len, in otalib_GetConfigParams() argument
194 if (0 != otalib_GetFirmwareVarlenPara(json_doc, json_len, "configId", in otalib_GetConfigParams()
201 if (0 != otalib_GetFirmwareFixlenPara(json_doc, json_len, "configSize", in otalib_GetConfigParams()
[all …]
A Diotx_ota_internal.h103 int otalib_GetFirmwareFixlenPara(const char *json_doc, size_t json_doc_len,
105 int otalib_GetFirmwareVarlenPara(const char *json_doc, size_t json_doc_len,
107 int otalib_GetParams(const char *json_doc, uint32_t json_len, char **url,
109 int otalib_GetConfigParams(const char *json_doc, uint32_t json_len,

Completed in 4 milliseconds