Files
led-controller/graphify-out/cache/ast/v0.9.101-s36-g1339418af9f9/a23c0c87abe8302429b2aea8849d49e4dc00f6d52dc798b38e6c93dda8569727.json
T
jimmyandClaude Opus 5.5 581b751904 feat: browser simulator served by the controller, desktop build, browser bridge
- 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>
2026-11-16 19:32:46 +13:00

1 line
14 KiB
JSON

{"nodes": [{"id": "$graphify-root$_bridge_main_bridge_eth_c", "label": "bridge_eth.c", "file_type": "code", "source_file": "bridge/main/bridge_eth.c", "source_location": "L1"}, {"id": "$graphify-root$_bridge_main_bridge_eth_on_got_ip", "label": "on_got_ip()", "file_type": "code", "source_file": "bridge/main/bridge_eth.c", "source_location": "L19", "_callable": true}, {"id": "esp_event_base_t", "label": "esp_event_base_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bridge/main/bridge_eth.c"}, {"id": "$graphify-root$_bridge_main_bridge_eth_on_eth_down", "label": "on_eth_down()", "file_type": "code", "source_file": "bridge/main/bridge_eth.c", "source_location": "L34", "_callable": true}, {"id": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_up", "label": "bridge_eth_up()", "file_type": "code", "source_file": "bridge/main/bridge_eth.c", "source_location": "L43", "_callable": true}, {"id": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_ip", "label": "bridge_eth_ip()", "file_type": "code", "source_file": "bridge/main/bridge_eth.c", "source_location": "L48", "_callable": true}, {"id": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "label": "bridge_eth_start()", "file_type": "code", "source_file": "bridge/main/bridge_eth.c", "source_location": "L57", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bridge/main/bridge_eth.c"}], "edges": [{"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "$graphify-root$_bridge_main_bridge_eth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L1", "weight": 1.0, "target_file": "$graphify-root$/bridge/main/bridge_eth.h"}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "gpio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L4", "weight": 1.0, "metadata": {"raw_include": "driver/gpio.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "spi_master", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L5", "weight": 1.0, "metadata": {"raw_include": "driver/spi_master.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "esp_eth", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "esp_eth.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "esp_eth_mac_w5500", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "esp_eth_mac_w5500.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "esp_eth_phy_w5500", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_eth_phy_w5500.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "esp_event", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "esp_event.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "esp_mac", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "esp_mac.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "esp_netif", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "esp_netif.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "sdkconfig", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L13", "weight": 1.0, "metadata": {"raw_include": "sdkconfig.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "$graphify-root$_bridge_main_bridge_eth_on_got_ip", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L19", "weight": 1.0}, {"source": "$graphify-root$_bridge_main_bridge_eth_on_got_ip", "target": "esp_event_base_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L19", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "$graphify-root$_bridge_main_bridge_eth_on_eth_down", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L34", "weight": 1.0}, {"source": "$graphify-root$_bridge_main_bridge_eth_on_eth_down", "target": "esp_event_base_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L34", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_up", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L43", "weight": 1.0}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_ip", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L48", "weight": 1.0}, {"source": "$graphify-root$_bridge_main_bridge_eth_c", "target": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L57", "weight": 1.0}, {"source": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "bridge/main/bridge_eth.c", "source_location": "L57", "weight": 1.0, "context": "return_type"}], "raw_calls": [{"caller_nid": "$graphify-root$_bridge_main_bridge_eth_on_got_ip", "callee": "esp_ip4_addr1_16", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L27", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_on_got_ip", "callee": "esp_ip4_addr2_16", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L28", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_on_got_ip", "callee": "esp_ip4_addr3_16", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L29", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_on_got_ip", "callee": "esp_ip4_addr4_16", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L30", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_on_got_ip", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L31", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_on_got_ip", "callee": "IP2STR", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L31", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_on_got_ip", "callee": "IP2STR", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L31", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_ip", "callee": "memcpy", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L53", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "gpio_install_isr_service", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L60", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L62", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_err_to_name", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L62", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "spi_bus_initialize", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L73", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L74", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ETH_W5500_DEFAULT_CONFIG", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L83", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ETH_MAC_DEFAULT_CONFIG", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L88", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ETH_PHY_DEFAULT_CONFIG", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L89", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_eth_mac_new_w5500", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L91", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_eth_phy_new_w5500", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L92", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L94", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ETH_DEFAULT_CONFIG", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L97", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_eth_driver_install", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L99", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L100", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "spi_bus_free", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L101", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_read_mac", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L106", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_eth_ioctl", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L107", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ESP_NETIF_DEFAULT_ETH", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L109", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_netif_new", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L110", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_netif_attach", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L111", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_eth_new_netif_glue", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L111", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L112", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_event_handler_register", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L115", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_event_handler_register", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L116", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "esp_eth_start", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L117", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L118", "receiver": null}, {"caller_nid": "$graphify-root$_bridge_main_bridge_eth_bridge_eth_start", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "bridge/main/bridge_eth.c", "source_location": "L121", "receiver": null}], "_cached_target_files": ["$graphify-root$/bridge/main/bridge_eth.h"]}