Home
last modified time | relevance | path

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

/AliOS-Things-master/components/linkkit/ota/
A Dota_lib.c7 const char *otalib_JsonValueOf(const char *json, uint32_t json_len, in otalib_JsonValueOf() argument
12 val = json_get_value_by_name((char *)json, json_len, (char *)key, &length, in otalib_JsonValueOf()
146 int otalib_GetParams(const char *json_doc, uint32_t json_len, char **url, in otalib_GetParams() argument
154 otalib_GetFirmwareVarlenPara(json_doc, json_len, "version", version)) { in otalib_GetParams()
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()
217 if (0 != otalib_GetFirmwareVarlenPara(json_doc, json_len, "signMethod", in otalib_GetConfigParams()
[all …]
A Diotx_ota_internal.h93 const char *otalib_JsonValueOf(const char *json, uint32_t json_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 3 milliseconds