Files
led-controller/graphify-out/cache/ast/v0.9.101-s36-g1339418af9f9/334defa109b2ed4aab1ce3112f2e8ff6a09cff3825cbf552c9ac96aac686f55b.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
13 KiB
JSON

{"nodes": [{"id": "$graphify-root$_led_driver_main_ddp_cpp", "label": "ddp.cpp", "file_type": "code", "source_file": "led-driver/main/ddp.cpp", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_main_ddp_ddp_set_enabled", "label": "ddp_set_enabled()", "file_type": "code", "source_file": "led-driver/main/ddp.cpp", "source_location": "L18", "_callable": true}, {"id": "$graphify-root$_led_driver_main_ddp_be32", "label": "be32()", "file_type": "code", "source_file": "led-driver/main/ddp.cpp", "source_location": "L30", "_callable": true}, {"id": "$graphify-root$_led_driver_main_ddp_be16", "label": "be16()", "file_type": "code", "source_file": "led-driver/main/ddp.cpp", "source_location": "L35", "_callable": true}, {"id": "$graphify-root$_led_driver_main_ddp_ddp_task", "label": "ddp_task()", "file_type": "code", "source_file": "led-driver/main/ddp.cpp", "source_location": "L40", "_callable": true}, {"id": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "label": "ddp_sync_task()", "file_type": "code", "source_file": "led-driver/main/ddp.cpp", "source_location": "L103", "_callable": true}, {"id": "$graphify-root$_led_driver_main_ddp_ddp_start", "label": "ddp_start()", "file_type": "code", "source_file": "led-driver/main/ddp.cpp", "source_location": "L134", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/ddp.cpp"}], "edges": [{"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "cstring", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "$graphify-root$_led_driver_main_ddp_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L6", "weight": 1.0, "target_file": "$graphify-root$/led-driver/main/ddp.h"}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "freertos", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "freertos/FreeRTOS.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "task", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "freertos/task.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "sockets", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "lwip/sockets.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "$graphify-root$_led_driver_main_patterns_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L11", "weight": 1.0, "target_file": "$graphify-root$/led-driver/main/patterns.h"}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "$graphify-root$_led_driver_main_settings_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L12", "weight": 1.0, "target_file": "$graphify-root$/led-driver/main/settings.h"}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "$graphify-root$_led_driver_main_ddp_ddp_set_enabled", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L18", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "$graphify-root$_led_driver_main_ddp_be32", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L30", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "$graphify-root$_led_driver_main_ddp_be16", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L35", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "$graphify-root$_led_driver_main_ddp_ddp_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L40", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L103", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_ddp_cpp", "target": "$graphify-root$_led_driver_main_ddp_ddp_start", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L134", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_ddp_ddp_start", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L134", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_led_driver_main_ddp_ddp_task", "target": "$graphify-root$_led_driver_main_ddp_be32", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L86", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_ddp_ddp_task", "target": "$graphify-root$_led_driver_main_ddp_be16", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L87", "weight": 1.0}, {"source": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "target": "$graphify-root$_led_driver_main_ddp_be32", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/main/ddp.cpp", "source_location": "L130", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "socket", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L43", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L45", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "vTaskDelete", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L46", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "htons", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L51", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "htonl", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L52", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "bind", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L53", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L54", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "close", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L55", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "vTaskDelete", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L56", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L59", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "recvfrom", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L65", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "patterns_ddp_write", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L92", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_task", "callee": "sendto", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L97", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "socket", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L106", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L108", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "vTaskDelete", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L109", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "htons", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L114", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "htonl", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L115", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "bind", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L116", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "ESP_LOGE", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L117", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "close", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L118", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "vTaskDelete", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L119", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L122", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "recv", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L126", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "memcmp", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L127", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_sync_task", "callee": "patterns_ddp_sync", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L130", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_start", "callee": "settings_load_net", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L137", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_start", "callee": "xTaskCreate", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L140", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_led_driver_main_ddp_ddp_start", "callee": "xTaskCreate", "is_member_call": false, "source_file": "led-driver/main/ddp.cpp", "source_location": "L144", "receiver": null, "lang": "cpp"}], "cpp_type_table": {"path": "$graphify-root$/led-driver/main/ddp.cpp", "table": {"ok": "BaseType_t"}}, "_cached_target_files": ["$graphify-root$/led-driver/main/ddp.h", "$graphify-root$/led-driver/main/patterns.h", "$graphify-root$/led-driver/main/settings.h"]}