- 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
13 KiB
JSON
1 line
13 KiB
JSON
{"nodes": [{"id": "$graphify-root$_main_bridge_c", "label": "bridge.c", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L1"}, {"id": "$graphify-root$_main_bridge_rx_task", "label": "rx_task()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L24", "_callable": true}, {"id": "$graphify-root$_main_bridge_is_serial_addr", "label": "is_serial_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L40", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_start", "label": "bridge_start()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L45", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge.c"}, {"id": "bridge_rx_cb_t", "label": "bridge_rx_cb_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge.c"}, {"id": "$graphify-root$_main_bridge_bridge_active", "label": "bridge_active()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L99", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_addr", "label": "bridge_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L104", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_status_json", "label": "bridge_status_json()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L109", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_send", "label": "bridge_send()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L119", "_callable": true}], "edges": [{"source": "$graphify-root$_main_bridge_c", "target": "$graphify-root$_main_bridge_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L1", "weight": 1.0, "target_file": "$graphify-root$/main/bridge.h"}, {"source": "$graphify-root$_main_bridge_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_c", "target": "stdlib", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_c", "target": "freertos", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "freertos/FreeRTOS.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_c", "target": "task", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "freertos/task.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_c", "target": "netdb", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "lwip/netdb.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_c", "target": "sockets", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "lwip/sockets.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_c", "target": "sdkconfig", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "sdkconfig.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_c", "target": "$graphify-root$_main_bridge_serial_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L13", "weight": 1.0, "target_file": "$graphify-root$/main/bridge_serial.h"}, {"source": "$graphify-root$_main_bridge_c", "target": "$graphify-root$_main_bridge_rx_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L24", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_c", "target": "$graphify-root$_main_bridge_is_serial_addr", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L40", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_c", "target": "$graphify-root$_main_bridge_bridge_start", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L45", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_bridge_start", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L45", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_bridge_bridge_start", "target": "bridge_rx_cb_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L45", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_bridge_c", "target": "$graphify-root$_main_bridge_bridge_active", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L99", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_c", "target": "$graphify-root$_main_bridge_bridge_addr", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L104", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_c", "target": "$graphify-root$_main_bridge_bridge_status_json", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L109", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_c", "target": "$graphify-root$_main_bridge_bridge_send", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L119", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_bridge_send", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L119", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_bridge_bridge_start", "target": "$graphify-root$_main_bridge_is_serial_addr", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L51", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_bridge_addr", "target": "$graphify-root$_main_bridge_bridge_active", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/bridge.c", "source_location": "L106", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_main_bridge_rx_task", "callee": "recv", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L29", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_rx_task", "callee": "vTaskDelay", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L31", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_rx_task", "callee": "pdMS_TO_TICKS", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L31", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_rx_task", "callee": "s_cb", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L35", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_is_serial_addr", "callee": "strncmp", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L42", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_is_serial_addr", "callee": "strncmp", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L42", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "strncmp", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L52", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "bridge_serial_start", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L53", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "snprintf", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L56", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "snprintf", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L63", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "strrchr", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L64", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "atoi", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L67", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L70", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "getaddrinfo", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L74", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L75", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "memcpy", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L78", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "freeaddrinfo", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L79", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "htons", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L80", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "socket", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L82", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "connect", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L87", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "close", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L88", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "snprintf", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L93", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "xTaskCreate", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L94", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_start", "callee": "ESP_LOGW", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L95", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_status_json", "callee": "bridge_serial_status", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L113", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_status_json", "callee": "snprintf", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L116", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_send", "callee": "bridge_serial_send", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L123", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_send", "callee": "memcpy", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L130", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_send", "callee": "memcpy", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L131", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_bridge_send", "callee": "send", "is_member_call": false, "source_file": "main/bridge.c", "source_location": "L133", "receiver": null}], "_cached_target_files": ["$graphify-root$/main/bridge.h", "$graphify-root$/main/bridge_serial.h"]} |