The controller now builds for the Waveshare ESP32-P4-Nano only (plus the linux sim and the desktop); the S3 stays for the USB/network bridge in bridge/. - radio-c6/: C6 firmware, esp-hosted plus ESP-NOW over peer data. The P4 loads it from the slave_fw partition when the C6 runs another version (c6_update.c) - bridge_hosted.c: the C6 as the always-on "c6" bridge, and the P4 as a network bridge on UDP 8766 for the desktop - Ethernet on the P4's EMAC, ES8311 mic; default address 192.168.50.20. The W5500, INMP441 and direct ESP-NOW code is gone - The simulated rig at /sim/ is built into the board image, with an always-on "browser" bridge. Its frames go through a queue so a slow page cannot hold up the radio, and frames for simulated bars are not sent over the C6. Receiver buffers are on the heap; a bar's flash file is only written when it changes - HTTP server: more handlers, sockets and stack for the rig - docs/P4_NANO.md, README and Makefile updated; graphify output Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 line
19 KiB
JSON
1 line
19 KiB
JSON
{"nodes": [{"id": "$graphify-root$_main_web_c", "label": "web.c", "file_type": "code", "source_file": "main/web.c", "source_location": "L1"}, {"id": "$graphify-root$_main_web_mime_for", "label": "mime_for()", "file_type": "code", "source_file": "main/web.c", "source_location": "L27", "_callable": true}, {"id": "$graphify-root$_main_web_find_file", "label": "find_file()", "file_type": "code", "source_file": "main/web.c", "source_location": "L44", "_callable": true}, {"id": "$graphify-root$_main_web_web_file", "label": "web_file()", "file_type": "code", "source_file": "main/web.c", "source_location": "L74", "_callable": true}, {"id": "$graphify-root$_main_web_web_each", "label": "web_each()", "file_type": "code", "source_file": "main/web.c", "source_location": "L79", "_callable": true}, {"id": "$graphify-root$_main_web_etag", "label": "etag()", "file_type": "code", "source_file": "main/web.c", "source_location": "L107", "_callable": true}, {"id": "$graphify-root$_main_web_send_gz", "label": "send_gz()", "file_type": "code", "source_file": "main/web.c", "source_location": "L121", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}, {"id": "$graphify-root$_main_web_web_send_page", "label": "web_send_page()", "file_type": "code", "source_file": "main/web.c", "source_location": "L143", "_callable": true}, {"id": "$graphify-root$_main_web_index_handler", "label": "index_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L148", "_callable": true}, {"id": "$graphify-root$_main_web_audio_page_handler", "label": "audio_page_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L153", "_callable": true}, {"id": "$graphify-root$_main_web_static_handler", "label": "static_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L158", "_callable": true}, {"id": "$graphify-root$_main_web_favicon_handler", "label": "favicon_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L171", "_callable": true}, {"id": "$graphify-root$_main_web_no_sim_handler", "label": "no_sim_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L180", "_callable": true}, {"id": "$graphify-root$_main_web_web_register", "label": "web_register()", "file_type": "code", "source_file": "main/web.c", "source_location": "L187", "_callable": true}, {"id": "httpd_handle_t", "label": "httpd_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}], "edges": [{"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L1", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L2", "weight": 1.0, "target_file": "$graphify-root$/main/web.h"}, {"source": "$graphify-root$_main_web_c", "target": "stddef", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "stdint", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "esp_app_desc", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_app_desc.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_web_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_mime_for", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L27", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_find_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L44", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_web_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L74", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_web_each", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L79", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_etag", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L107", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_send_gz", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L121", "weight": 1.0}, {"source": "$graphify-root$_main_web_send_gz", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L121", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_send_gz", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L121", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_web_send_page", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L143", "weight": 1.0}, {"source": "$graphify-root$_main_web_web_send_page", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L143", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_web_send_page", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L143", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_index_handler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L148", "weight": 1.0}, {"source": "$graphify-root$_main_web_index_handler", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L148", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_index_handler", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L148", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_audio_page_handler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L153", "weight": 1.0}, {"source": "$graphify-root$_main_web_audio_page_handler", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L153", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_audio_page_handler", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L153", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_static_handler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L158", "weight": 1.0}, {"source": "$graphify-root$_main_web_static_handler", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L158", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_static_handler", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L158", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_favicon_handler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L171", "weight": 1.0}, {"source": "$graphify-root$_main_web_favicon_handler", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L171", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_favicon_handler", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L171", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_no_sim_handler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L180", "weight": 1.0}, {"source": "$graphify-root$_main_web_no_sim_handler", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L180", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_no_sim_handler", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L180", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_web_register", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L187", "weight": 1.0}, {"source": "$graphify-root$_main_web_web_register", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L187", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_web_web_register", "target": "httpd_handle_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L187", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_web_web_file", "target": "$graphify-root$_main_web_find_file", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L76", "weight": 1.0}, {"source": "$graphify-root$_main_web_send_gz", "target": "$graphify-root$_main_web_find_file", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L128", "weight": 1.0}, {"source": "$graphify-root$_main_web_send_gz", "target": "$graphify-root$_main_web_etag", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L132", "weight": 1.0}, {"source": "$graphify-root$_main_web_send_gz", "target": "$graphify-root$_main_web_mime_for", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L138", "weight": 1.0}, {"source": "$graphify-root$_main_web_web_send_page", "target": "$graphify-root$_main_web_send_gz", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L145", "weight": 1.0}, {"source": "$graphify-root$_main_web_index_handler", "target": "$graphify-root$_main_web_send_gz", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L150", "weight": 1.0}, {"source": "$graphify-root$_main_web_audio_page_handler", "target": "$graphify-root$_main_web_send_gz", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L155", "weight": 1.0}, {"source": "$graphify-root$_main_web_static_handler", "target": "$graphify-root$_main_web_send_gz", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L168", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_main_web_mime_for", "callee": "strrchr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L29", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_mime_for", "callee": "strcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L31", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_find_file", "callee": "memcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L47", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_find_file", "callee": "strlen", "is_member_call": false, "source_file": "main/web.c", "source_location": "L51", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_find_file", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L54", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_find_file", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L59", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_find_file", "callee": "memcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L64", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "memcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L82", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "strlen", "is_member_call": false, "source_file": "main/web.c", "source_location": "L85", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L89", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L90", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "memcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L95", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L96", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_each", "callee": "fn", "is_member_call": false, "source_file": "main/web.c", "source_location": "L98", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_etag", "callee": "snprintf", "is_member_call": false, "source_file": "main/web.c", "source_location": "L115", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "strstr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L125", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_send_err", "is_member_call": false, "source_file": "main/web.c", "source_location": "L126", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_send_404", "is_member_call": false, "source_file": "main/web.c", "source_location": "L129", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_set_hdr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L131", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_set_hdr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L132", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_req_get_hdr_value_str", "is_member_call": false, "source_file": "main/web.c", "source_location": "L134", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "strcmp", "is_member_call": false, "source_file": "main/web.c", "source_location": "L134", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_set_status", "is_member_call": false, "source_file": "main/web.c", "source_location": "L135", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_send", "is_member_call": false, "source_file": "main/web.c", "source_location": "L136", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_set_type", "is_member_call": false, "source_file": "main/web.c", "source_location": "L138", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_set_hdr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L139", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_send_gz", "callee": "httpd_resp_send", "is_member_call": false, "source_file": "main/web.c", "source_location": "L140", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_static_handler", "callee": "strcspn", "is_member_call": false, "source_file": "main/web.c", "source_location": "L162", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_static_handler", "callee": "httpd_resp_send_err", "is_member_call": false, "source_file": "main/web.c", "source_location": "L164", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_static_handler", "callee": "memcpy", "is_member_call": false, "source_file": "main/web.c", "source_location": "L166", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_favicon_handler", "callee": "httpd_resp_set_status", "is_member_call": false, "source_file": "main/web.c", "source_location": "L173", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_favicon_handler", "callee": "httpd_resp_send", "is_member_call": false, "source_file": "main/web.c", "source_location": "L174", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_no_sim_handler", "callee": "httpd_resp_set_type", "is_member_call": false, "source_file": "main/web.c", "source_location": "L182", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_no_sim_handler", "callee": "httpd_resp_sendstr", "is_member_call": false, "source_file": "main/web.c", "source_location": "L183", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_register", "callee": "auth_register_uri", "is_member_call": false, "source_file": "main/web.c", "source_location": "L199", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_register", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "main/web.c", "source_location": "L201", "receiver": null}, {"caller_nid": "$graphify-root$_main_web_web_register", "callee": "esp_err_to_name", "is_member_call": false, "source_file": "main/web.c", "source_location": "L201", "receiver": null}], "parse_errors": {"first_error_line": 190, "multiline_error": false}, "_cached_target_files": ["$graphify-root$/main/auth.h", "$graphify-root$/main/web.h"]} |