- led-simulator: the rig runs the C++ led-driver as WebAssembly (sim-driver/), one single-threaded worker per bar, no cross-origin isolation needed. Rooms (one JSON per room) with an on-page editor, and a pattern gallery. The Python server, Pyodide boot and ring buffer are removed. - sim-controller sim_rig.c: serves /sim/ from an embedded pack, the page's WebSocket and the rooms/flash API. The desktop build embeds it too. - bridge.c: a "browser" bridge kind that carries ESP-NOW frames to the page; devices announced through it are marked sim. - UI: Simulator in the Menu, split view with resize and pop-out, swipe between controller and rig on phones; SIM/REAL badges in Devices. - Fades: preset pushes and Wi-Fi driver bodies always carry fade and beat_time, so "off" no longer inherits an earlier fade. - Also the sequences-v2 work in progress: desktop port, bridge firmware, serial bridge, Wi-Fi drivers, sequence timeline, audio and API changes. - led-driver: ESP-NOW link, beat sync, control messages, sim hooks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 line
21 KiB
JSON
1 line
21 KiB
JSON
{"nodes": [{"id": "$graphify-root$_led_driver_main_settings_cpp", "label": "settings.cpp", "file_type": "code", "source_file": "led-driver/main/settings.cpp", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_main_settings_settings_load_wifi", "label": "settings_load_wifi()", "file_type": "code", "source_file": "led-driver/main/settings.cpp", "source_location": "L11", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/settings.cpp"}, {"id": "wifi_creds_t", "label": "wifi_creds_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/settings.cpp"}, {"id": "$graphify-root$_led_driver_main_settings_settings_save_wifi", "label": "settings_save_wifi()", "file_type": "code", "source_file": "led-driver/main/settings.cpp", "source_location": "L32", "_callable": true}, {"id": "$graphify-root$_led_driver_main_settings_settings_load_hw", "label": "settings_load_hw()", "file_type": "code", "source_file": "led-driver/main/settings.cpp", "source_location": "L46", "_callable": true}, {"id": "hw_cfg_t", "label": "hw_cfg_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/settings.cpp"}, {"id": "$graphify-root$_led_driver_main_settings_settings_save_hw", "label": "settings_save_hw()", "file_type": "code", "source_file": "led-driver/main/settings.cpp", "source_location": "L83", "_callable": true}, {"id": "$graphify-root$_led_driver_main_settings_get_str", "label": "get_str()", "file_type": "code", "source_file": "led-driver/main/settings.cpp", "source_location": "L102", "_callable": true}, {"id": "nvs_handle_t", "label": "nvs_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/settings.cpp"}, {"id": "$graphify-root$_led_driver_main_settings_settings_load_net", "label": "settings_load_net()", "file_type": "code", "source_file": "led-driver/main/settings.cpp", "source_location": "L111", "_callable": true}, {"id": "net_cfg_t", "label": "net_cfg_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/settings.cpp"}, {"id": "$graphify-root$_led_driver_main_settings_settings_save_net", "label": "settings_save_net()", "file_type": "code", "source_file": "led-driver/main/settings.cpp", "source_location": "L154", "_callable": true}], "edges": [{"source": "$graphify-root$_led_driver_main_settings_cpp", "target": "cstring", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_settings_cpp", "target": "nvs", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "nvs.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_settings_cpp", "target": "$graphify-root$_led_driver_main_settings_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L7", "weight": 1.0, "target_file": "$graphify-root$/led-driver/main/settings.h"}, {"source": "$graphify-root$_led_driver_main_settings_cpp", "target": "$graphify-root$_led_driver_main_settings_settings_load_wifi", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_settings_settings_load_wifi", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L11", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_led_driver_main_settings_settings_load_wifi", "target": "wifi_creds_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L11", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_led_driver_main_settings_cpp", "target": "$graphify-root$_led_driver_main_settings_settings_save_wifi", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L32", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_settings_settings_save_wifi", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L32", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_led_driver_main_settings_settings_save_wifi", "target": "wifi_creds_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L32", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_led_driver_main_settings_cpp", "target": "$graphify-root$_led_driver_main_settings_settings_load_hw", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L46", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_settings_settings_load_hw", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L46", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_led_driver_main_settings_settings_load_hw", "target": "hw_cfg_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L46", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_led_driver_main_settings_cpp", "target": "$graphify-root$_led_driver_main_settings_settings_save_hw", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L83", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_settings_settings_save_hw", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L83", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_led_driver_main_settings_settings_save_hw", "target": "hw_cfg_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L83", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_led_driver_main_settings_cpp", "target": "$graphify-root$_led_driver_main_settings_get_str", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L102", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_settings_get_str", "target": "nvs_handle_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L102", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_led_driver_main_settings_cpp", "target": "$graphify-root$_led_driver_main_settings_settings_load_net", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L111", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_settings_settings_load_net", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L111", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_led_driver_main_settings_settings_load_net", "target": "net_cfg_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L111", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_led_driver_main_settings_cpp", "target": "$graphify-root$_led_driver_main_settings_settings_save_net", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L154", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_settings_settings_save_net", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L154", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_led_driver_main_settings_settings_save_net", "target": "net_cfg_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L154", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_led_driver_main_settings_settings_load_net", "target": "$graphify-root$_led_driver_main_settings_get_str", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/main/settings.cpp", "source_location": "L128", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_wifi", "callee": "nvs_open", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L14", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_wifi", "callee": "nvs_get_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L19", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_wifi", "callee": "nvs_get_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L22", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_wifi", "callee": "nvs_close", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L28", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_wifi", "callee": "nvs_open", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L35", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_wifi", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L39", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_wifi", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L40", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_wifi", "callee": "nvs_commit", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L41", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_wifi", "callee": "nvs_close", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L42", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_hw", "callee": "strncpy", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L48", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_hw", "callee": "nvs_open", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L55", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_hw", "callee": "nvs_get_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L59", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_hw", "callee": "strncpy", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L60", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_hw", "callee": "nvs_get_u8", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L63", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_hw", "callee": "nvs_get_i32", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L67", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_hw", "callee": "nvs_get_i32", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L70", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_hw", "callee": "nvs_get_u8", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L73", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_hw", "callee": "nvs_get_u8", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L76", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_hw", "callee": "nvs_close", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L79", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_hw", "callee": "nvs_open", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L86", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_hw", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L90", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_hw", "callee": "nvs_set_u8", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L91", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_hw", "callee": "nvs_set_i32", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L92", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_hw", "callee": "nvs_set_i32", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L93", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_hw", "callee": "nvs_set_u8", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L94", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_hw", "callee": "nvs_set_u8", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L95", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_hw", "callee": "nvs_commit", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L96", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_hw", "callee": "nvs_close", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L97", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_get_str", "callee": "nvs_get_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L105", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_get_str", "callee": "strncpy", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L106", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_net", "callee": "memset", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L113", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_net", "callee": "nvs_open", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L119", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_net", "callee": "strncpy", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L122", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_net", "callee": "strcmp", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L131", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_net", "callee": "strcmp", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L138", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_net", "callee": "strcmp", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L143", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_net", "callee": "strcmp", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L146", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_net", "callee": "nvs_get_i64", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L148", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_load_net", "callee": "nvs_close", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L150", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_open", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L157", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L161", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L162", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L163", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L164", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L165", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L166", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L167", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L168", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L169", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L170", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_str", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L171", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_set_i64", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L172", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_commit", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L173", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_settings_settings_save_net", "callee": "nvs_close", "is_member_call": false, "source_file": "led-driver/main/settings.cpp", "source_location": "L174", "receiver": null, "lang": "cpp"}], "_cached_target_files": ["$graphify-root$/led-driver/main/settings.h"]} |