Home
last modified time | relevance | path

Searched refs:json (Results 1 – 22 of 22) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/utils/
Djson.h36 void json_free(struct json_token *json);
37 struct json_token * json_get_member(struct json_token *json, const char *name);
38 struct wpabuf * json_get_member_base64url(struct json_token *json,
41 void json_add_int(struct wpabuf *json, const char *name, int val);
42 void json_add_string(struct wpabuf *json, const char *name, const char *val);
43 int json_add_string_escape(struct wpabuf *json, const char *name,
45 int json_add_base64url(struct wpabuf *json, const char *name, const void *val,
47 void json_start_object(struct wpabuf *json, const char *name);
48 void json_end_object(struct wpabuf *json);
49 void json_start_array(struct wpabuf *json, const char *name);
[all …]
Djson.c481 void json_free(struct json_token *json) in json_free() argument
483 if (!json) in json_free()
485 json_free(json->child); in json_free()
486 json_free(json->sibling); in json_free()
487 os_free(json->name); in json_free()
488 os_free(json->string); in json_free()
489 os_free(json); in json_free()
493 struct json_token * json_get_member(struct json_token *json, const char *name) in json_get_member() argument
497 if (!json || json->type != JSON_OBJECT) in json_get_member()
500 for (token = json->child; token; token = token->sibling) { in json_get_member()
[all …]
/hal_espressif-latest/tools/esptool_py/flasher_stub/
Dwrap_stub.py11 import json
66 class BytesEncoder(json.JSONEncoder):
70 return json.JSONEncoder.default(self, obj)
74 json.dump(stub_data, outfile, cls=BytesEncoder, indent=4)
DMakefile104 all: $(STUBS_ELF:.elf=.json)
106 install: $(patsubst $(BUILD_DIR)/%.elf,$(ESPTOOL_STUBS_DIR)/%.json,$(STUBS_ELF))
111 $(BUILD_DIR)/%.json: $(BUILD_DIR)/%.elf
115 $(ESPTOOL_STUBS_DIR)/%.json: $(BUILD_DIR)/%.json
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/
Dsummary-cmd.rst6 The ``espefuse.py summary`` command reads the eFuses from the chip and outputs them in text or json
12 - ``json`` - json format. Usage ``--format json``.
14 - ``--file`` - File to save the efuse summary. Usage ``--file efuses.json``.
55 The json representation of eFuses for the ESP32 chip is shown below.
59 > espefuse.py summary --format json
110 > espefuse.py summary --format json --file efuses.json
118 Saving efuse values to efuses.json
Dexecute-scripts-cmd.rst78 …to get the unique data for each chip from the ``configfiles`` (* .txt, * .json, etc.). The espefus…
82 … efuse_script2.py --do-not-confirm --index {index} --configfiles mac_addresses.json unique_id.json
90 mac_addresses = json.load(args.configfiles[0])
91 unique_id = json.load(args.configfiles[1])
/hal_espressif-latest/tools/esptool_py/test/efuse_scripts/
Defuse_burn1.py6 import json
8 config = json.load(args.configfiles[0])
Defuse_burn2.py6 import json
8 config = json.load(args.configfiles[0])
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dweb_socket_client.py15 import json
82 self.ws.send(json.dumps(payload_dict))
103 obj = json.loads(r)
/hal_espressif-latest/tools/esptool_py/test/
Dtest_uf2_ids.py1 import json
25 uf2_families_json = json.loads(res.content)
Dtest_espefuse.py1888 --configfiles {EFUSE_S_DIR}/esp32/config1.json"
1891 --configfiles {EFUSE_S_DIR}/esp32xx/config1.json"
1909 --configfiles {EFUSE_S_DIR}/esp32/config2.json"
1912 --configfiles {EFUSE_S_DIR}/esp32xx/config2.json"
/hal_espressif-latest/components/wpa_supplicant/src/common/
Ddpp.c1655 const char *json) in dpp_build_conf_req_attr() argument
1671 json_len = os_strlen(json); in dpp_build_conf_req_attr()
1672 wpa_hexdump_ascii(MSG_DEBUG, "DPP: configRequest JSON", (u8 *)json, json_len); in dpp_build_conf_req_attr()
1720 wpabuf_put_data(clear, json, json_len); in dpp_build_conf_req_attr()
1782 const char *json) in dpp_build_conf_req() argument
1786 conf_req = dpp_build_conf_req_attr(auth, json); in dpp_build_conf_req()
1816 struct wpabuf *buf, *json; in dpp_build_conf_req_helper() local
1833 json = wpabuf_alloc(len); in dpp_build_conf_req_helper()
1834 if (!json) in dpp_build_conf_req_helper()
1837 json_start_object(json, NULL); in dpp_build_conf_req_helper()
[all …]
Ddpp.h464 const char *json);
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/
Dbase_operations.py9 import json
387 json.dump(json_efuse, args.file, sort_keys=True, indent=4)
/hal_espressif-latest/components/wpa_supplicant/
DCMakeLists.txt65 "src/utils/json.c"
/hal_espressif-latest/tools/esptool_py/esptool/
Dloader.py9 import json
160 stub = json.load(json_file)
/hal_espressif-latest/zephyr/esp32/
DCMakeLists.txt480 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/utils/json.c"
/hal_espressif-latest/zephyr/esp32c2/
DCMakeLists.txt438 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/utils/json.c"
/hal_espressif-latest/zephyr/esp32s2/
DCMakeLists.txt441 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/utils/json.c"
/hal_espressif-latest/zephyr/esp32c3/
DCMakeLists.txt493 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/utils/json.c"
/hal_espressif-latest/zephyr/esp32c6/
DCMakeLists.txt446 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/utils/json.c"
/hal_espressif-latest/zephyr/esp32s3/
DCMakeLists.txt510 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/utils/json.c"