scripts: P4-Nano probe app and C6 esp-hosted OTA tools

p4-probe identifies the P4 and its C6 over esp-hosted SDIO. c6-ota holds the
C6 coprocessor build and the two host updaters (3.1 and the 2.x one that moved
the factory C6 firmware to esp-hosted 3.1). Also the pending graphify output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-11-24 13:52:12 +13:00
1 parent edf35e9c71
commit ba8e160aee
104 files changed
+8674 -204

No files matched your search

+210 -157
View File
@@ -1,17 +1,17 @@
# Graph Report - led-controller (2026-11-21)
# Graph Report - led-controller (2026-11-24)
## Corpus Check
- 478 files · ~1,713,317 words
- 501 files · ~1,723,788 words
- Verdict: corpus is large enough that graph structure adds value.
- Unclassified: 5052 file(s) not represented in the graph (top: .obj 3536, .cmake 640, .a 416)
- Unclassified: 5076 file(s) not represented in the graph (top: .obj 3536, .cmake 642, .a 416)
## Summary
- 5521 nodes · 16178 edges · 249 communities (156 shown, 93 thin omitted)
- Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 4078 edges (avg confidence: 0.85)
- 5660 nodes · 16465 edges · 257 communities (167 shown, 90 thin omitted)
- Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 4109 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `35207a86`
- Built from commit: `edf35e9c`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -42,7 +42,7 @@
- cJSON
- time
- Microdot
- bridge.c
- bridge_main.c
- NoCaseDict
- Devices UI (JS)
- binary_envelope.py
@@ -62,15 +62,15 @@
- cJSON_Delete
- events
- http_parser.h
- settings_load_net
- EMSCRIPTEN_KEEPALIVE
- argparse
- Colour Picker JS
- Chromium Colour Picker JS
- steps
- API Tests: Devices
- vTaskDelay
- beat.c
- mpremote Transport
- Request
- sim_stubs.c
- httpd_ws_frame
- test_outputs.py
- httpd_config
@@ -84,13 +84,13 @@
- ESPNow
- presets.cpp
- auth.js
- cJSON_CreateObject
- cJSON_AddStringToObject
- httpd_sess.c
- Index Page Modals
- BridgeSim
- httpd_data
- Microdot WebSocket (dmx)
- bridge_main.c
- espnow_link.cpp
- v1 driver messages (long/short keys)
- Controller Overview & OTA Docs
- sys
@@ -102,21 +102,21 @@
- dmx.js
- test_groups.py
- ESP-NOW Sender Bridge
- cJSON_GetObjectItem
- cJSON_Delete
- Microdot Async IO (dmx)
- events
- relay_forward
- Sender
- Pin
- machine.py
- vTaskDelay
- events
- espnow_tx_beat
- bench.c
- test_dmx_bridge.py
- sim_demo.py
- esp_timer_start_once
- led-controller ESP32-S3 firmware
- patterns.c
- HTTPException
- cJSON_GetObjectItem
- mdns_host.c
- Groups UI (JS)
- httpd_req_aux
- Help: Mobile Menu Image
@@ -144,12 +144,12 @@
- led_strip_spi_dev.c
- dmx-draw.js
- Numpad Shortcuts (JS)
- rig_seed.py
- ws2812.cpp
- Colour Picker Demo Image
- Settings Mockup Image
- PatternPlayer
- Response
- led_strip_rmt_encoder.c
- microdot.py
- wifi_drv.c
- cmakeVariables
- HttpDevice
- events
@@ -181,6 +181,7 @@
- VPN Autoconnect Script
- graphify Instructions
- sock_db
- dependencies
- httpd_txrx.c
- bulk.sh Script
- deploy.sh Script
@@ -190,19 +191,22 @@
- Help PDF Build Script
- Web Build Script
- Spec: Pattern Selector UI
- websocket.py
- Test Server Tools
- SerialTransport
- hmac256
- esp_err_t
- Supported Platforms and Transports
- httpd_ctrl_data
- parse_static
- Supported Platforms and Transports
- _simlink_proc.py
- URLPattern
- dependencies
- ws_slot_drop
- Settings
- WLAN
- Slave Firmware Binaries for LittleFS OTA
- Slave Firmware Binaries for Partition OTA
- dmx_decode.test.mjs
- api_call_t
- SerialDMX
- time
- ui_confirm.js
- nvs_open
- build.sh
@@ -211,8 +215,13 @@
- driver-worker.js
- layout.js
- README.md
- KeyName
- DMX Driver Art-Net and serial gateway
- ctrl_msg.cpp
- dependencies
- dependencies
- bridge_mac_is_dmx
- create_self_signed_certs.sh
## God Nodes (most connected - your core abstractions)
1. `cJSON` - 292 edges
@@ -227,16 +236,16 @@
10. `xSemaphoreGive()` - 78 edges
## Surprising Connections (you probably didn't know these)
- `Scenario` --references--> `activate()` [INFERRED]
scripts/c6-ota/cp/README.md → main/bridge.c
- `Scenario` --references--> `activate()` [INFERRED]
scripts/c6-ota/mcu_host/README.md → main/bridge.c
- `Channel` --references--> `bridge_serial_set_channel()` [INFERRED]
bridge/README.md → main/bridge_serial.c
- `Build and run` --references--> `info()` [INFERRED]
desktop/README.md → tools/ota.py
- `Preset editor modal` --semantically_similar_to--> `Preset fields (pattern, colors, delay, brightness, auto, n1-n6)` [INFERRED] [semantically similar]
web/templates/index.html → led-driver/docs/API.md
- `status_payload()` --calls--> `mic_error()` [INFERRED]
main/audio_api.c → desktop/port/src/mic_alsa.c
- `audio_handler()` --calls--> `mic_is_open()` [INFERRED]
main/audio_api.c → desktop/port/src/mic_alsa.c
## Import Cycles
- None detected.
@@ -267,7 +276,7 @@
- **ESP-NOW driver delivery layers** — docs_api_binary_envelope, docs_api_delivery_digest, docs_bench_test_reliable_link, docs_bench_test_beat_double_send [INFERRED 0.85]
- **v1 message handling on driver** — led_driver_docs_api_v1_message, led_driver_docs_patterns_process_data_flow, led_driver_docs_patterns_pattern_registry, led_driver_docs_patterns_preset_short_keys, led_driver_docs_api_select_message [INFERRED 0.85]
## Communities (249 total, 93 thin omitted)
## Communities (257 total, 90 thin omitted)
### Community 0 - "IdfDevice"
Cohesion: 0.10
@@ -286,8 +295,8 @@ Cohesion: 0.11
Nodes (58): applyAudioStatus(), applyServerAudioUiFields(), audioRunPreferredDeviceId(), beatSyncButtonTitle(), bind(), clampLiveBpm(), clampSimulatedBpm(), clearBeatPhaseTimers() (+50 more)
### Community 5 - "cJSON"
Cohesion: 0.05
Nodes (90): add_item_to_array(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON, cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_AddRawToObject() (+82 more)
Cohesion: 0.07
Nodes (65): add_item_to_array(), add_item_to_object(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_AddRawToObject() (+57 more)
### Community 6 - "controller"
Cohesion: 0.05
@@ -322,8 +331,8 @@ Cohesion: 0.10
Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(), computeZoneNamesTargets(), computeZonePresetUnionTargets(), computeZoneTargets(), createZone(), effectiveGroupIdsForZonePreset() (+34 more)
### Community 14 - "freertos.c"
Cohesion: 0.04
Nodes (74): bridge_eth_start(), app_main(), ctl_open(), mic_start(), udp_open(), httpd_os_thread_create(), httpd_os_thread_handle(), esp_event_loop_create_default() (+66 more)
Cohesion: 0.05
Nodes (68): bridge_eth_start(), app_main(), ctl_open(), mic_start(), udp_open(), httpd_os_thread_create(), httpd_os_thread_handle(), esp_event_loop_create_default() (+60 more)
### Community 15 - "unique"
Cohesion: 0.04
@@ -334,12 +343,12 @@ Cohesion: 0.11
Nodes (32): addSeqTarget(), addSequenceToTab(), appendZoneSequenceTiles(), applySequenceSwitchWaitFromServer(), buildStepPlaySelect(), createSequenceTileRow(), deleteCurrentSequence(), fetchGroupsMapSeq() (+24 more)
### Community 17 - "httpd_handle_t"
Cohesion: 0.17
Nodes (25): httpd_handle_t, httpd_method_t, httpd_uri, method, httpd_uri_t, uri, user_ctx, httpd_start() (+17 more)
Cohesion: 0.16
Nodes (28): httpd_handle_t, httpd_method_t, httpd_uri, method, httpd_uri_t, uri, user_ctx, httpd_start() (+20 more)
### Community 18 - "bridge_dmx.c"
Cohesion: 0.06
Nodes (42): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+34 more)
Cohesion: 0.18
Nodes (19): apply_config(), bridge_dmx_open(), close_inputs(), fixture_bin(), fixture_free(), fixture_read(), fixture_spawn(), fixture_stop() (+11 more)
### Community 19 - "led_strip Component Docs"
Cohesion: 0.10
@@ -347,27 +356,31 @@ Nodes (36): led_test ESP-IDF project, led_test main component (main.c), led_stri
### Community 20 - "Art-Net Output"
Cohesion: 0.09
Nodes (10): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), ticks_diff(), ticks_ms() (+2 more)
Nodes (12): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), sleep_ms(), ticks_diff() (+4 more)
### Community 21 - "web.cpp"
Cohesion: 0.13
Nodes (47): ddp_set_enabled(), espnow_link_stats(), net_ap_on(), net_sta_status(), patterns_get(), add_uri(), api_fn_t, api_http_entry() (+39 more)
Cohesion: 0.14
Nodes (45): ddp_set_enabled(), espnow_link_stats(), net_sta_status(), api_fn_t, api_http_entry(), api_req_t, api_route_t, app_js_get() (+37 more)
### Community 22 - "desktop_main.c"
Cohesion: 0.60
Nodes (3): main(), set_from_env(), usage()
### Community 23 - "cJSON"
Cohesion: 0.05
Nodes (116): cJSON_GetArrayItem(), cJSON_GetArraySize(), cJSON_IsArray(), cJSON_IsBool(), cJSON_IsNumber(), cJSON_IsString(), cJSON_IsTrue(), cJSON_PrintUnformatted() (+108 more)
Cohesion: 0.04
Nodes (151): cJSON, child, cJSON_DeleteItemFromArray(), cJSON_DetachItemFromArray(), cJSON_DetachItemFromObject(), cJSON_DetachItemViaPointer(), cJSON_GetArrayItem(), cJSON_GetArraySize() (+143 more)
### Community 24 - "time"
Cohesion: 0.09
Nodes (20): Blink, Pulse, sleep(), sleep_ms(), sleep_us(), ticks_diff(), ticks_ms(), ticks_us() (+12 more)
Cohesion: 0.15
Nodes (11): answers_ping(), bridge_macs(), candidate_ports(), controller_name_for(), flash(), main(), process(), read_state() (+3 more)
### Community 26 - "bridge.c"
Cohesion: 0.09
Nodes (31): bench_on_beat_tx(), bench_on_echo(), activate(), bridge_active(), bridge_board_set_channel(), bridge_mac_is_dmx(), bridge_send(), bridge_set_all() (+23 more)
### Community 25 - "Microdot"
Cohesion: 0.05
Nodes (4): Microdot, decorated(), mro(), URLPattern
### Community 26 - "bridge_main.c"
Cohesion: 0.05
Nodes (44): build_info(), ctl_task(), ensure_peer(), handle_frame(), host_rx_task(), log_hook(), on_recv(), on_sent() (+36 more)
### Community 28 - "Devices UI (JS)"
Cohesion: 0.09
@@ -382,32 +395,32 @@ Cohesion: 0.11
Nodes (25): Chromium-style Color Picker Demo, ColorPickerChromium Component, updateColors() (Chromium demo), Custom Color Picker Demo, updateColors() (standard demo), Custom Colour Picker README, POST /api/colors (example), ColorPicker Component (+17 more)
### Community 31 - "auth.c"
Cohesion: 0.13
Nodes (58): httpd_req_t, bridge_store_locked(), all_edit(), area_index(), auth_can(), auth_classify(), auth_enabled_locked(), auth_export_users() (+50 more)
Cohesion: 0.11
Nodes (62): bridge_store_locked(), all_edit(), area_index(), auth_can(), auth_classify(), auth_enabled_locked(), auth_export_users(), auth_gate() (+54 more)
### Community 32 - "nvs_sim.cpp"
Cohesion: 0.14
Nodes (30): string, read_file(), get_str(), nvs_handle_t, from_hex(), get_bytes(), get_num(), nvs_erase_all() (+22 more)
Cohesion: 0.15
Nodes (28): string, read_file(), load_legacy(), nvs_handle_t, from_hex(), get_bytes(), get_num(), nvs_erase_all() (+20 more)
### Community 33 - "httpd_parse.c"
Cohesion: 0.06
Nodes (53): httpd_config_t, cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url(), continue_parsing() (+45 more)
Nodes (58): httpd_config_t, cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url(), continue_parsing() (+50 more)
### Community 34 - "test_sequences.py"
Cohesion: 0.16
Nodes (29): clock(), make(), presets(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces(), test_editing_stops_playback(), test_editing_stops_the_preview_not_the_live_sequence(), test_legacy_animation_kind_plays_once() (+21 more)
### Community 35 - "seqplay.c"
Cohesion: 0.09
Nodes (66): cJSON_IsFalse(), bench_running(), add_id(), advance_time(), anchor_bar(), audio_drives(), beat_task(), bit() (+58 more)
Cohesion: 0.10
Nodes (59): beat_tap(), add_id(), advance_time(), anchor_bar(), audio_drives(), beat_task(), bit(), chase_mask() (+51 more)
### Community 36 - "API Docs: Outputs & Audio"
Cohesion: 0.17
Nodes (21): Audio API /api/audio and /audio page routes, Profile/preset/sequence JSON bundles (import/export), Combined brightness (global x groups x device x zone), /db collection export and replace, Devices resource /devices, Driver group membership lists (group ids, z<zone id>), Device groups resource /groups, LED Controller HTTP/JSON API (+13 more)
### Community 37 - "bridge_serial.c"
Cohesion: 0.15
Nodes (22): bridge_crc16_update(), bridge_decode_feed(), bridge_encode(), bridge_ports_json(), keepalive_task(), bridge_serial_follow_mac(), bridge_serial_has_mic(), bridge_serial_mac() (+14 more)
Cohesion: 0.16
Nodes (21): bridge_crc16_update(), bridge_decode_feed(), bridge_encode(), bridge_ports_json(), bridge_serial_follow_mac(), bridge_serial_has_mic(), bridge_serial_mac(), bridge_serial_mic() (+13 more)
### Community 38 - "driver_ota.py"
Cohesion: 0.14
@@ -418,20 +431,20 @@ Cohesion: 0.23
Nodes (17): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_bpm(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap() (+9 more)
### Community 40 - "xSemaphoreGive"
Cohesion: 0.05
Nodes (77): udp_task(), xSemaphoreGive(), xSemaphoreTake(), mic_open(), clamp_leds(), ddp_show(), frame_alloc(), fx_fn (+69 more)
Cohesion: 0.04
Nodes (94): mic_task(), rx_task(), udp_send_up(), udp_task(), usb_send_frame(), httpd_os_thread_sleep(), xSemaphoreGive(), xSemaphoreTake() (+86 more)
### Community 41 - "WS2812"
Cohesion: 0.06
Nodes (19): new_ws2812_encoder(), rmt_del_ws2812_encoder(), rmt_encode_ws2812(), rmt_ws2812_encoder_reset(), rmt_ws2812_encoder_t, WS2812, channel_, encoder_ (+11 more)
Cohesion: 0.10
Nodes (14): WS2812, channel_, encoder_, num_leds_, order_, pixels_, tx_config_, tx_pixels_ (+6 more)
### Community 42 - "run_all"
Cohesion: 0.12
Nodes (13): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+5 more)
### Community 43 - "cJSON_Delete"
Cohesion: 0.14
Nodes (41): cJSON_AddObjectToObject(), httpd_req_get_url_query_str(), active_room_ports(), api_handler(), color_order_ok(), config_json(), db_root(), default_room() (+33 more)
Cohesion: 0.15
Nodes (41): cJSON_AddObjectToObject(), cJSON_IsNull(), active_room_ports(), api_handler(), color_order_ok(), config_json(), db_root(), default_room() (+33 more)
### Community 44 - "events"
Cohesion: 0.09
@@ -441,29 +454,29 @@ Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEB
Cohesion: 0.05
Nodes (42): flags, F_CHUNKED, F_CONNECTION_CLOSE, F_CONNECTION_KEEP_ALIVE, F_CONNECTION_UPGRADE, F_CONTENTLENGTH, F_SKIPBODY, F_TRAILING (+34 more)
### Community 46 - "settings_load_net"
Cohesion: 0.14
Nodes (22): main(), ddp_start(), espnow_link_start(), app_main(), ap_timer_cb(), apply_ap(), net_ap_ssid(), net_espnow_only() (+14 more)
### Community 46 - "EMSCRIPTEN_KEEPALIVE"
Cohesion: 0.29
Nodes (6): patterns_count(), patterns_name(), fx_count(), fx_name(), fx_step(), sim_clock_set_us()
### Community 47 - "argparse"
Cohesion: 0.10
Nodes (16): analyze(), edges(), main(), pct(), read(), art_dmx(), effect_frame(), main() (+8 more)
Cohesion: 0.08
Nodes (20): call(), main(), switch(), wifi_state(), analyze(), edges(), main(), pct() (+12 more)
### Community 50 - "steps"
Cohesion: 0.10
Nodes (19): TAG, TOKEN, jobs, release, name, on, push, contents (+11 more)
### Community 52 - "vTaskDelay"
### Community 52 - "beat.c"
Cohesion: 0.05
Nodes (47): vTaskDelay(), vTaskDelete(), httpd_req_async_handler_complete(), httpd_req_to_sockfd(), httpd_send(), events(), events_task(), send_all() (+39 more)
Nodes (37): vTaskDelete(), httpd_req_async_handler_complete(), httpd_req_to_sockfd(), api_bridges_remove(), events(), events_task(), send_all(), audio_stream_task() (+29 more)
### Community 53 - "mpremote Transport"
Cohesion: 0.12
Nodes (20): Presets Mockup Page, addColorPicker() / initializeColorPickers(), ColorPicker component (color-picker.js / color-picker.css), Preset Delay (animation speed, 10-1000 ms), ESPNow preset distribution, filterPresets() / sortPresets() search, filter and sort, LED Patterns (on, off, blink, chase, circle, pulse, rainbow, transition), Pattern Parameters N1-N8 (+12 more)
### Community 54 - "Request"
Cohesion: 0.15
Nodes (4): Request, G, urldecode_bytes(), urldecode_str()
### Community 54 - "sim_stubs.c"
Cohesion: 0.06
Nodes (29): esp_log_level_set(), esp_log_timestamp(), esp_log_write(), init_level(), http_client_event_handler(), ota_https_perform(), parse_image_header_from_buffer(), check_littlefs_files() (+21 more)
### Community 55 - "httpd_ws_frame"
Cohesion: 0.25
@@ -479,19 +492,19 @@ Nodes (30): addPreset(), apply(), applySpec(), banner(), bgField(), buildCard(),
### Community 59 - "mic_alsa.c"
Cohesion: 0.09
Nodes (18): capture_loop(), capture_thread(), list_alsa_devices(), mic_close(), mic_error(), mic_get_level(), mic_is_open(), mic_list_devices() (+10 more)
Nodes (19): capture_loop(), capture_thread(), list_alsa_devices(), mic_close(), mic_error(), mic_get_level(), mic_is_open(), mic_list_devices() (+11 more)
### Community 60 - "test_sim_net.py"
Cohesion: 0.15
Nodes (20): artdmx(), base_room(), ddp(), put(), room(), send(), sim(), status() (+12 more)
Cohesion: 0.10
Nodes (22): CORSHTTPRequestHandler, get_local_ip(), artdmx(), base_room(), ddp(), put(), room(), send() (+14 more)
### Community 61 - "API Test Fixtures & Audio"
Cohesion: 0.17
Nodes (5): base_url(), c(), Client, profile(), restore_db()
### Community 62 - "run_test"
Cohesion: 0.20
Nodes (17): colour_role(), dmx_artnet_packet(), dmx_def_map(), dmx_sacn_group(), dmx_sacn_packet(), is_any(), put16(), fail() (+9 more)
Cohesion: 0.23
Nodes (15): colour_role(), dmx_artnet_packet(), dmx_sacn_group(), dmx_sacn_packet(), is_any(), put16(), fail(), fill() (+7 more)
### Community 63 - "Help: Zones & Palette"
Cohesion: 0.13
@@ -502,36 +515,40 @@ Cohesion: 0.09
Nodes (23): hsv(), rig_mid(), rig_rows(), rig_xy(), soak_rig_bounce(), soak_rig_checker(), soak_rig_columns(), soak_rig_converge() (+15 more)
### Community 66 - "presets.cpp"
Cohesion: 0.21
Nodes (21): clear_all_presets(), entry_key(), find(), load_entry(), load_legacy(), presets_add_defaults(), presets_at(), presets_count() (+13 more)
Cohesion: 0.16
Nodes (27): main(), clear_all_presets(), patterns_output_level(), entry_key(), find(), load_entry(), presets_add_defaults(), presets_apply_startup() (+19 more)
### Community 67 - "auth.js"
Cohesion: 0.15
Nodes (40): accountMenu(), addHeaderButton(), applyPerms(), askLogin(), buildAccount(), byId(), can(), changePassword() (+32 more)
### Community 68 - "cJSON_CreateObject"
Cohesion: 0.07
Nodes (89): add_item_to_object(), cJSON_AddBoolToObject(), cJSON_AddFalseToObject(), cJSON_AddItemToObject(), cJSON_AddNullToObject(), cJSON_AddNumberToObject(), cJSON_AddStringToObject(), cJSON_AddTrueToObject() (+81 more)
### Community 68 - "cJSON_AddStringToObject"
Cohesion: 0.09
Nodes (53): cJSON_AddBoolToObject(), cJSON_AddFalseToObject(), cJSON_AddItemToObject(), cJSON_AddNullToObject(), cJSON_AddNumberToObject(), cJSON_AddStringToObject(), cJSON_CreateBool(), cJSON_CreateNull() (+45 more)
### Community 69 - "httpd_sess.c"
Cohesion: 0.11
Nodes (36): httpd_os_thread_delete(), httpd_free_ctx_fn_t, httpd_ws_client_info_t, httpd_accept_conn(), httpd_process_session(), httpd_server(), httpd_thread(), enum_function() (+28 more)
Cohesion: 0.12
Nodes (31): httpd_free_ctx_fn_t, httpd_ws_client_info_t, httpd_process_session(), enum_function(), fd_is_valid(), httpd_sess_clear_ctx(), httpd_sess_close(), httpd_sess_close_all() (+23 more)
### Community 70 - "Index Page Modals"
Cohesion: 0.11
Nodes (19): Audio Beat Detection modal, Header BPM / beat sync indicator, Colour Palette modal, Devices modal, Edit device modal, Edit Zone modal, Device groups modal, Header global brightness slider (+11 more)
### Community 71 - "BridgeSim"
Cohesion: 0.05
Nodes (21): BridgeSim, api_seed_layout(), index(), driver_mac(), lan_ip(), load_config(), mac_str(), main() (+13 more)
Cohesion: 0.04
Nodes (26): BridgeSim, api_seed_layout(), index(), driver_mac(), lan_ip(), load_config(), mac_str(), main() (+18 more)
### Community 72 - "httpd_data"
Cohesion: 0.11
Nodes (18): esp_http_server_event_id_t, httpd_err_handler_func_t, httpd_data, config, ctrl_fd, ctrl_sock_semaphore, err_handler_fns, hd_calls (+10 more)
Nodes (17): esp_http_server_event_id_t, httpd_data, config, ctrl_fd, ctrl_sock_semaphore, err_handler_fns, hd_calls, hd_req (+9 more)
### Community 74 - "bridge_main.c"
Cohesion: 0.04
Nodes (63): build_info(), ctl_task(), ensure_peer(), handle_frame(), host_rx_task(), log_hook(), mic_task(), on_recv() (+55 more)
### Community 73 - "Microdot WebSocket (dmx)"
Cohesion: 0.09
Nodes (8): wraps(), print_exception(), WebSocket, websocket_upgrade(), websocket_wrapper(), wrapper(), WebSocketError, with_websocket()
### Community 74 - "espnow_link.cpp"
Cohesion: 0.07
Nodes (39): ctrl_build_announce(), Asm, buf, cnt, asm_find(), flags, asm_free(), last_us (+31 more)
### Community 75 - "v1 driver messages (long/short keys)"
Cohesion: 0.24
@@ -543,7 +560,7 @@ Nodes (17): led_controller ESP-IDF project, Driver app update /drivers/ota (stag
### Community 77 - "sys"
Cohesion: 0.07
Nodes (8): mpremote_base(), _default_image(), _info(), ota_update(), main(), main(), info(), upload()
Nodes (6): mpremote_base(), main(), _convert_filesystem_error(), stdout_write_bytes(), Transport, TransportExecError
### Community 78 - "sim_split.js"
Cohesion: 0.30
@@ -573,29 +590,33 @@ Nodes (4): device(), group(), test_group_identify_needs_devices(), test_profile_
Cohesion: 0.20
Nodes (10): ap(), _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws() (+2 more)
### Community 86 - "cJSON_GetObjectItem"
Cohesion: 0.07
Nodes (146): list_pulse_sources(), cJSON_AddArrayToObject(), cJSON_AddItemReferenceToObject(), cJSON_AddItemToArray(), cJSON_CreateArray(), cJSON_CreateString(), cJSON_CreateStringArray(), cJSON_Delete() (+138 more)
### Community 86 - "cJSON_Delete"
Cohesion: 0.10
Nodes (84): list_pulse_sources(), cJSON_AddArrayToObject(), cJSON_AddItemToArray(), cJSON_CreateArray(), cJSON_CreateString(), cJSON_CreateStringArray(), cJSON_Delete(), cJSON_DeleteItemFromObject() (+76 more)
### Community 88 - "events"
Cohesion: 0.09
Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more)
### Community 89 - "relay_forward"
Cohesion: 0.11
Nodes (20): cJSON_free(), api_call_work(), envelope(), relay_client(), relay_do(), relay_forward(), relay_host_ok(), relay_path_ok() (+12 more)
Cohesion: 0.19
Nodes (13): cJSON_free(), api_call_work(), envelope(), relay_client(), relay_do(), relay_forward(), relay_host_ok(), relay_path_ok() (+5 more)
### Community 90 - "Sender"
Cohesion: 0.14
Nodes (4): run_interactive(), handle(), show_menu(), Sender
### Community 92 - "vTaskDelay"
Cohesion: 0.09
Nodes (26): vTaskDelay(), engine_groups_push_all(), send_cmd(), gateway_answers(), full_mask(), handle_rx(), peer_get(), record_done() (+18 more)
### Community 93 - "events"
Cohesion: 0.10
Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more)
### Community 94 - "espnow_tx_beat"
Cohesion: 0.10
Nodes (17): beat_reset(), beat_set_callback(), beat_start(), dsp_event(), led_off_cb(), led_set(), gpio_mark(), ap_button_held() (+9 more)
### Community 94 - "bench.c"
Cohesion: 0.12
Nodes (15): bench_on_beat_tx(), bench_on_echo(), bench_running(), gen_cb(), gpio_mark(), log_task(), espnow_tx_beat(), on_beat() (+7 more)
### Community 95 - "test_dmx_bridge.py"
Cohesion: 0.11
@@ -606,16 +627,20 @@ Cohesion: 0.26
Nodes (7): Api, main(), group(), preset(), sequence(), new_id(), rig_bars()
### Community 97 - "esp_timer_start_once"
Cohesion: 0.12
Nodes (23): ap_switch_later(), apply_client_ip(), apply_sta_config(), net_save_network(), net_scan(), net_sta_connect(), on_ip_event(), on_wifi_event() (+15 more)
Cohesion: 0.08
Nodes (36): app_main(), ap_switch_later(), ap_timer_cb(), apply_ap(), apply_client_ip(), apply_sta_config(), client_allowed(), net_ap_on() (+28 more)
### Community 98 - "led-controller ESP32-S3 firmware"
Cohesion: 0.12
Nodes (14): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protocol, Running the controller against it, USB ESP-NOW bridge, Build and run (+6 more)
### Community 99 - "patterns.c"
Cohesion: 0.21
Nodes (18): add_name(), all_patterns(), base_name(), builtin(), create_driver_pattern(), exists(), file_names(), file_path() (+10 more)
### Community 99 - "cJSON_GetObjectItem"
Cohesion: 0.07
Nodes (106): cJSON_AddItemReferenceToObject(), cJSON_AddTrueToObject(), cJSON_CreateObject(), cJSON_Duplicate(), cJSON_GetObjectItem(), cJSON_ReplaceItemInObject(), httpd_req_t, httpd_resp_send_500() (+98 more)
### Community 100 - "mdns_host.c"
Cohesion: 0.11
Nodes (13): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+5 more)
### Community 101 - "Groups UI (JS)"
Cohesion: 0.29
@@ -638,8 +663,8 @@ Cohesion: 0.24
Nodes (11): Message processing order (version, presets upsert, colour, selection), Auto vs manual (a) and manual chase flush, Built-in off / on patterns, Patterns and presets on the LED driver, MAX_PRESETS = 32, Pattern OTA via manifest / POST /patterns/upload, Pattern registry (Presets.reload_patterns), Preset short keys (p, c, d, b, a, bg, n1-n6) (+3 more)
### Community 106 - "httpd_main.c"
Cohesion: 0.08
Nodes (19): httpd_os_thread_sleep(), httpd_req, httpd_session_enum_function, thread_data, handle, status, esp_http_server_dispatch_event(), httpd_create() (+11 more)
Cohesion: 0.06
Nodes (31): httpd_os_thread_delete(), esp_err_to_name(), esp_event_post(), esp_read_mac(), httpd_recv_opt_t, httpd_req, httpd_session_enum_function, thread_data (+23 more)
### Community 107 - "main"
Cohesion: 0.18
@@ -706,20 +731,20 @@ Cohesion: 0.29
Nodes (6): Pattern Contract, Drawing via driver.n and apply_brightness, Pattern error handling (Presets.tick catches), Presets._load_dynamic_patterns(), Shared driver.step semantics, Global vs per-preset brightness
### Community 124 - "httpd_ws.c"
Cohesion: 0.17
Nodes (23): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_frame_t, transfer_complete_cb, httpd_recv_opt_t, httpd_queue_work() (+15 more)
Cohesion: 0.18
Nodes (21): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_frame_t, transfer_complete_cb, httpd_send(), httpd_ws_check_req() (+13 more)
### Community 125 - "led_strip_spi_dev.c"
Cohesion: 0.06
Nodes (39): heap_caps_calloc(), app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_rmt_config_t, led_strip_spi_config_t (+31 more)
Cohesion: 0.05
Nodes (43): app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_rmt_config_t, led_strip_spi_config_t, led_model_t (+35 more)
### Community 126 - "dmx-draw.js"
Cohesion: 0.21
Nodes (17): aimed(), appearance(), bodyScale(), canColour(), drawBeam(), drawBody(), drawGlow(), drawLight() (+9 more)
### Community 128 - "rig_seed.py"
Cohesion: 0.19
Nodes (8): call(), main(), switch(), wifi_state(), controller_url(), _get(), _post(), seed()
### Community 128 - "ws2812.cpp"
Cohesion: 0.12
Nodes (8): new_ws2812_encoder(), rmt_del_ws2812_encoder(), rmt_encode_ws2812(), rmt_ws2812_encoder_reset(), rmt_ws2812_encoder_t, bridge_dmx_close(), bridge_dmx_reload(), bridge_dmx_send()
### Community 129 - "Colour Picker Demo Image"
Cohesion: 0.33
@@ -729,26 +754,18 @@ Nodes (6): Custom Color Picker Demo (screenshot), Hex and RGB input support, HSB
Cohesion: 0.33
Nodes (7): Advanced Settings (Step Counter, Step Increment, Device ID, Debug Mode), Basic Settings (Device Name, LED Pin, Number of LEDs), Color Order Selector (RGB/RBG/GRB/GBR/BRG/BGR), Device Settings Page Mockup, Network Settings (Access Point Name, Password, Enable AP), Pattern Parameters N1-N6, Pattern Settings (Pattern, Brightness, Delay)
### Community 131 - "PatternPlayer"
Cohesion: 0.14
Nodes (3): main(), output_tick(), PatternPlayer
### Community 132 - "microdot.py"
Cohesion: 0.05
Nodes (11): HTTPException, invoke_handler(), iscoroutine(), NoCaseDict, Request, G, Response, aclose() (+3 more)
### Community 132 - "Response"
Cohesion: 0.10
Nodes (5): invoke_handler(), iscoroutine(), Response, aclose(), __anext__()
### Community 133 - "led_strip_rmt_encoder.c"
Cohesion: 0.25
Nodes (5): led_strip_encoder_config_t, rmt_del_led_strip_encoder(), rmt_encode_led_strip(), rmt_led_strip_encoder_reset(), rmt_new_led_strip_encoder()
### Community 133 - "wifi_drv.c"
Cohesion: 0.18
Nodes (13): clamp8(), exchange(), link_for(), mark_down(), run_job(), run_ping(), sender_task(), read_handshake() (+5 more)
### Community 135 - "cmakeVariables"
Cohesion: 0.10
Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more)
### Community 136 - "HttpDevice"
Cohesion: 0.10
Nodes (5): HttpDevice, IdfError, _default_image(), _info(), ota_update()
### Community 137 - "events"
Cohesion: 0.09
Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more)
@@ -758,8 +775,8 @@ Cohesion: 0.40
Nodes (6): Colour Palette modal mockup (help image), Add Swatch (+) Button, Colour Palette Modal, Palette Colour Swatches, Preset Editor 'From Palette', Profile (palette owner)
### Community 139 - "esp_err.h"
Cohesion: 0.05
Nodes (22): bridge_eth_ip(), on_eth_down(), on_got_ip(), heap_caps_malloc(), esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set() (+14 more)
Cohesion: 0.04
Nodes (24): bridge_eth_ip(), on_eth_down(), on_got_ip(), heap_caps_calloc(), heap_caps_malloc(), esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size() (+16 more)
### Community 140 - "LED Driver README"
Cohesion: 0.47
@@ -810,8 +827,8 @@ Cohesion: 0.25
Nodes (18): addUniverse(), editDef(), el(), error(), fixtureRow(), json(), load(), loadDefs() (+10 more)
### Community 166 - "Preset"
Cohesion: 0.08
Nodes (12): _expand(), _preset_from_map(), process_data(), _select_entries(), _targets_for_key(), create_app(), play(), serial_ports() (+4 more)
Cohesion: 0.07
Nodes (14): _expand(), _preset_from_map(), process_data(), _select_entries(), _targets_for_key(), create_app(), play(), serial_ports() (+6 more)
### Community 167 - "httpd_req"
Cohesion: 0.20
@@ -829,33 +846,57 @@ Nodes (3): applyListSearch(), initListSearch(), rowSearchText()
Cohesion: 0.11
Nodes (19): httpd_pending_func_t, httpd_recv_func_t, httpd_send_func_t, sock_db, ctx, fd, for_async_req, free_ctx (+11 more)
### Community 179 - "httpd_txrx.c"
Cohesion: 0.07
Nodes (58): esp_app_get_description(), httpd_err_code_t, httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_sendstr(), httpd_resp_sendstr_chunk(), httpd_default_recv(), httpd_default_send() (+50 more)
### Community 178 - "dependencies"
Cohesion: 0.14
Nodes (14): path, path, dependencies, cmd_nvs, cmd_system, espressif/esp_hosted, espressif/esp_wifi_remote, joltwallet/littlefs (+6 more)
### Community 197 - "websocket.py"
Cohesion: 0.19
Nodes (6): wraps(), print_exception(), websocket_upgrade(), websocket_wrapper(), wrapper(), with_websocket()
### Community 179 - "httpd_txrx.c"
Cohesion: 0.09
Nodes (48): esp_app_get_description(), httpd_err_code_t, httpd_err_handler_func_t, httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_sendstr(), httpd_resp_sendstr_chunk(), httpd_register_err_handler() (+40 more)
### Community 197 - "Test Server Tools"
Cohesion: 0.18
Nodes (10): 1. Generate Test Certificates, 2. Start HTTPS Server, 3. Configure ESP32, Certificate not found error, Files, Important Notes, Quick Start, Server won't start (+2 more)
### Community 198 - "SerialTransport"
Cohesion: 0.07
Nodes (7): _convert_filesystem_error(), SerialIntercept, SerialTransport, stdout_write_bytes(), Transport, TransportError, TransportExecError
Cohesion: 0.14
Nodes (3): SerialIntercept, SerialTransport, TransportError
### Community 199 - "hmac256"
Cohesion: 0.43
Nodes (6): hmac256(), rotr(), sha_block(), sha_final(), sha_init(), sha_update()
### Community 200 - "esp_err_t"
Cohesion: 0.33
Nodes (3): esp_err_to_name(), esp_event_post(), esp_read_mac()
### Community 200 - "Supported Platforms and Transports"
Cohesion: 0.29
Nodes (6): ota / coprocessor_ota — Coprocessor, Scenario, Supported Connection buses, Supported Coprocessors, Supported Host Devices, Supported Platforms and Transports
### Community 201 - "httpd_ctrl_data"
Cohesion: 0.22
Nodes (9): httpd_work_fn_t, httpd_ctrl_data, hc_msg, hc_work, hc_work_arg, httpd_ctrl_msg, HTTPD_CTRL_MAX, HTTPD_CTRL_SHUTDOWN (+1 more)
### Community 203 - "Supported Platforms and Transports"
Cohesion: 0.29
Nodes (6): ota / coprocessor_ota — Host, Scenario, Supported Connection buses, Supported Coprocessors, Supported Host Devices, Supported Platforms and Transports
### Community 204 - "_simlink_proc.py"
Cohesion: 0.16
Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels()
Cohesion: 0.07
Nodes (6): WDT, connect(), on_feed(), push_pixels(), _reader(), _send_pixels()
### Community 205 - "dependencies"
Cohesion: 0.33
Nodes (5): dependencies, espressif/esp_hosted, idf, version, version
### Community 206 - "ws_slot_drop"
Cohesion: 0.40
Nodes (5): ws_slot_drop(), ws_slot_t, fd, host, ws_client_close()
### Community 213 - "Slave Firmware Binaries for LittleFS OTA"
Cohesion: 0.40
Nodes (4): Example, Important Notes, Slave Firmware Binaries for LittleFS OTA, Usage
### Community 215 - "Slave Firmware Binaries for Partition OTA"
Cohesion: 0.40
Nodes (4): Example, Important Notes, Slave Firmware Binaries for Partition OTA, Usage
### Community 216 - "dmx_decode.test.mjs"
Cohesion: 0.38
@@ -865,13 +906,13 @@ Nodes (3): can(), mover(), universe()
Cohesion: 0.33
Nodes (5): api_call_t, cap, done, msg, out
### Community 218 - "SerialDMX"
Cohesion: 0.24
Nodes (3): sleep_ms(), SerialDMX, sleep()
### Community 218 - "time"
Cohesion: 0.08
Nodes (17): Blink, Pulse, _default_image(), _info(), ota_update(), sleep(), sleep_ms(), sleep_us() (+9 more)
### Community 221 - "nvs_open"
Cohesion: 0.23
Nodes (16): load_channel(), set_channel(), sim_host_flash(), apply_device_config(), ctrl_init(), save_groups(), settings_load_hw(), settings_load_wifi() (+8 more)
Cohesion: 0.18
Nodes (19): load_channel(), set_channel(), sim_host_flash(), apply_device_config(), ctrl_init(), save_groups(), ddp_start(), default_hostname() (+11 more)
### Community 227 - "dependencies"
Cohesion: 0.33
@@ -885,32 +926,44 @@ Nodes (4): boot(), exit(), log(), startPixels()
Cohesion: 0.42
Nodes (5): fixtureEnd(), fixtureLeds(), heading(), isPoint(), roomStrips()
### Community 241 - "KeyName"
Cohesion: 0.50
Nodes (4): KeyName, longk, shortk, long_name()
### Community 242 - "DMX Driver Art-Net and serial gateway"
Cohesion: 0.28
Nodes (9): Art-Net output (UDP 6454), DMX Driver Art-Net and serial gateway, DMX fixture (output, start channel, role map; parcan/mover profiles), led-driver-style pattern engine (Preset object), POST /patterns/upload (led-driver parity), Serial DMX512 output (250000 8N2), Outputs (DDP, Art-Net, sACN, DMX serial pixel fixtures), Patterns resource /patterns (+1 more)
### Community 246 - "ctrl_msg.cpp"
Cohesion: 0.05
Nodes (35): send_msg(), sim_host_restart(), sim_host_tx(), write_all(), ctrl_build_announce(), in_group(), KeyName, longk (+27 more)
Cohesion: 0.07
Nodes (18): send_msg(), sim_host_restart(), sim_host_tx(), write_all(), beat_on_frame(), be16(), be32(), ddp_sync_task() (+10 more)
### Community 253 - "dependencies"
Cohesion: 0.50
Nodes (3): dependencies, espressif/esp_hosted, espressif/esp_wifi_remote
### Community 254 - "dependencies"
Cohesion: 0.50
Nodes (3): dependencies, espressif/esp_hosted, espressif/esp_wifi_remote
## Knowledge Gaps
- **297 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+292 more)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1458 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **93 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1516 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **90 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `led-controller ESP32-S3 firmware` connect `led-controller ESP32-S3 firmware` to `DMX Driver Art-Net and serial gateway`, `v1 driver messages (long/short keys)`, `API Docs: Outputs & Audio`, `Controller Overview & OTA Docs`?**
_High betweenness centrality (0.032) - this node is a cross-community bridge._
_High betweenness centrality (0.018) - this node is a cross-community bridge._
- **Are the 232 inferred relationships involving `cJSON_GetObjectItem()` (e.g. with `list_pulse_sources()` and `apply_default()`) actually correct?**
_`cJSON_GetObjectItem()` has 232 INFERRED edges - model-reasoned connections that need verification._
- **What connects `next`, `prev`, `child` to the rest of the system?**
_297 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `IdfDevice` be split into smaller, more focused modules?**
_Cohesion score 0.09747899159663866 - nodes in this community are weakly interconnected._
- **Why does `bridge_serial_set_channel()` connect `bridge_serial.c` to `led-controller ESP32-S3 firmware`, `bridge.c`?**
_High betweenness centrality (0.020) - this node is a cross-community bridge._
- **Why does `cJSON` connect `cJSON` to `nvs_sim.cpp`, `cJSON_GetObjectItem`, `cJSON_AddStringToObject`, `cJSON`, `seqplay.c`, `cJSON_Delete`, `esp_err.h`, `bridge_dmx.c`, `web.cpp`, `cJSON_Delete`, `nvs_open`, `run_test`, `auth.c`?**
_High betweenness centrality (0.013) - this node is a cross-community bridge._
- **Are the 137 inferred relationships involving `cJSON_Delete()` (e.g. with `list_pulse_sources()` and `ctrl_handle()`) actually correct?**
_`cJSON_Delete()` has 137 INFERRED edges - model-reasoned connections that need verification._
- **Should `htmx Library` be split into smaller, more focused modules?**