P4-Nano: controller port with the C6 as ESP-NOW radio, and the simulator

The controller now builds for the Waveshare ESP32-P4-Nano only (plus the linux
sim and the desktop); the S3 stays for the USB/network bridge in bridge/.

- radio-c6/: C6 firmware, esp-hosted plus ESP-NOW over peer data. The P4 loads
  it from the slave_fw partition when the C6 runs another version (c6_update.c)
- bridge_hosted.c: the C6 as the always-on "c6" bridge, and the P4 as a network
  bridge on UDP 8766 for the desktop
- Ethernet on the P4's EMAC, ES8311 mic; default address 192.168.50.20. The
  W5500, INMP441 and direct ESP-NOW code is gone
- The simulated rig at /sim/ is built into the board image, with an always-on
  "browser" bridge. Its frames go through a queue so a slow page cannot hold up
  the radio, and frames for simulated bars are not sent over the C6. Receiver
  buffers are on the heap; a bar's flash file is only written when it changes
- HTTP server: more handlers, sockets and stack for the rig
- docs/P4_NANO.md, README and Makefile updated; 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 21:45:25 +13:00
1 parent ba8e160aee
commit 4ab0c7c6d7
101 files changed
+3284 -971

No files matched your search

+324 -227
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
- 533 files · ~2,050,955 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: 6320 file(s) not represented in the graph (top: .obj 4420, .cmake 802, .a 520)
## 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)
- 5782 nodes · 16701 edges · 273 communities (176 shown, 97 thin omitted)
- Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 4157 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `35207a86`
- Built from commit: `ba8e160a`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -33,96 +33,96 @@
- freertos.c
- unique
- Sequences UI (JS)
- httpd_handle_t
- bridge_dmx.c
- bridge_serial.c
- bridge_main.c
- led_strip Component Docs
- Art-Net Output
- web.cpp
- desktop_main.c
- rel.c
- cJSON
- time
- Microdot
- bridge.c
- httpd_handle_t
- NoCaseDict
- Devices UI (JS)
- binary_envelope.py
- Colour Picker Mockups
- auth.c
- nvs_sim.cpp
- BridgeSim
- httpd_parse.c
- test_sequences.py
- seqplay.c
- API Docs: Outputs & Audio
- bridge_serial.c
- bridge_sim.py
- driver_ota.py
- Beat Detection DSP (C)
- esp_wifi.h
- xSemaphoreGive
- WS2812
- run_all
- cJSON_Delete
- events
- http_parser.h
- settings_load_net
- xTaskCreate
- argparse
- Colour Picker JS
- Chromium Colour Picker JS
- steps
- API Tests: Devices
- vTaskDelay
- beat.c
- mpremote Transport
- Request
- httpd_ws_frame
- mcu_host/main/main.c
- usb_cfg.cpp
- test_outputs.py
- httpd_config
- esp_http_server.h
- gallery.js
- mic_alsa.c
- test_sim_net.py
- API Test Fixtures & Audio
- run_test
- outputs.c
- Help: Zones & Palette
- ddp_test.py
- ESPNow
- sys
- presets.cpp
- auth.js
- cJSON_CreateObject
- cJSON_Delete
- httpd_sess.c
- Index Page Modals
- BridgeSim
- LedSimulatorApp
- httpd_data
- Microdot WebSocket (dmx)
- bridge_main.c
- v1 driver messages (long/short keys)
- Controller Overview & OTA Docs
- sys
- espnow_link.cpp
- Bench test: S3 controller and one LED driver
- DMX Driver Art-Net and serial gateway
- transport.py
- sim_split.js
- Audio Monitor Page
- artnet_dmx.py
- OutputManager
- artnet_dmx.py
- events
- dmx.js
- test_groups.py
- ESP-NOW Sender Bridge
- cJSON_GetObjectItem
- httpd_req_t
- Microdot Async IO (dmx)
- events
- relay_forward
- PatternPlayer
- Sender
- Pin
- machine.py
- mdns_host.c
- events
- espnow_tx_beat
- httpd_resp_set_type
- test_dmx_bridge.py
- sim_demo.py
- esp_timer_start_once
- NeoPixel
- led-controller ESP32-S3 firmware
- patterns.c
- HTTPException
- cJSON_GetObjectItem
- bridge_dmx.c
- Groups UI (JS)
- httpd_req_aux
- Help: Mobile Menu Image
- Pattern Selector Mockup Image
- Driver Pattern Docs
- httpd_main.c
- esp_httpd_priv.h
- main
- cmakeVariables
- Driver Message API Docs
@@ -144,12 +144,12 @@
- led_strip_spi_dev.c
- dmx-draw.js
- Numpad Shortcuts (JS)
- rig_seed.py
- ESPNow
- Colour Picker Demo Image
- Settings Mockup Image
- PatternPlayer
- Response
- led_strip_rmt_encoder.c
- layout.py
- Settings
- led-controller on a desktop
- cmakeVariables
- HttpDevice
- events
@@ -172,7 +172,7 @@
- dmx_bridge.js
- Preset
- httpd_req
- test_audio.py
- espnow_tx_beat
- build_sim_web.sh
- dependencies
- List Search (JS)
@@ -180,29 +180,33 @@
- led-test Manifest
- VPN Autoconnect Script
- graphify Instructions
- sock_db
- SerialDMX
- dependencies
- httpd_txrx.c
- bulk.sh Script
- deploy.sh Script
- Driver install.sh
- NeoPixel
- test_audio.py
- led-tool install.sh
- Help PDF Build Script
- Web Build Script
- Spec: Pattern Selector UI
- websocket.py
- Test Server Tools
- SerialTransport
- hmac256
- esp_err_t
- ._loop_main
- Supported Platforms and Transports
- httpd_ctrl_data
- parse_static
- Supported Platforms and Transports
- _simlink_proc.py
- URLPattern
- Settings
- dependencies
- led-tool / led-cli serial device CLI
- esp_read_mac
- 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,32 +215,45 @@
- driver-worker.js
- layout.js
- README.md
- DMX Driver Art-Net and serial gateway
- ctrl_msg.cpp
- v1 driver messages (long/short keys)
- src/main.cpp
- dependencies
- dependencies
- create_self_signed_certs.sh
- net.cpp
- events
- events
- Response
- bridge_hosted.c
- patterns.c
- machine.py
- led-controller ESP32-S3 firmware
- dependencies
## God Nodes (most connected - your core abstractions)
1. `cJSON` - 292 edges
2. `cJSON_GetObjectItem()` - 237 edges
3. `httpd_req_t` - 183 edges
3. `httpd_req_t` - 184 edges
4. `cJSON_Delete()` - 162 edges
5. `cJSON_CreateObject()` - 155 edges
6. `cJSON_IsString()` - 129 edges
7. `cJSON_AddStringToObject()` - 121 edges
8. `store_coll()` - 111 edges
9. `xSemaphoreTake()` - 78 edges
10. `xSemaphoreGive()` - 78 edges
9. `xSemaphoreGive()` - 83 edges
10. `xSemaphoreTake()` - 82 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 +284,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 (273 total, 97 thin omitted)
### Community 0 - "IdfDevice"
Cohesion: 0.10
@@ -286,8 +303,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.06
Nodes (84): add_item_to_array(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON, cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_bool (+76 more)
### Community 6 - "controller"
Cohesion: 0.05
@@ -322,24 +339,24 @@ 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 (50): on_recv(), make_deadline(), queue_send(), sem_give(), sem_take(), uxQueueMessagesWaiting(), vEventGroupDelete(), vQueueDelete() (+42 more)
### Community 15 - "unique"
Cohesion: 0.04
Nodes (33): find_id_by_field(), missing(), new_id(), unique(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip() (+25 more)
Cohesion: 0.05
Nodes (28): new_id(), unique(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip(), start(), test_definition_in_use_is_kept() (+20 more)
### Community 16 - "Sequences UI (JS)"
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)
### Community 17 - "bridge_serial.c"
Cohesion: 0.15
Nodes (23): bridge_crc16_update(), bridge_decode_feed(), bridge_encode(), bridge_ports_json(), keepalive_task(), bridge_serial_close(), bridge_serial_follow_mac(), bridge_serial_has_mic() (+15 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)
### Community 18 - "bridge_main.c"
Cohesion: 0.09
Nodes (19): bridge_eth_ip(), bridge_eth_start(), on_eth_down(), on_got_ip(), build_info(), handle_frame(), host_rx_task(), log_hook() (+11 more)
### Community 19 - "led_strip Component Docs"
Cohesion: 0.10
@@ -347,27 +364,35 @@ 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 (11): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), sleep_ms(), ticks_diff() (+3 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.11
Nodes (54): cJSON_free(), net_sta_status(), add_uri(), api_call_work(), api_fn_t, api_http_entry(), api_req_t, api_route_t (+46 more)
### Community 22 - "desktop_main.c"
Cohesion: 0.60
Nodes (3): main(), set_from_env(), usage()
### Community 22 - "rel.c"
Cohesion: 0.14
Nodes (17): engine_groups_push_all(), espnow_tx_send(), full_mask(), handle_rx(), peer_get(), record_done(), rel_peer_status(), rel_send() (+9 more)
### 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)
Nodes (125): list_pulse_sources(), cJSON_GetArrayItem(), cJSON_GetArraySize(), cJSON_GetObjectItem(), cJSON_HasObjectItem(), cJSON_IsArray(), cJSON_IsBool(), cJSON_IsNumber() (+117 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.13
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 - "httpd_handle_t"
Cohesion: 0.23
Nodes (19): httpd_handle_t, httpd_uri_t, httpd_get_global_transport_ctx(), httpd_get_global_user_ctx(), httpd_socket_recv(), httpd_register_uri_handler(), ota_register(), api_register() (+11 more)
### Community 27 - "NoCaseDict"
Cohesion: 0.07
Nodes (4): MultiDict, NoCaseDict, Request, G
### Community 28 - "Devices UI (JS)"
Cohesion: 0.09
@@ -382,16 +407,16 @@ 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.08
Nodes (81): bridge_store_locked(), audio_api_resume_mic(), mic_follow_setting(), all_edit(), area_index(), auth_can(), auth_classify(), auth_enabled_locked() (+73 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)
### Community 32 - "BridgeSim"
Cohesion: 0.15
Nodes (4): BridgeSim, mac_str(), _read_json(), Strip
### 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 (57): cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url(), continue_parsing(), httpd_cookie_key_value() (+49 more)
### Community 34 - "test_sequences.py"
Cohesion: 0.16
@@ -399,27 +424,27 @@ Nodes (29): clock(), make(), presets(), test_beat_and_time_lanes_together(), tes
### 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)
Nodes (62): beat_get_info(), add_id(), advance_time(), anchor_bar(), audio_drives(), beat_task(), bit(), chase_mask() (+54 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)
Cohesion: 0.14
Nodes (23): Art-Net output (UDP 6454), Audio API /api/audio and /audio page routes, Profile/preset/sequence JSON bundles (import/export), Combined brightness (global x groups x device x zone), Devices resource /devices, Driver group membership lists (group ids, z<zone id>), Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback) (+15 more)
### Community 37 - "bridge_serial.c"
### Community 37 - "bridge_sim.py"
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)
Nodes (9): driver_mac(), load_config(), _merge(), sync_patterns(), controller_url(), _get(), _post(), seed() (+1 more)
### Community 38 - "driver_ota.py"
Cohesion: 0.14
Nodes (9): discover(), local_subnet(), main(), discover(), _expand(), _ip(), local_subnet(), ota_drivers() (+1 more)
### Community 39 - "Beat Detection DSP (C)"
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 39 - "esp_wifi.h"
Cohesion: 0.13
Nodes (16): ensure_peer(), tx_task(), ensure_peer(), on_wifi(), tx_task(), esp_now_peer_info_t, esp_now_recv_cb_t, wifi_interface_t (+8 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)
Nodes (84): ctl_task(), udp_task(), xSemaphoreGive(), xSemaphoreTake(), ddp_show(), fx_fn, now_ms(), output() (+76 more)
### Community 41 - "WS2812"
Cohesion: 0.06
@@ -431,7 +456,7 @@ Nodes (13): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet()
### 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)
Nodes (39): active_room_ports(), api_handler(), color_order_ok(), db_root(), dmx_overlaps(), dmx_runs(), ensure_dirs(), find_file() (+31 more)
### Community 44 - "events"
Cohesion: 0.09
@@ -441,9 +466,9 @@ 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 - "xTaskCreate"
Cohesion: 0.07
Nodes (39): app_main(), ctl_open(), mic_start(), udp_open(), httpd_os_thread_create(), httpd_os_thread_handle(), esp_event_loop_create_default(), sem_new() (+31 more)
### Community 47 - "argparse"
Cohesion: 0.10
@@ -453,97 +478,105 @@ Nodes (16): analyze(), edges(), main(), pct(), read(), art_dmx(), effect_frame()
Cohesion: 0.10
Nodes (19): TAG, TOKEN, jobs, release, name, on, push, contents (+11 more)
### Community 52 - "vTaskDelay"
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)
### Community 52 - "beat.c"
Cohesion: 0.07
Nodes (18): beat_start(), beat_dsp_bpm(), dsp_event(), led_off_cb(), led_set(), gpio_mark(), ap_button_held(), gpio_config() (+10 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 55 - "httpd_ws_frame"
Cohesion: 0.25
Nodes (8): httpd_ws_frame, final, fragmented, left_len, len, payload, type, httpd_ws_type_t
### Community 57 - "httpd_config"
### Community 54 - "mcu_host/main/main.c"
Cohesion: 0.06
Nodes (33): httpd_close_func_t, httpd_config, backlog_conn, close_fn, core_id, ctrl_port, enable_so_linger, global_transport_ctx (+25 more)
Nodes (30): main(), set_from_env(), usage(), c6_version(), on_version(), on_ctl(), on_sent(), on_tx() (+22 more)
### Community 55 - "usb_cfg.cpp"
Cohesion: 0.16
Nodes (11): vTaskDelete(), be16(), be32(), ddp_set_enabled(), ddp_sync_task(), ddp_task(), handle_line(), usb_cfg_task() (+3 more)
### Community 57 - "esp_http_server.h"
Cohesion: 0.03
Nodes (65): esp_http_server_event_data, http_method, httpd_close_func_t, httpd_config, backlog_conn, close_fn, core_id, ctrl_port (+57 more)
### Community 58 - "gallery.js"
Cohesion: 0.16
Nodes (30): addPreset(), apply(), applySpec(), banner(), bgField(), buildCard(), checkField(), closeEditor() (+22 more)
### 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)
Cohesion: 0.06
Nodes (40): capture_loop(), capture_thread(), list_alsa_devices(), mic_close(), mic_error(), mic_get_level(), mic_is_open(), mic_list_devices() (+32 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.13
Nodes (21): get_local_ip(), artdmx(), base_room(), ddp(), put(), room(), send(), sim() (+13 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)
### Community 62 - "outputs.c"
Cohesion: 0.13
Nodes (22): colour_role(), dmx_artnet_packet(), dmx_sacn_group(), dmx_sacn_packet(), is_any(), put16(), fail(), fill() (+14 more)
### Community 63 - "Help: Zones & Palette"
Cohesion: 0.13
Nodes (18): Colour Palette (per profile), Zone default preset (default hint), DJ zone starter option, From Palette linked colours, LED driver JSON (presets, select, save, default, manifest), Patterns dialog, POST /presets/send, Preset editor (Try, Save, Send, Manual) (+10 more)
Cohesion: 0.14
Nodes (17): Colour Palette (per profile), Zone default preset (default hint), DJ zone starter option, LED driver JSON (presets, select, save, default, manifest), Patterns dialog, POST /presets/send, Preset editor (Try, Save, Send, Manual), Preset tiles on the zone strip (+9 more)
### Community 64 - "ddp_test.py"
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 65 - "sys"
Cohesion: 0.07
Nodes (7): mpremote_base(), urldecode_bytes(), urldecode_str(), main(), CORSHTTPRequestHandler, info(), upload()
### 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.13
Nodes (30): clear_all_presets(), clamp_leds(), frame_alloc(), patterns_index(), patterns_set_hardware(), patterns_start(), preset_defaults(), build_defaults() (+22 more)
### Community 67 - "auth.js"
Cohesion: 0.15
Nodes (40): accountMenu(), addHeaderButton(), applyPerms(), askLogin(), buildAccount(), byId(), can(), changePassword() (+32 more)
### Community 68 - "cJSON_CreateObject"
### Community 68 - "cJSON_Delete"
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)
Nodes (103): add_item_to_object(), cJSON_AddArrayToObject(), cJSON_AddBoolToObject(), cJSON_AddFalseToObject(), cJSON_AddItemToObject(), cJSON_AddNullToObject(), cJSON_AddNumberToObject(), cJSON_AddObjectToObject() (+95 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.08
Nodes (46): httpd_os_thread_delete(), httpd_os_thread_sleep(), esp_err_to_name(), esp_event_post(), esp_read_mac(), vSemaphoreDelete(), httpd_config_t, httpd_free_ctx_fn_t (+38 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)
### Community 71 - "LedSimulatorApp"
Cohesion: 0.10
Nodes (5): lan_ip(), main(), _hex(), LedSimulatorApp, main()
### 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 75 - "v1 driver messages (long/short keys)"
Cohesion: 0.24
Nodes (8): Controller WebSocket /ws (v1 presets/select), Bench endpoints /test/loss and /test/beats, Binary envelope (main/envelope.c, test/binary_envelope.py), v1 driver messages (long/short keys), WebSocket /ws driver message relay, Lossy-link test (simulated loss, retries, resync), Reliable link (rel: acked unicast, retransmits, ack timeouts), espnow-sender Microdot WebSocket receiver
### Community 74 - "espnow_link.cpp"
Cohesion: 0.08
Nodes (35): Asm, buf, cnt, asm_find(), flags, asm_free(), last_us, lens (+27 more)
### Community 76 - "Controller Overview & OTA Docs"
Cohesion: 0.14
Nodes (17): led_controller ESP-IDF project, Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback), 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Driver app update over ESP-NOW test (tools/driver_ota.py), Logic analyzer latency (marker GPIO, tools/analyze_edges.py) (+9 more)
### Community 75 - "Bench test: S3 controller and one LED driver"
Cohesion: 0.23
Nodes (9): Bench endpoints /test/loss and /test/beats, 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Logic analyzer latency (marker GPIO, tools/analyze_edges.py), Lossy-link test (simulated loss, retries, resync), Reliable link (rel: acked unicast, retransmits, ack timeouts), Bench troubleshooting (serial ports, channel mismatch, blank UI) (+1 more)
### Community 77 - "sys"
Cohesion: 0.07
Nodes (8): mpremote_base(), _default_image(), _info(), ota_update(), main(), main(), info(), upload()
### Community 76 - "DMX Driver Art-Net and serial gateway"
Cohesion: 0.28
Nodes (9): 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), Patterns resource /patterns, www_dist/www.pack embedded web UI, tools/build_web.sh web UI packer (+1 more)
### Community 77 - "transport.py"
Cohesion: 0.16
Nodes (3): _convert_filesystem_error(), stdout_write_bytes(), Transport
### Community 78 - "sim_split.js"
Cohesion: 0.30
@@ -553,7 +586,11 @@ Nodes (20): addMenuEntries(), applyWidth(), attachSwipe(), build(), clampWidth()
Cohesion: 0.16
Nodes (16): /audio.wav live PCM stream, bar() bar-position renderer, /beats SSE event stream, draw() timeline canvas, Listen button (WAV stream playback via AudioContext), median(), Audio and beats page (/audio), stats() tap vs computer agreement (+8 more)
### Community 80 - "artnet_dmx.py"
### Community 80 - "OutputManager"
Cohesion: 0.18
Nodes (3): main(), output_tick(), OutputManager
### Community 81 - "artnet_dmx.py"
Cohesion: 0.26
Nodes (9): parse(), _assert_eq(), main(), test_artnet_send_loopback(), test_build_artdmx(), test_fixture_patch(), test_pattern_blink_and_select(), test_pattern_upload() (+1 more)
@@ -566,36 +603,36 @@ Cohesion: 0.17
Nodes (22): applyCto(), beamColour(), canMode(), canView(), decodeCan(), decodeCanNamed(), decodeMover(), decodeMoverNamed() (+14 more)
### Community 84 - "test_groups.py"
Cohesion: 0.13
Nodes (4): device(), group(), test_group_identify_needs_devices(), test_profile_scoped_group()
Cohesion: 0.09
Nodes (9): find_id_by_field(), missing(), test_scenes(), device(), group(), test_crud(), test_group_identify_needs_devices(), test_profile_scoped_group() (+1 more)
### Community 85 - "ESP-NOW Sender Bridge"
Cohesion: 0.20
Nodes (10): ap(), _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws() (+2 more)
Cohesion: 0.29
Nodes (9): _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws(), format_mac() (+1 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 - "httpd_req_t"
Cohesion: 0.11
Nodes (64): cJSON_AddItemReferenceToObject(), cJSON_DeleteItemFromObject(), cJSON_IsFalse(), httpd_req_t, api_body(), api_body_opt(), api_current_profile(), api_error() (+56 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)
### Community 90 - "Sender"
Cohesion: 0.14
Nodes (4): run_interactive(), handle(), show_menu(), Sender
### Community 92 - "mdns_host.c"
Cohesion: 0.27
Nodes (10): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+2 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 - "httpd_resp_set_type"
Cohesion: 0.07
Nodes (37): esp_app_get_description(), httpd_resp_send_500(), httpd_resp_sendstr(), httpd_recv(), httpd_req_recv(), httpd_resp_set_type(), fail(), ota_confirm_later() (+29 more)
### Community 95 - "test_dmx_bridge.py"
Cohesion: 0.11
@@ -605,17 +642,17 @@ Nodes (30): artnet(), bridge_status(), can_def(), drain(), local(), play(), done
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)
### 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)
Cohesion: 0.25
Nodes (7): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protocol, Running the controller against it, USB ESP-NOW bridge
### 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.11
Nodes (59): cJSON_AddItemToArray(), cJSON_CreateArray(), cJSON_CreateNull(), cJSON_CreateString(), cJSON_CreateStringArray(), cJSON_Duplicate(), cJSON_IsObject(), cJSON_Parse() (+51 more)
### Community 100 - "bridge_dmx.c"
Cohesion: 0.10
Nodes (26): bridge_mac_is_dmx(), apply_config(), bridge_dmx_close(), bridge_dmx_open(), bridge_dmx_owns_mac(), bridge_dmx_reload(), bridge_dmx_send(), close_inputs() (+18 more)
### Community 101 - "Groups UI (JS)"
Cohesion: 0.29
@@ -637,9 +674,9 @@ Nodes (11): Pattern Selector Mockup (Select LED Pattern), Apply Pattern / Cancel
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)
### Community 106 - "esp_httpd_priv.h"
Cohesion: 0.07
Nodes (16): httpd_method_t, httpd_uri, method, uri, user_ctx, httpd_req, httpd_session_enum_function, thread_data (+8 more)
### Community 107 - "main"
Cohesion: 0.18
@@ -706,8 +743,8 @@ 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 (23): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_frame_t, httpd_recv_opt_t, httpd_queue_work(), httpd_recv_pending() (+15 more)
### Community 125 - "led_strip_spi_dev.c"
Cohesion: 0.06
@@ -717,10 +754,6 @@ Nodes (39): heap_caps_calloc(), app_main(), app_main(), configure_led(), app_mai
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 129 - "Colour Picker Demo Image"
Cohesion: 0.33
Nodes (6): Custom Color Picker Demo (screenshot), Hex and RGB input support, HSB (Hue, Saturation, Brightness) color model, Keyboard accessible, customizable styling, Multiple Color Pickers for LED Patterns, Single Color Picker
@@ -729,25 +762,21 @@ 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 131 - "layout.py"
Cohesion: 0.24
Nodes (7): normalise_layout(), _reversed_for_column(), rig_placements(), side_name(), strip_count(), strip_places(), StripPlace
### 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 - "led-controller on a desktop"
Cohesion: 0.33
Nodes (5): Build and run, How it is built, Install as a service (.deb), led-controller on a desktop, Limits
### 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()
Cohesion: 0.08
Nodes (8): _default_image(), _info(), ota_update(), HttpDevice, IdfError, _default_image(), _info(), ota_update()
### Community 137 - "events"
Cohesion: 0.09
@@ -759,7 +788,7 @@ Nodes (6): Colour Palette modal mockup (help image), Add Swatch (+) Button, Colo
### 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)
Nodes (28): heap_caps_malloc(), esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write() (+20 more)
### Community 140 - "LED Driver README"
Cohesion: 0.47
@@ -775,7 +804,7 @@ Nodes (5): dependencies, espressif/led_strip, idf, override_path, version
### Community 143 - "test_rig_sim.py"
Cohesion: 0.10
Nodes (29): rig_placements(), all_dark(), col_of(), frames(), led_x(), lit(), mac(), make_preset() (+21 more)
Nodes (28): all_dark(), col_of(), frames(), led_x(), lit(), mac(), make_preset(), need_sim() (+20 more)
### Community 145 - "Help PDF: Modes"
Cohesion: 0.40
@@ -817,46 +846,70 @@ Nodes (12): _expand(), _preset_from_map(), process_data(), _select_entries(), _t
Cohesion: 0.20
Nodes (10): httpd_req, aux, content_len, free_ctx, handle, ignore_sess_ctx_changes, method, sess_ctx (+2 more)
### Community 168 - "espnow_tx_beat"
Cohesion: 0.17
Nodes (12): bench_on_beat_tx(), bench_on_echo(), bench_running(), gen_cb(), bridge_active(), bulk_task(), espnow_tx_beat(), espnow_tx_drop() (+4 more)
### Community 170 - "dependencies"
Cohesion: 0.16
Nodes (13): dependencies, espressif/cjson, espressif/mdns, espressif/w5500, joltwallet/littlefs, version, rules, version (+5 more)
Cohesion: 0.12
Nodes (19): dependencies, espressif/cjson, espressif/esp_codec_dev, espressif/esp_hosted, espressif/esp_wifi_remote, espressif/mdns, joltwallet/littlefs, version (+11 more)
### Community 171 - "List Search (JS)"
Cohesion: 0.83
Nodes (3): applyListSearch(), initListSearch(), rowSearchText()
### Community 177 - "sock_db"
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 177 - "SerialDMX"
Cohesion: 0.20
Nodes (3): SerialDMX, sleep(), ap()
### 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 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)
Cohesion: 0.09
Nodes (42): httpd_err_code_t, httpd_err_handler_func_t, httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_sendstr_chunk(), httpd_default_recv(), httpd_default_send(), httpd_register_err_handler() (+34 more)
### Community 197 - "websocket.py"
Cohesion: 0.19
Nodes (6): wraps(), print_exception(), websocket_upgrade(), websocket_wrapper(), wrapper(), with_websocket()
### 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.12
Nodes (4): SerialIntercept, SerialTransport, TransportError, TransportExecError
### 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()
### Community 205 - "dependencies"
Cohesion: 0.33
Nodes (5): dependencies, espressif/esp_hosted, idf, version, version
### Community 206 - "led-tool / led-cli serial device CLI"
Cohesion: 0.40
Nodes (4): Driver app update over ESP-NOW test (tools/driver_ota.py), led-tool / led-cli serial device CLI, led-cli --ota controller update over Ethernet, driver settings.json (mpremote download/merge/upload)
### 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
Nodes (3): can(), mover(), universe()
@@ -865,13 +918,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.12
Nodes (13): Blink, Pulse, call(), main(), switch(), wifi_state(), sleep(), sleep_ms() (+5 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.09
Nodes (46): load_channel(), set_channel(), string, ctrl_init(), save_groups(), get_str(), settings_load_hw(), settings_load_wifi() (+38 more)
### Community 227 - "dependencies"
Cohesion: 0.33
@@ -885,32 +938,76 @@ Nodes (4): boot(), exit(), log(), startPixels()
Cohesion: 0.42
Nodes (5): fixtureEnd(), fixtureLeds(), heading(), isPoint(), roomStrips()
### 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 241 - "ctrl_msg.cpp"
Cohesion: 0.20
Nodes (14): apply_device_config(), cstr(), ctrl_build_announce(), ctrl_handle(), expand_v1(), handle_env(), in_group(), KeyName (+6 more)
### Community 246 - "ctrl_msg.cpp"
### Community 242 - "v1 driver messages (long/short keys)"
Cohesion: 0.40
Nodes (5): Controller WebSocket /ws (v1 presets/select), Binary envelope (main/envelope.c, test/binary_envelope.py), v1 driver messages (long/short keys), WebSocket /ws driver message relay, espnow-sender Microdot WebSocket receiver
### Community 246 - "src/main.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)
Nodes (28): main(), read_file(), send_msg(), sim_host_flash(), sim_host_restart(), sim_host_tx(), write_all(), patterns_output_level() (+20 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
### Community 257 - "net.cpp"
Cohesion: 0.11
Nodes (29): ddp_start(), espnow_link_start(), app_main(), ap_switch_later(), ap_timer_cb(), apply_ap(), apply_client_ip(), apply_sta_config() (+21 more)
### Community 259 - "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 260 - "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 261 - "Response"
Cohesion: 0.09
Nodes (6): HTTPException, invoke_handler(), iscoroutine(), Response, aclose(), __anext__()
### Community 262 - "bridge_hosted.c"
Cohesion: 0.15
Nodes (20): vTaskDelay(), bridge_hosted_send(), bridge_hosted_set_channel(), bridge_hosted_set_rx(), bridge_hosted_status(), bridge_hosted_udp_start(), build_udp_info(), ctl_send() (+12 more)
### Community 263 - "patterns.c"
Cohesion: 0.26
Nodes (19): add_name(), all_patterns(), base_name(), builtin(), create_driver_pattern(), create_pattern(), exists(), file_names() (+11 more)
### Community 268 - "led-controller ESP32-S3 firmware"
Cohesion: 0.13
Nodes (14): led_controller ESP-IDF project, /db collection export and replace, Back to the factory demo, Build and flash, Controller on the Waveshare ESP32-P4-Nano, Network, Pins (from the Waveshare wiki and BSP), Using it as a network bridge from the desktop (+6 more)
### Community 272 - "dependencies"
Cohesion: 0.50
Nodes (3): dependencies, espressif/esp_hosted, version
## 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; 1581 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **97 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._
- **Why does `cJSON` connect `cJSON` to `cJSON_GetObjectItem`, `cJSON_Delete`, `bridge_dmx.c`, `seqplay.c`, `patterns.c`, `esp_err.h`, `cJSON_Delete`, `ctrl_msg.cpp`, `web.cpp`, `httpd_req_t`, `cJSON`, `outputs.c`, `nvs_open`, `httpd_resp_set_type`, `auth.c`?**
_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 `led-controller ESP32-S3 firmware` connect `led-controller ESP32-S3 firmware` to `led-controller ESP32-S3 firmware`, `API Docs: Outputs & Audio`, `led-controller on a desktop`, `Bench test: S3 controller and one LED driver`, `DMX Driver Art-Net and serial gateway`, `led-tool / led-cli serial device CLI`, `v1 driver messages (long/short keys)`?**
_High betweenness centrality (0.012) - 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?**