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

+26 -14
View File
@@ -1,9 +1,10 @@
# Build, flash and monitor the ESP32-S3 controller (ESP-IDF in Docker). # Build, flash and monitor the controller on the Waveshare ESP32-P4-Nano (ESP-IDF in Docker; docs/P4_NANO.md).
# The S3 is only a bridge board now (bridge/, make bridge-build).
# #
# make build, flash, then monitor (same as: make all) # make build, flash, then monitor (same as: make all)
# make help list the targets # make help list the targets
# make build minify the web UI, then build the firmware # make build minify the web UI, then build the C6 radio firmware and the controller
# make flash flash the last build to the S3 (does not build) # make flash flash the last build to the P4 (does not build)
# make monitor serial console (Ctrl-] to quit) # make monitor serial console (Ctrl-] to quit)
# make flash-monitor # make flash-monitor
# #
@@ -28,30 +29,33 @@ FIX_OWNER = chown -R $(OWNER) /project
# targets stop while one runs; FORCE=1 flashes anyway. -x matches the process name, cut to 15 characters. # targets stop while one runs; FORCE=1 flashes anyway. -x matches the process name, cut to 15 characters.
APP_PROCS := led-controller|led_controller_ APP_PROCS := led-controller|led_controller_
.PHONY: c6-build
.PHONY: all help no-app web build flash ota monitor flash-monitor log size menuconfig clean fullclean erase test test-driver test-envelope test-api test-browser sim-build sim sim-wasm sim-pack sim-web test-sim .PHONY: all help no-app web build flash ota monitor flash-monitor log size menuconfig clean fullclean erase test test-driver test-envelope test-api test-browser sim-build sim sim-wasm sim-pack sim-web test-sim
# Default target: build, flash, then open the console (run in order, so not with make -j) # Default target: build, flash, then open the console (run in order, so not with make -j)
all: build flash monitor all: build flash monitor
help: help:
@echo "LED controller (ESP32-S3):" @echo "LED controller (Waveshare ESP32-P4-Nano, docs/P4_NANO.md):"
@echo " make [all] build, flash, then open the console" @echo " make [all] build, flash, then open the console"
@echo " make build minify + gzip the web UI, then build the firmware" @echo " make build minify + gzip the web UI, then build the C6 radio (radio-c6/) and the controller"
@echo " make flash flash the last build (firmware and web UI) to PORT ($(PORT)); does not build" @echo " make flash flash the last build to PORT ($(PORT)), the C6 image included (loaded onto the"
@echo " make ota [HOST=ip] build, then upload the firmware (web UI included) over Ethernet (no USB);" @echo " C6 at boot); does not build"
@echo " HOST defaults to led-controller.local" @echo " make ota [HOST=ip] build, then upload the firmware (web UI included, not the C6 image) over Ethernet;"
@echo " HOST defaults to 192.168.50.20"
@echo " make monitor serial console on PORT (Ctrl-] to quit)" @echo " make monitor serial console on PORT (Ctrl-] to quit)"
@echo " make flash-monitor flash the last build, then open the console" @echo " make flash-monitor flash the last build, then open the console"
@echo " make log [SECS=10] print the console for SECS seconds and exit (no terminal needed)" @echo " make log [SECS=10] print the console for SECS seconds and exit (no terminal needed)"
@echo " make web only rebuild the web UI (needs node/npx)" @echo " make web only rebuild the web UI (needs node/npx)"
@echo " make size memory use of the last build" @echo " make size memory use of the last build"
@echo " make menuconfig change the ESP-NOW channel, marker pin, W5500 pins, ..." @echo " make menuconfig change the ESP-NOW channel, default IP, codec pins, ..."
@echo " make erase erase the whole flash (loses the stored data)" @echo " make erase erase the whole flash (loses the stored data)"
@echo " make clean remove the build directory (keeps sdkconfig)" @echo " make clean remove the build directories (keeps sdkconfig)"
@echo " make fullclean also remove sdkconfig and the web UI output" @echo " make fullclean also remove sdkconfig and the web UI output"
@echo " make test driver unit tests + C/Python envelope cross-check" @echo " make test driver unit tests + C/Python envelope cross-check"
@echo " make test-api HOST=ip HTTP API tests against a running controller (data restored afterwards)" @echo " make test-api HOST=ip HTTP API tests against a running controller (data restored afterwards)"
@echo " make test-browser HOST=ip Selenium UI tests against a running controller (needs selenium + chromedriver)" @echo " make test-browser HOST=ip Selenium UI tests against a running controller (needs selenium + chromedriver)"
@echo "USB/network ESP-NOW bridge boards (bridge/): make bridge-build, bridge-flash-s3 / bridge-flash-c3 BRIDGE=port"
@echo "Simulated rig (no hardware): the controller built for linux + led-simulator's 16 drivers over a UDP bridge" @echo "Simulated rig (no hardware): the controller built for linux + led-simulator's 16 drivers over a UDP bridge"
@echo " make sim-build build the controller for the host (sim-controller/build/led_controller_sim.elf)" @echo " make sim-build build the controller for the host (sim-controller/build/led_controller_sim.elf)"
@echo " make sim build, then run the headless rig and the controller (http://localhost:8080/)" @echo " make sim build, then run the headless rig and the controller (http://localhost:8080/)"
@@ -70,7 +74,14 @@ web:
# change just relinks), so drop its object and every build gets the current time. # change just relinks), so drop its object and every build gets the current time.
APP_DESC_OBJ = build/esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj APP_DESC_OBJ = build/esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj
build: web # The C6 radio firmware (radio-c6/): flash writes it to the slave_fw partition, and the controller loads it onto
# the C6 when the C6 runs anything else (main/c6_update.c)
SLAVE_FW_OFFSET = 0xE40000
c6-build:
$(DOCKER_RUN) $(IDF_IMAGE) bash -c 'cd radio-c6; if [ ! -f build/CMakeCache.txt ]; then idf.py set-target esp32c6; fi; idf.py build; rc=$$?; $(FIX_OWNER); exit $$rc'
build: web sim-pack c6-build
$(DOCKER_RUN) $(IDF_IMAGE) bash -c 'rm -f $(APP_DESC_OBJ); idf.py build; rc=$$?; $(FIX_OWNER); exit $$rc' $(DOCKER_RUN) $(IDF_IMAGE) bash -c 'rm -f $(APP_DESC_OBJ); idf.py build; rc=$$?; $(FIX_OWNER); exit $$rc'
no-app: no-app:
@@ -80,10 +91,11 @@ no-app:
exit 1; \ exit 1; \
fi fi
# The controller, then the C6 image (esptool checks an image's chip, hence --force for the C6 one)
flash: no-app flash: no-app
$(DOCKER_RUN) $(DEVICE) $(IDF_IMAGE) bash -c 'idf.py -p $(PORT) flash; rc=$$?; $(FIX_OWNER); exit $$rc' $(DOCKER_RUN) $(DEVICE) $(IDF_IMAGE) bash -c 'idf.py -p $(PORT) flash && esptool --chip esp32p4 -p $(PORT) -b 921600 write-flash --force $(SLAVE_FW_OFFSET) radio-c6/build/radio_c6.bin; rc=$$?; $(FIX_OWNER); exit $$rc'
ota: HOST ?= led-controller.local ota: HOST ?= 192.168.50.20
ota: build ota: build
python3 tools/ota.py $(HOST) python3 tools/ota.py $(HOST)
@@ -106,7 +118,7 @@ erase: no-app
$(DOCKER_RUN) $(DEVICE) $(IDF_IMAGE) idf.py -p $(PORT) erase-flash $(DOCKER_RUN) $(DEVICE) $(IDF_IMAGE) idf.py -p $(PORT) erase-flash
clean: clean:
rm -rf build rm -rf build radio-c6/build
fullclean: clean fullclean: clean
rm -rf sdkconfig sdkconfig.old www_dist rm -rf sdkconfig sdkconfig.old www_dist
+5 -5
View File
@@ -1,15 +1,15 @@
# led-controller # led-controller
ESP32-S3 controller for LED drivers: W5500 Ethernet, web UI, I2S microphone beat detection and an ESP-NOW link to the drivers. The firmware is C (ESP-IDF) at the repository root; see [`docs/BENCH_TEST.md`](docs/BENCH_TEST.md) for the bench tests. Controller for LED drivers on a Waveshare ESP32-P4-Nano: Ethernet, web UI, microphone beat detection and an ESP-NOW link to the drivers through the board's ESP32-C6 ([`docs/P4_NANO.md`](docs/P4_NANO.md)). The firmware is C (ESP-IDF) at the repository root; see [`docs/BENCH_TEST.md`](docs/BENCH_TEST.md) for the bench tests. The ESP32-S3 is only used as a bridge board now ([`bridge/`](bridge/README.md)).
It keeps profiles, zones, presets, device groups, sequences, palettes, patterns and outputs in its flash, and serves the web UI and JSON API ([`docs/API.md`](docs/API.md)). Zones play to device groups. Sequences advance on the beats the microphone detects, or on a BPM clock while audio is stopped. Profiles, presets and sequences import and export as JSON bundles. It keeps profiles, zones, presets, device groups, sequences, palettes, patterns and outputs in its flash, and serves the web UI and JSON API ([`docs/API.md`](docs/API.md)). Zones play to device groups. Sequences advance on the beats the microphone detects, or on a BPM clock while audio is stopped. Profiles, presets and sequences import and export as JSON bundles.
## Build and flash ## Build and flash
```bash ```bash
make build # minify the web UI from web/, then build the firmware (ESP-IDF in Docker) make build # minify the web UI from web/, then build the C6 radio and the controller (ESP-IDF in Docker)
make flash # flash over USB make flash # flash over USB (the controller and the C6 image)
make ota [HOST=<ip>] # update firmware (web UI included) over Ethernet, no USB (POST /ota); HOST defaults to led-controller.local make ota [HOST=<ip>] # update firmware (web UI included) over Ethernet, no USB (POST /ota); HOST defaults to 192.168.50.20
make monitor # serial console make monitor # serial console
make test # driver unit tests and the C/Python envelope cross-check make test # driver unit tests and the C/Python envelope cross-check
make test-api HOST=<ip> # HTTP API tests against a running controller (its data is restored afterwards) make test-api HOST=<ip> # HTTP API tests against a running controller (its data is restored afterwards)
@@ -42,7 +42,7 @@ The controller advertises `<hostname>.local` over mDNS (default `led-controller`
`static_ips` is a list of networks to try, in order, each time the Ethernet link comes up. The first entry whose gateway answers ARP is used; if none does (or the list is empty) the controller uses DHCP. `netmask` defaults to `255.255.255.0`, `dns` to the gateway. `static_ips` is a list of networks to try, in order, each time the Ethernet link comes up. The first entry whose gateway answers ARP is used; if none does (or the list is empty) the controller uses DHCP. `netmask` defaults to `255.255.255.0`, `dns` to the gateway.
If DHCP gets no answer within 15 seconds, the controller takes `192.168.4.1/24`. For a cable straight from a PC, give the PC a static IP on that subnet, such as `192.168.4.2/24`, and open `http://192.168.4.1/`. The controller tries DHCP again only when the link next comes up. If DHCP gets no answer within 5 seconds, the controller takes `192.168.50.20/24` (menuconfig "ESP32-P4-Nano board"). For a cable straight from a PC, give the PC a static IP on that subnet, such as `192.168.50.10/24`, and open `http://192.168.50.20/`. The controller tries DHCP again only when the link next comes up.
```bash ```bash
curl -X PUT http://led-controller.local/settings/settings -H 'Content-Type: application/json' -d '{ curl -X PUT http://led-controller.local/settings/settings -H 'Content-Type: application/json' -d '{
+30
View File
@@ -0,0 +1,30 @@
/*
* The ESP32-P4-Nano's built-in radio: the P4 controller (main/bridge_hosted.c) and the ESP32-C6 next to it
* (radio-c6/) talk over esp-hosted's peer-data channel (SDIO), one message = msg_id + bytes.
*
* RADIO_MSG_TX P4 -> C6 a batch of frames to send on ESP-NOW
* RADIO_MSG_RX C6 -> P4 a batch of frames heard on ESP-NOW
* RADIO_MSG_CTL P4 -> C6 one bridge_proto message without SLIP or CRC: [type][body]
* (BRIDGE_MSG_HELLO, BRIDGE_MSG_SET_CHANNEL); both are answered with INFO
* RADIO_MSG_INFO C6 -> P4 the bridge_proto INFO body (BRIDGE_INFO_LEN bytes)
* RADIO_MSG_VERSION C6 -> P4 radio-c6's version (RADIO_CTL_VERSION asks for it)
*
* A batch is entries of mac(6) + len(1) + data(len), back to back: dst_mac going down, src_mac coming up.
* Each RPC costs a round trip over SDIO, so both sides pack every frame that is waiting into one message.
*/
#pragma once
#include <stdint.h>
#define RADIO_MSG_TX 0x52430001u
#define RADIO_MSG_RX 0x52430002u
#define RADIO_MSG_CTL 0x52430003u
#define RADIO_MSG_INFO 0x52430004u
#define RADIO_MSG_VERSION 0x52430005u // C6 -> P4: radio-c6's app version string, the answer to RADIO_CTL_VERSION
// RADIO_MSG_CTL types of its own, next to the bridge_proto ones
#define RADIO_CTL_VERSION 0x50 // ask for RADIO_MSG_VERSION. esp-hosted's own app description does not carry the
// C6 app's version (it reports esp-hosted's), so the P4 asks this way.
#define RADIO_BATCH_MAX 1536 // bytes per batch message
#define RADIO_ENTRY_HDR 7 // mac + len
+120 -22
View File
@@ -9,8 +9,114 @@ dependencies:
registry_url: https://components.espressif.com/ registry_url: https://components.espressif.com/
type: service type: service
version: 1.7.19~2 version: 1.7.19~2
espressif/eppp_link:
component_hash: c1369b37f2b0b427b198ae14e07e7547d3da92b95fe4dc7f949e5de560b35f21
dependencies:
- name: espressif/esp_serial_slave_link
registry_url: https://components.espressif.com
require: private
version: ^1.1.0
- name: idf
require: private
version: '>=5.2'
source:
registry_url: https://components.espressif.com
type: service
version: 1.1.6
espressif/esp_codec_dev:
component_hash: 4779f31a3ba3f9b38aee1afe6ccb9ba8f6108dc3a6e77d39d7d714e9a215371b
dependencies:
- name: idf
require: private
version: '>=4.0'
source:
registry_url: https://components.espressif.com/
type: service
version: 1.6.2
espressif/esp_hosted:
component_hash: 22b08509494d4465f0e2f91ee16973d76fe90d5a930fa3910b7a43615db001bf
dependencies:
- name: cherry-embedded/cherryusb
registry_url: https://components.espressif.com
require: private
rules:
- if: target in [esp32p4]
- if: $CONFIG{ESP_HOSTED_HOST_USB_CHERRYUSB_MANIFEST} == 1
version: '>=1.6.0'
- name: espressif/esp_tinyusb
registry_url: https://components.espressif.com
require: private
rules:
- if: target in [esp32s2, esp32s3, esp32s31]
- if: $CONFIG{ESP_HOSTED_CP_TINYUSB_MANIFEST} == 1
version: '*'
- name: espressif/iot_usbh_rndis
registry_url: https://components.espressif.com
require: private
rules:
- if: target in [esp32p4]
- if: $CONFIG{ESP_HOSTED_HOST_USB_RNDIS_MANIFEST} == 1
version: ^0.5.2
- name: espressif/usb_host_cdc_acm
registry_url: https://components.espressif.com
require: private
rules:
- if: target in [esp32p4]
- if: $CONFIG{ESP_HOSTED_HOST_USB_CDC_ACM_MANIFEST} == 1
version: '*'
- name: idf
require: private
version: '>=5.5'
source:
registry_url: https://components.espressif.com/
type: service
targets:
- esp32
- esp32s2
- esp32s3
- esp32s31
- esp32c2
- esp32c3
- esp32c5
- esp32c6
- esp32c61
- esp32h2
- esp32h4
- esp32h21
- esp32p4
version: 3.1.0
espressif/esp_serial_slave_link:
component_hash: ac1776806de0a6e371c84e87898bb983e19ce62aa7f1e2e5c4a3b0234a575d2c
dependencies:
- name: idf
require: private
version: '>=5.0'
source:
registry_url: https://components.espressif.com
type: service
version: 1.1.2
espressif/esp_wifi_remote:
component_hash: faa185898a843b9d7d0456e4094a3b5f1491a48ddd57ce0e5179e13ac6243f2c
dependencies:
- name: espressif/esp_hosted
registry_url: https://components.espressif.com
require: private
rules:
- if: target in [esp32h2, esp32p4]
version: '>=2.11'
- name: espressif/wifi_remote_over_eppp
registry_url: https://components.espressif.com
require: private
version: '>=0.1'
- name: idf
require: private
version: '>=5.3'
source:
registry_url: https://components.espressif.com/
type: service
version: 1.6.5
espressif/mdns: espressif/mdns:
component_hash: ef0766474b37459f6ad22461e453a8713e780e831a7c993b16919d817988dff6 component_hash: 2fa43caa78cc170842255bc7bf71f306bc815cae12e9496bfb12372423019ac7
dependencies: dependencies:
- name: idf - name: idf
require: private require: private
@@ -18,37 +124,27 @@ dependencies:
source: source:
registry_url: https://components.espressif.com/ registry_url: https://components.espressif.com/
type: service type: service
version: 1.14.1 version: 1.15.1
espressif/w5500: espressif/wifi_remote_over_eppp:
component_hash: f76a95ce7a6029cf93aa39d47067588b24263852031f11c71e5d192ad915ec07 component_hash: 1fd6968af20f0b19e421f6b519b0a8caf81d689afc3783b564c28559e45f66ef
dependencies: dependencies:
- name: espressif/wiznet_common - name: espressif/eppp_link
registry_url: https://components.espressif.com registry_url: https://components.espressif.com
require: private require: private
version: ^1.1.0 version: '>=0.1'
- name: idf
require: private
version: '>=6.0'
source:
registry_url: https://components.espressif.com/
type: service
version: 2.0.1
espressif/wiznet_common:
component_hash: c32814cb872f0dca09f0c97ab231f9264a65bacc13fab6baf65f71959269a73d
dependencies:
- name: idf - name: idf
require: private require: private
version: '>=5.3' version: '>=5.3'
source: source:
registry_url: https://components.espressif.com registry_url: https://components.espressif.com
type: service type: service
version: 1.1.0 version: 0.3.3
idf: idf:
source: source:
type: idf type: idf
version: 6.1.0 version: 6.1.0
joltwallet/littlefs: joltwallet/littlefs:
component_hash: e1a0f4a6adf821759cb34703a91107bbdce5d7ff6f4728f40ab012bb87842974 component_hash: f633efcd615b58206ec1b131591f7fc5b212716603ebc24697900aab71e9d3bd
dependencies: dependencies:
- name: idf - name: idf
require: private require: private
@@ -56,12 +152,14 @@ dependencies:
source: source:
registry_url: https://components.espressif.com/ registry_url: https://components.espressif.com/
type: service type: service
version: 1.23.1 version: 1.23.3
direct_dependencies: direct_dependencies:
- espressif/cjson - espressif/cjson
- espressif/esp_codec_dev
- espressif/esp_hosted
- espressif/esp_wifi_remote
- espressif/mdns - espressif/mdns
- espressif/w5500
- joltwallet/littlefs - joltwallet/littlefs
manifest_hash: d66adeab020ae08629bcb8999b623eb65117c51257a671ab53bd5dc8e8045975 manifest_hash: b8b36fd03821595d988d2bd37612929f7e379c76b2523084bc298e95e3381e17
target: esp32s3 target: esp32p4
version: 3.0.0 version: 3.0.0
+98
View File
@@ -0,0 +1,98 @@
# Controller on the Waveshare ESP32-P4-Nano
The v2 controller (`main/`) runs on the Waveshare ESP32-P4-Nano; it no longer builds for the ESP32-S3, which is
now only a bridge board (`bridge/`). The P4 has no radio. The ESP32-C6
on the board supplies Wi-Fi through esp-hosted over SDIO, and ESP-NOW through `radio-c6/`, our firmware for
the C6.
```
Ethernet (IP101, RMII) SDIO (esp-hosted 3.1)
PC <-------------------------------> ESP32-P4 <-------------------------------> ESP32-C6 ~~ ESP-NOW ~~> drivers
192.168.50.10 web UI, API, controller Wi-Fi RPC + peer data radio-c6/
UDP bridge (main/) (bridge/main/radio_proto.h)
```
- **Wi-Fi** (the access point, Wi-Fi drivers): `esp_wifi_remote` runs the C6's Wi-Fi from the P4 as if it were
local.
- **ESP-NOW:** esp-hosted does not forward it. The controller treats the C6 as a bridge called `c6`, which is
always present on this target, in `main/bridge_hosted.c`. Frames go to the C6 in batches over esp-hosted's
peer-data channel. `radio-c6/main/radio_now.c` sends them one at a time and sends every frame it hears back
to the P4. It does the same job as the USB bridge in `bridge/`, but over SDIO.
- **Microphone:** the on-board mic goes through the ES8311 codec, set up over I2C with `esp_codec_dev`. The
rest of the mic path (levels, beat detection, streaming) runs on the P4.
- **Status:** `GET /status` lists the `c6` bridge (kind `c6`). It shows whether the C6 is linked, its MAC and
channel, its counters, and which desktop is using the radio, if any.
## Build and flash
Use ESP-IDF v6.1 (`espressif/idf:v6.1`). The settings are `sdkconfig.defaults` and the partition table is
`partitions.csv`.
```bash
make build # the web UI, radio-c6/ (C6) and the controller (P4)
make flash PORT=/dev/ttyACM0 # the controller, plus the C6 image into the slave_fw partition
make log PORT=/dev/ttyACM0 # the console for 10 s (the board's USB-C port is a CH343 UART)
make ota HOST=192.168.50.20 # later updates over Ethernet (not the C6 image: flash for that)
```
`radio-c6/` takes its version (`rc6-<hash>`) from its sources. At boot, the controller compares that version
with what the C6 reports (`main/c6_update.c`). When they differ, it sends the image from `slave_fw` to the C6
over esp-hosted OTA and restarts the board. This takes about 10 seconds, and only happens on the first boot
after a change. Never put the one-off updater in `scripts/c6-ota/host-v2` on the board again: it updates the
C6 on every boot.
## Network
The board sits on a cable straight to the PC (192.168.50.10), so there is no DHCP server. At boot it tries:
1. the settings `static_ips`
2. DHCP, for 5 seconds
3. **192.168.50.20/24**, with no gateway (menuconfig "ESP32-P4-Nano")
The web UI is at http://192.168.50.20/.
## Using it as a network bridge from the desktop
The P4 also speaks the network bridge protocol, the same one as a bridge board with Ethernet (see
`bridge/README.md`):
- UDP 8766 carries frames.
- UDP 8767 carries HELLO/INFO and the microphone.
In the desktop led-controller, add the bridge `192.168.50.20:8766` (settings
`"bridges": ["192.168.50.20:8766"]`). The desktop's drivers then go out over the C6, and the desktop can use
the Nano's microphone as the bridge board's mic.
While a desktop is sending, the P4's own controller frames are dropped, so the drivers only hear the desktop.
The P4 logs the hand-over. When the desktop has been quiet for 2 seconds, the P4's controller takes the radio
back.
## Pins (from the Waveshare wiki and BSP)
| What | GPIO |
| --- | --- |
| Ethernet: MDC, MDIO, PHY reset, 50 MHz REF_CLK in | 31, 52, 51, 50 |
| RMII: TXD0, TXD1, TX_EN, RXD0, RXD1, CRS_DV | 34, 35, 49, 30, 29, 28 (IDF's P4 defaults) |
| ES8311: I2C SDA, SCL (address 0x18) | 7, 8 |
| ES8311: I2S MCLK, BCLK, WS, ADC data in | 13, 12, 10, 11 |
| C6 over SDIO: CLK, CMD, D0-D3, C6 reset | 18, 19, 14-17, 54 |
The board has no user button or user LED, so the AP button and beat LED are off.
## Back to the factory demo
The board's original 16 MB flash is saved in `~/esp-backups/p4-nano-factory-e8f60ae851f8.bin`:
```bash
docker run --rm --device=/dev/ttyACM0 -v ~/esp-backups:/b espressif/idf:v6.1 esptool -p /dev/ttyACM0 -b 921600 write-flash 0 /b/p4-nano-factory-e8f60ae851f8.bin
```
The C6 keeps running `radio-c6`. Waveshare's demo uses an older esp-hosted, which may not work with it.
## Simulator
The board serves the same simulated rig as the desktop at `/sim/` (Menu > Simulator). The bars run in the browser and
get the controller's frames from the `browser` bridge, which is always on next to `c6`. Frames addressed to simulated
bars (MACs starting 02:51:4d) are not sent over the C6. A page that reads too slowly loses frames; the radio does not
wait for it. Rooms and the bars' flash are in `/db/sim`.
`make build` packs the page from `led-simulator/web`. The bars' WebAssembly comes from `make sim-wasm`; without it
`/sim/` only says how to build it.
+1 -1
View File
@@ -1 +1 @@
{"ambiguous_scale": "", "code_only": false, "epoch": "v0.9.101-s36-g1339418af9f9", "excludes": [], "follow_symlinks": false, "full_clean": true, "gitignore": true, "graph_mtime_ns": 1795480606940781875, "graph_size": 6244200, "html_present": true, "no_cluster": false, "rcfile": "", "scan_digest": "bb445f03887deebd91c2bfb31c901c13", "scan_root": "/home/jimmy/projects/led-controller", "viz_node_limit": ""} {"ambiguous_scale": "", "code_only": false, "epoch": "v0.9.101-s36-g1339418af9f9", "excludes": [], "follow_symlinks": false, "full_clean": true, "gitignore": true, "graph_mtime_ns": 1795509579140756766, "graph_size": 6355082, "html_present": true, "no_cluster": false, "rcfile": "", "scan_digest": "58bfd576789ad5cb63bb092a135d8a28", "scan_root": "/home/jimmy/projects/led-controller", "viz_node_limit": ""}
-2
View File
@@ -12,7 +12,6 @@
"28": "Devices UI (JS)", "28": "Devices UI (JS)",
"30": "Colour Picker Mockups", "30": "Colour Picker Mockups",
"36": "API Docs: Outputs & Audio", "36": "API Docs: Outputs & Audio",
"39": "Beat Detection DSP (C)",
"48": "Colour Picker JS", "48": "Colour Picker JS",
"49": "Chromium Colour Picker JS", "49": "Chromium Colour Picker JS",
"51": "API Tests: Devices", "51": "API Tests: Devices",
@@ -21,7 +20,6 @@
"63": "Help: Zones & Palette", "63": "Help: Zones & Palette",
"70": "Index Page Modals", "70": "Index Page Modals",
"73": "Microdot WebSocket (dmx)", "73": "Microdot WebSocket (dmx)",
"76": "Controller Overview & OTA Docs",
"79": "Audio Monitor Page", "79": "Audio Monitor Page",
"85": "ESP-NOW Sender Bridge", "85": "ESP-NOW Sender Bridge",
"87": "Microdot Async IO (dmx)", "87": "Microdot Async IO (dmx)",
+1 -1
View File
@@ -1 +1 @@
{"0": "372f41e14f9e5c2b", "1": "2d791c43bb8436ec", "2": "b63da06d6ca05666", "3": "658093cbc50e95df", "4": "7221607390cbf8f4", "5": "2e5e6386b3738833", "6": "377e4690eb7abc3b", "7": "9e76078bd3c323e1", "8": "e7e52a26e954e7ce", "9": "5e6bedc1d8578bcb", "10": "ba809033c2ac79db", "11": "014628e60d5d5ffe", "12": "cd9a1302e31a16be", "13": "38e3459e42de82ae", "14": "3b6731c83f067f21", "15": "50a8cff800baa4e1", "16": "b15b5e0e94827484", "17": "aa38f635dd47c24b", "18": "9c1548893c72ecda", "19": "36e64b70bd3252ce", "20": "6a4fa67f9ba3ab73", "21": "87da000d51172a4e", "22": "ec9f21b796ada889", "23": "865ab1419e22dddc", "24": "171804ba57132e8c", "25": "1a3a2acee92c022b", "26": "381e0f90829fba82", "27": "8bed5d4c7acc57c8", "28": "c57242f1da7a7906", "29": "a5cce0735423723c", "30": "8c465f3df9b2ddbd", "31": "d1f0f2796a187fff", "32": "5285c76ee28cc826", "33": "5b3d2ff6991c7ea6", "34": "74450c755029be52", "35": "78b2b1ec9ef9ca8e", "36": "8805aeaadbaf49db", "37": "d579278abf6a1ae9", "38": "72b44391bf5e5aca", "39": "7792fe6a1a4fe215", "40": "9ca8e85f31fb7602", "41": "714ad3da0ac59309", "42": "ca5f38fabb644c68", "43": "4e06b3a35051b347", "44": "17db07507f9363bc", "45": "2c79b28433cd154f", "46": "b770b7d17fc2d4dc", "47": "ae4f0993d23e55dd", "48": "46b84e04c8a769a1", "49": "01bb51d3946bc98b", "50": "85c59c730f100a0c", "51": "c3eef28729a94247", "52": "33c9f8c0c0f0c2af", "53": "141393a45638779c", "54": "27b23a9ca99bc85d", "55": "5d90aa863eb2d01e", "56": "973ac14a32bd0435", "57": "c3f83d1d8be07123", "58": "999495a3bbaf2b82", "59": "599163a41c68dead", "60": "cf518bc6c22736e4", "61": "4c61a5703d5fbbe7", "62": "e44e72005db3af15", "63": "3f32204f50610f42", "64": "729ec040f9bb167f", "65": "2b595be0fe1c1cf4", "66": "d07ec7aff7361dd5", "67": "3185bd788c025bff", "68": "c59f6100e7194b21", "69": "3f8a83cc3517a7c8", "70": "9affb95b7a8926f7", "71": "3b6c96099f633b31", "72": "0c38ccfbb84bf400", "73": "1958447ec83a7874", "74": "01649443c17cb4dd", "75": "bf9874092cf0e2f3", "76": "7b12c859e68864eb", "77": "ea87618659e9374f", "78": "526e1ee4231263e6", "79": "0aadcaffca2fec2f", "80": "b44b759b294e7fb1", "81": "834616f97713e651", "82": "7d5560702e41f10c", "83": "1b0ca72bf67d865e", "84": "fa774503c64e42e5", "85": "67e8988d64ef02c3", "86": "711f0cb714854c8e", "87": "186dd13162172b05", "88": "d924b68f261df26a", "89": "85ba0829a67f2d36", "90": "4bc03d14d36cb508", "91": "ab64084e0052dd1b", "92": "ae3cdf19fa855533", "93": "c2ce778772ae9284", "94": "432a5c0b8538708b", "95": "823a1e06c57794b5", "96": "fe6e422923b8d6ef", "97": "87f77452d4c416e3", "98": "226360a4a30bd9da", "99": "999d0e24ceb039a6", "100": "52fa57ef146fa1a1", "101": "e8c3d507c7523478", "102": "5e7048115c96c435", "103": "89850ee47c9ca738", "104": "6b44fd779534127a", "105": "98b16b4bcf978a30", "106": "ac8a0985cad9f9e6", "107": "01172c7d40a936d1", "108": "5452e4be3ed3be3c", "109": "62dfdb23b2c54d82", "110": "05419fa6a91533bf", "111": "66b50b0357357d62", "112": "06f8269454e09b4a", "113": "66e63867ee9ac604", "114": "fab5dd214febb09b", "115": "f3b1e77b5ff745de", "116": "2d5d657b0cb526af", "117": "8a68d6ebf88e07ea", "118": "4b507a629ac7f04f", "119": "c394c3d1e26256c8", "120": "8059a64174d9729b", "121": "b77edb57c9058871", "122": "9b758d47bd1a6c69", "123": "3757904e987193d1", "124": "3ec078b8190a541e", "125": "20b90a03298759db", "126": "19bc0624255aed9a", "127": "682784ef7eb6ab79", "128": "c667c91d46cca0b8", "129": "93fc8b4ad7c9ca62", "130": "8363eed2536a6846", "131": "d8f24f323e8fd32f", "132": "18144893765ecf48", "133": "5a07c1f56a8f3a19", "134": "692d38c636992a64", "135": "818a4539f18579c8", "136": "d79cafc62d17f6c2", "137": "081bae76cc9e1f60", "138": "513f0c5816361dda", "139": "fb8a7a4e82da2292", "140": "7f4e0effc09d9671", "141": "101debf4b251ec78", "142": "01c470ad572a2a84", "143": "a88d6d5c1f805166", "144": "a7a26633381cc935", "145": "8fc084b6564c04cd", "146": "cb4b693c8a2db3d0", "147": "b031133b75382475", "148": "73b79ac1f6ea0d0f", "149": "496a0a14d2f3f063", "150": "535ff56fa874156d", "151": "82887211cf2bedf5", "152": "d7b01ac313a993bf", "153": "a1afbf3a5362e984", "154": "7ab2338abe50e2d2", "155": "b99358ab84ba22d5", "156": "f7b8f6a932f020e1", "157": "76a7b257781e8721", "158": "1496a7273bd8cbf0", "159": "70c38a287cac17ff", "160": "1b3167ce48880094", "161": "d9b95efbe9a3ca0a", "162": "79347942af0064f9", "163": "ee9ad33fb556ea89", "164": "ff462f4575171eb0", "165": "7feb2f5b09134ca9", "166": "368fca9714086cab", "167": "cfef8526fa129559", "168": "81c20c6e0d0187d4", "169": "3d3f4c5f67647202", "170": "982c977c10761a5f", "171": "c8052f332c3d2369", "172": "ffa84e66ab7f2c83", "173": "9bcf4d1a57c0ba2a", "174": "6ca582b7df7276a1", "175": "de377ed03b71265f", "176": "1fb6d892ae8678c7", "177": "085f7f96598bc338", "178": "70b47520df7dafb5", "179": "b7aa2aab07f28f7f", "180": "5ae949a86bd02dd3", "181": "040c831fbc62df23", "182": "09fe188418c42b7a", "183": "90b339bb352b5f47", "184": "9fb67229fc2161f5", "185": "ced44d681e2ec183", "186": "ff963270b8878129", "187": "bb41b7312f4e3083", "188": "a08753a73e0ca7d5", "189"Line truncated {"0": "372f41e14f9e5c2b", "1": "2d791c43bb8436ec", "2": "b63da06d6ca05666", "3": "658093cbc50e95df", "4": "7221607390cbf8f4", "5": "7a1f72556a75d1af", "6": "377e4690eb7abc3b", "7": "3dfabe7f72940f54", "8": "e7e52a26e954e7ce", "9": "5e6bedc1d8578bcb", "10": "ba809033c2ac79db", "11": "014628e60d5d5ffe", "12": "cd9a1302e31a16be", "13": "38e3459e42de82ae", "14": "fffb476f6bb13ce3", "15": "67cb82d9f998b53c", "16": "b15b5e0e94827484", "17": "f0adc14b5bde8c14", "18": "d504ab75864c1263", "19": "36e64b70bd3252ce", "20": "67a9e5cbf438aa81", "21": "1615a5545577a3e0", "22": "ce8b93e18d0d81c7", "23": "9c44efee18c91daa", "24": "171804ba57132e8c", "25": "9521502a76e3926d", "26": "8f3b34399dfd51f7", "27": "24c2db367e0711da", "28": "c57242f1da7a7906", "29": "a5cce0735423723c", "30": "8c465f3df9b2ddbd", "31": "f77cfa2e889833dc", "32": "dded91ee83abd914", "33": "8d6369dac0e37651", "34": "74450c755029be52", "35": "a199470e5c4ccad0", "36": "ba8befe8bbe83d07", "37": "09e8ead6420a4e93", "38": "72b44391bf5e5aca", "39": "5a3c550786797601", "40": "1e8bb5c563da76e3", "41": "dab5b9625f23056c", "42": "ca5f38fabb644c68", "43": "3f9c3996c2f91db5", "44": "17db07507f9363bc", "45": "2cd2a0d7e29c2ea2", "46": "7cbf27333711af56", "47": "05417e9bf8f53a59", "48": "46b84e04c8a769a1", "49": "01bb51d3946bc98b", "50": "85c59c730f100a0c", "51": "c3eef28729a94247", "52": "c41b4bc2baaa338b", "53": "141393a45638779c", "54": "b39b683c5939fb10", "55": "320ad95913ff54b2", "56": "973ac14a32bd0435", "57": "c3f83d1d8be07123", "58": "999495a3bbaf2b82", "59": "05c2b9e03cbdb8a7", "60": "6b34e91ec33fc1a6", "61": "4c61a5703d5fbbe7", "62": "cf4381058dc8dbaf", "63": "3f32204f50610f42", "64": "729ec040f9bb167f", "65": "6c5494fec6a1690d", "66": "cea7111041c582d7", "67": "3185bd788c025bff", "68": "cf64028d87fd40dc", "69": "b3f3568a43b5614f", "70": "9affb95b7a8926f7", "71": "1f8c53beafa1d351", "72": "0c38ccfbb84bf400", "73": "298efcf42a95f405", "74": "e22342ee790998cd", "75": "fe3f7fa17b6e9140", "76": "7398ae7c69718fae", "77": "7e5187509e0145be", "78": "526e1ee4231263e6", "79": "0aadcaffca2fec2f", "80": "2a44adbbdb7b2cc2", "81": "b44b759b294e7fb1", "82": "7d5560702e41f10c", "83": "1b0ca72bf67d865e", "84": "7f17b7cf96d2f909", "85": "67e8988d64ef02c3", "86": "0db06cba669817d4", "87": "186dd13162172b05", "88": "d924b68f261df26a", "89": "d8f24f323e8fd32f", "90": "4bc03d14d36cb508", "91": "ab64084e0052dd1b", "92": "e7b36ee36453f434", "93": "c2ce778772ae9284", "94": "b56139564b079694", "95": "823a1e06c57794b5", "96": "fe6e422923b8d6ef", "97": "551d7508ae9dc04a", "98": "2c47e686b38a3e31", "99": "a53aba908169daa9", "100": "37fec7166e83e80d", "101": "e8c3d507c7523478", "102": "5e7048115c96c435", "103": "89850ee47c9ca738", "104": "6b44fd779534127a", "105": "98b16b4bcf978a30", "106": "b591ad81bfcfa144", "107": "01172c7d40a936d1", "108": "5452e4be3ed3be3c", "109": "62dfdb23b2c54d82", "110": "05419fa6a91533bf", "111": "66b50b0357357d62", "112": "06f8269454e09b4a", "113": "66e63867ee9ac604", "114": "fab5dd214febb09b", "115": "f3b1e77b5ff745de", "116": "2d5d657b0cb526af", "117": "8a68d6ebf88e07ea", "118": "4b507a629ac7f04f", "119": "c394c3d1e26256c8", "120": "8059a64174d9729b", "121": "b77edb57c9058871", "122": "9b758d47bd1a6c69", "123": "3757904e987193d1", "124": "47eda0e10f4e7313", "125": "a5a14d7f9d4df752", "126": "19bc0624255aed9a", "127": "682784ef7eb6ab79", "128": "b17e4e22dfe31a3d", "129": "93fc8b4ad7c9ca62", "130": "8363eed2536a6846", "131": "e72d71b14c89535c", "132": "281e8bde953022f8", "133": "0b2bcb7cf5e1bf59", "134": "692d38c636992a64", "135": "818a4539f18579c8", "136": "69e80d35078aa3e0", "137": "081bae76cc9e1f60", "138": "513f0c5816361dda", "139": "53262a9adf4dc017", "140": "7f4e0effc09d9671", "141": "101debf4b251ec78", "142": "01c470ad572a2a84", "143": "3f3a34f92cbdee62", "144": "a7a26633381cc935", "145": "8fc084b6564c04cd", "146": "cb4b693c8a2db3d0", "147": "b031133b75382475", "148": "73b79ac1f6ea0d0f", "149": "cfac964d6663b11e", "150": "535ff56fa874156d", "151": "82887211cf2bedf5", "152": "d7b01ac313a993bf", "153": "a1afbf3a5362e984", "154": "7ab2338abe50e2d2", "155": "b99358ab84ba22d5", "156": "f7b8f6a932f020e1", "157": "76a7b257781e8721", "158": "1496a7273bd8cbf0", "159": "70c38a287cac17ff", "160": "1b3167ce48880094", "161": "d9b95efbe9a3ca0a", "162": "79347942af0064f9", "163": "ee9ad33fb556ea89", "164": "ff462f4575171eb0", "165": "7feb2f5b09134ca9", "166": "dc0fda9a9c5206f5", "167": "cfef8526fa129559", "168": "e96a3289b65c92b5", "169": "3d3f4c5f67647202", "170": "5c67b0facbd753da", "171": "c8052f332c3d2369", "172": "ffa84e66ab7f2c83", "173": "9bcf4d1a57c0ba2a", "174": "6ca582b7df7276a1", "175": "de377ed03b71265f", "176": "1fb6d892ae8678c7", "177": "68a0452a8a24cf5d", "178": "70b47520df7dafb5", "179": "e79f5b10e996c86d", "180": "5ae949a86bd02dd3", "181": "040c831fbc62df23", "182": "09fe188418c42b7a", "183": "90b339bb352b5f47", "184": "7792fe6a1a4fe215", "185": "ced44d681e2ec183", "186": "ff963270b8878129", "187": "bb41b7312f4e3083", "188": "a08753a73e0ca7d5", "189"Line truncated
+80 -42
View File
@@ -8,74 +8,76 @@
"11": "seq_timeline.js", "11": "seq_timeline.js",
"14": "freertos.c", "14": "freertos.c",
"15": "unique", "15": "unique",
"17": "httpd_handle_t", "17": "bridge.c",
"18": "bridge_dmx.c", "18": "bridge_main.c",
"21": "web.cpp", "21": "web.cpp",
"22": "desktop_main.c", "22": "espnow_tx.c",
"23": "cJSON", "23": "cJSON",
"24": "time", "24": "time",
"25": "Microdot", "25": "Microdot",
"26": "bridge_main.c", "26": "httpd_handle_t",
"27": "NoCaseDict", "27": "NoCaseDict",
"29": "binary_envelope.py", "29": "binary_envelope.py",
"31": "auth.c", "31": "auth.c",
"32": "nvs_sim.cpp", "32": "BridgeSim",
"33": "httpd_parse.c", "33": "httpd_parse.c",
"34": "test_sequences.py", "34": "test_sequences.py",
"35": "seqplay.c", "35": "seqplay.c",
"37": "bridge_serial.c", "37": "bridge_sim.py",
"38": "driver_ota.py", "38": "driver_ota.py",
"39": "cJSON_IsNumber",
"40": "xSemaphoreGive", "40": "xSemaphoreGive",
"41": "WS2812", "41": "WS2812",
"42": "run_all", "42": "run_all",
"43": "cJSON_Delete", "43": "create_app",
"44": "events", "44": "events",
"45": "http_parser.h", "45": "http_parser.h",
"46": "EMSCRIPTEN_KEEPALIVE", "46": "xTaskCreate",
"47": "argparse", "47": "argparse",
"50": "steps", "50": "steps",
"52": "beat.c", "52": "beat.c",
"54": "sim_stubs.c", "54": "mcu_host/main/main.c",
"55": "httpd_ws_frame", "55": "nvs_open",
"56": "test_outputs.py", "56": "test_outputs.py",
"57": "httpd_config", "57": "httpd_config",
"58": "gallery.js", "58": "gallery.js",
"59": "mic_alsa.c", "59": "mic_alsa.c",
"60": "test_sim_net.py", "60": "test_sim_net.py",
"62": "run_test", "62": "sock_db",
"64": "ddp_test.py", "64": "ddp_test.py",
"65": "ESPNow", "65": "sys",
"66": "presets.cpp", "66": "presets.cpp",
"67": "auth.js", "67": "auth.js",
"68": "cJSON_AddStringToObject", "68": "cJSON_CreateObject",
"69": "httpd_sess.c", "69": "httpd_sess.c",
"71": "BridgeSim", "71": "LedSimulatorApp",
"72": "httpd_data", "72": "httpd_data",
"74": "espnow_link.cpp", "74": "espnow_link.cpp",
"75": "v1 driver messages (long/short keys)", "75": "Bench test: S3 controller and one LED driver",
"77": "sys", "76": "led-controller ESP32-S3 firmware",
"77": "transport.py",
"78": "sim_split.js", "78": "sim_split.js",
"80": "artnet_dmx.py", "80": "OutputManager",
"81": "OutputManager", "81": "artnet_dmx.py",
"82": "events", "82": "events",
"83": "dmx.js", "83": "dmx.js",
"84": "test_groups.py", "84": "test_groups.py",
"86": "cJSON_Delete", "86": "httpd_req_t",
"88": "events", "88": "events",
"89": "relay_forward", "89": "PatternPlayer",
"90": "Sender", "90": "Sender",
"91": "Pin", "91": "Pin",
"92": "vTaskDelay", "92": "mdns_host.c",
"93": "events", "93": "events",
"94": "bench.c", "94": "httpd_resp_set_type",
"95": "test_dmx_bridge.py", "95": "test_dmx_bridge.py",
"96": "sim_demo.py", "96": "sim_demo.py",
"97": "esp_timer_start_once", "97": "NeoPixel",
"98": "led-controller ESP32-S3 firmware", "98": "led-controller ESP32-S3 firmware",
"99": "cJSON_GetObjectItem", "99": "cJSON_GetObjectItem",
"100": "mdns_host.c", "100": "bridge_dmx.c",
"102": "httpd_req_aux", "102": "httpd_req_aux",
"106": "httpd_main.c", "106": "httpd_txrx.c",
"107": "main", "107": "main",
"108": "cmakeVariables", "108": "cmakeVariables",
"110": "run_soak", "110": "run_soak",
@@ -85,10 +87,10 @@
"124": "httpd_ws.c", "124": "httpd_ws.c",
"125": "led_strip_spi_dev.c", "125": "led_strip_spi_dev.c",
"126": "dmx-draw.js", "126": "dmx-draw.js",
"128": "ws2812.cpp", "128": "ESPNow",
"131": "PatternPlayer", "131": "layout.py",
"132": "microdot.py", "132": "Settings",
"133": "wifi_drv.c", "133": "led-controller on a desktop",
"135": "cmakeVariables", "135": "cmakeVariables",
"136": "HttpDevice", "136": "HttpDevice",
"137": "events", "137": "events",
@@ -98,7 +100,7 @@
"144": "settings_editor.js", "144": "settings_editor.js",
"147": "bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "147": "bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
"148": "postinst", "148": "postinst",
"149": "test_patterns.py", "149": "esp_timer_create",
"150": "postrm", "150": "postrm",
"151": "prerm", "151": "prerm",
"152": "vendor.sh", "152": "vendor.sh",
@@ -114,24 +116,24 @@
"165": "dmx_bridge.js", "165": "dmx_bridge.js",
"166": "Preset", "166": "Preset",
"167": "httpd_req", "167": "httpd_req",
"168": "test_audio.py", "168": "idf_device.py",
"169": "build_sim_web.sh", "169": "build_sim_web.sh",
"170": "dependencies", "170": "dependencies",
"177": "sock_db", "177": "SerialDMX",
"178": "dependencies", "178": "dependencies",
"179": "httpd_txrx.c", "179": "httpd_resp_set_status",
"184": "NeoPixel", "184": "beat_dsp.c",
"197": "Test Server Tools", "197": "Test Server Tools",
"198": "SerialTransport", "198": "SerialTransport",
"199": "hmac256", "199": "mac_str",
"200": "Supported Platforms and Transports", "200": "Supported Platforms and Transports",
"201": "httpd_ctrl_data", "201": "httpd_ctrl_data",
"202": "build-flash/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "202": "build-flash/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
"203": "Supported Platforms and Transports", "203": "Supported Platforms and Transports",
"204": "_simlink_proc.py", "204": "_simlink_proc.py",
"205": "dependencies", "205": "dependencies",
"206": "ws_slot_drop", "206": "http_parser.c",
"207": "Settings", "207": "Request",
"208": "build-flash/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp", "208": "build-flash/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
"209": "WLAN", "209": "WLAN",
"210": "fetch_cache.js", "210": "fetch_cache.js",
@@ -165,12 +167,12 @@
"238": "build-espnow/config/sdkconfig.h", "238": "build-espnow/config/sdkconfig.h",
"239": "build-espnow/project_elf_src_esp32c3.c", "239": "build-espnow/project_elf_src_esp32c3.c",
"240": "build-timing/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "240": "build-timing/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
"241": "KeyName", "241": "decode_presets",
"242": "DMX Driver Art-Net and serial gateway", "242": "v1 driver messages (long/short keys)",
"243": "build-timing/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp", "243": "build-timing/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
"244": "build-flash/bootloader/config/sdkconfig.h", "244": "build-flash/bootloader/config/sdkconfig.h",
"245": "build-flash/bootloader/project_elf_src_esp32c3.c", "245": "build-flash/bootloader/project_elf_src_esp32c3.c",
"246": "ctrl_msg.cpp", "246": "src/main.cpp",
"247": "build-flash/config/sdkconfig.h", "247": "build-flash/config/sdkconfig.h",
"248": "build-flash/project_elf_src_esp32c3.c", "248": "build-flash/project_elf_src_esp32c3.c",
"249": "build-timing/bootloader/config/sdkconfig.h", "249": "build-timing/bootloader/config/sdkconfig.h",
@@ -179,6 +181,42 @@
"252": "build-timing/project_elf_src_esp32c3.c", "252": "build-timing/project_elf_src_esp32c3.c",
"253": "dependencies", "253": "dependencies",
"254": "dependencies", "254": "dependencies",
"255": "bridge_mac_is_dmx", "255": "websocket.py",
"256": "create_self_signed_certs.sh" "256": "create_self_signed_certs.sh",
"257": "net.cpp",
"258": "microdot.py",
"259": "events",
"260": "events",
"261": "Response",
"262": "bridge_hosted.c",
"263": "patterns.c",
"264": "URLPattern",
"265": "status_get_handler",
"266": "web.c",
"267": "machine.py",
"268": "Controller on the Waveshare ESP32-P4-Nano",
"269": "led_strip_rmt_encoder.c",
"270": "httpd_stop",
"271": "httpd_ws_frame",
"272": "dependencies",
"273": "build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
"274": "build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
"275": "build-d61/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
"276": "build-d61/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
"277": "flags",
"278": "build-d61/bootloader/config/sdkconfig.h",
"279": "build-d61/bootloader/project_elf_src_esp32c3.c",
"280": "build-d61/config/sdkconfig.h",
"281": "build-d61/project_elf_src_esp32c3.c",
"282": "move_bars.py",
"283": "_simlink.py",
"284": "hmac256",
"285": "create_https_server.py",
"286": "desktop_main.c",
"287": "httpd_os_thread_create",
"288": "led-driver/main/ota.c",
"289": "relay_slot_t",
"290": "ws_slot_t",
"291": "ws_client_send_text",
"292": "ws_client_connect"
} }
@@ -12,7 +12,6 @@
"28": "Devices UI (JS)", "28": "Devices UI (JS)",
"30": "Colour Picker Mockups", "30": "Colour Picker Mockups",
"36": "API Docs: Outputs & Audio", "36": "API Docs: Outputs & Audio",
"39": "Beat Detection DSP (C)",
"48": "Colour Picker JS", "48": "Colour Picker JS",
"49": "Chromium Colour Picker JS", "49": "Chromium Colour Picker JS",
"51": "API Tests: Devices", "51": "API Tests: Devices",
@@ -21,7 +20,6 @@
"63": "Help: Zones & Palette", "63": "Help: Zones & Palette",
"70": "Index Page Modals", "70": "Index Page Modals",
"73": "Microdot WebSocket (dmx)", "73": "Microdot WebSocket (dmx)",
"76": "Controller Overview & OTA Docs",
"79": "Audio Monitor Page", "79": "Audio Monitor Page",
"85": "ESP-NOW Sender Bridge", "85": "ESP-NOW Sender Bridge",
"87": "Microdot Async IO (dmx)", "87": "Microdot Async IO (dmx)",
+324 -227
View File
@@ -1,17 +1,17 @@
# Graph Report - led-controller (2026-11-21) # Graph Report - led-controller (2026-11-24)
## Corpus Check ## Corpus Check
- 478 files · ~1,713,317 words - 533 files · ~2,050,955 words
- Verdict: corpus is large enough that graph structure adds value. - 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 ## Summary
- 5521 nodes · 16178 edges · 249 communities (156 shown, 93 thin omitted) - 5782 nodes · 16701 edges · 273 communities (176 shown, 97 thin omitted)
- Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 4078 edges (avg confidence: 0.85) - Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 4157 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output - Token cost: 0 input · 0 output
## Graph Freshness ## 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 `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost). - Run `graphify update .` after code changes (no API cost).
@@ -33,96 +33,96 @@
- freertos.c - freertos.c
- unique - unique
- Sequences UI (JS) - Sequences UI (JS)
- httpd_handle_t - bridge_serial.c
- bridge_dmx.c - bridge_main.c
- led_strip Component Docs - led_strip Component Docs
- Art-Net Output - Art-Net Output
- web.cpp - web.cpp
- desktop_main.c - rel.c
- cJSON - cJSON
- time - time
- Microdot - Microdot
- bridge.c - httpd_handle_t
- NoCaseDict - NoCaseDict
- Devices UI (JS) - Devices UI (JS)
- binary_envelope.py - binary_envelope.py
- Colour Picker Mockups - Colour Picker Mockups
- auth.c - auth.c
- nvs_sim.cpp - BridgeSim
- httpd_parse.c - httpd_parse.c
- test_sequences.py - test_sequences.py
- seqplay.c - seqplay.c
- API Docs: Outputs & Audio - API Docs: Outputs & Audio
- bridge_serial.c - bridge_sim.py
- driver_ota.py - driver_ota.py
- Beat Detection DSP (C) - esp_wifi.h
- xSemaphoreGive - xSemaphoreGive
- WS2812 - WS2812
- run_all - run_all
- cJSON_Delete - cJSON_Delete
- events - events
- http_parser.h - http_parser.h
- settings_load_net - xTaskCreate
- argparse - argparse
- Colour Picker JS - Colour Picker JS
- Chromium Colour Picker JS - Chromium Colour Picker JS
- steps - steps
- API Tests: Devices - API Tests: Devices
- vTaskDelay - beat.c
- mpremote Transport - mpremote Transport
- Request - mcu_host/main/main.c
- httpd_ws_frame - usb_cfg.cpp
- test_outputs.py - test_outputs.py
- httpd_config - esp_http_server.h
- gallery.js - gallery.js
- mic_alsa.c - mic_alsa.c
- test_sim_net.py - test_sim_net.py
- API Test Fixtures & Audio - API Test Fixtures & Audio
- run_test - outputs.c
- Help: Zones & Palette - Help: Zones & Palette
- ddp_test.py - ddp_test.py
- ESPNow - sys
- presets.cpp - presets.cpp
- auth.js - auth.js
- cJSON_CreateObject - cJSON_Delete
- httpd_sess.c - httpd_sess.c
- Index Page Modals - Index Page Modals
- BridgeSim - LedSimulatorApp
- httpd_data - httpd_data
- Microdot WebSocket (dmx) - Microdot WebSocket (dmx)
- bridge_main.c - espnow_link.cpp
- v1 driver messages (long/short keys) - Bench test: S3 controller and one LED driver
- Controller Overview & OTA Docs - DMX Driver Art-Net and serial gateway
- sys - transport.py
- sim_split.js - sim_split.js
- Audio Monitor Page - Audio Monitor Page
- artnet_dmx.py
- OutputManager - OutputManager
- artnet_dmx.py
- events - events
- dmx.js - dmx.js
- test_groups.py - test_groups.py
- ESP-NOW Sender Bridge - ESP-NOW Sender Bridge
- cJSON_GetObjectItem - httpd_req_t
- Microdot Async IO (dmx) - Microdot Async IO (dmx)
- events - events
- relay_forward - PatternPlayer
- Sender - Sender
- Pin - Pin
- machine.py - mdns_host.c
- events - events
- espnow_tx_beat - httpd_resp_set_type
- test_dmx_bridge.py - test_dmx_bridge.py
- sim_demo.py - sim_demo.py
- esp_timer_start_once - NeoPixel
- led-controller ESP32-S3 firmware - led-controller ESP32-S3 firmware
- patterns.c - cJSON_GetObjectItem
- HTTPException - bridge_dmx.c
- Groups UI (JS) - Groups UI (JS)
- httpd_req_aux - httpd_req_aux
- Help: Mobile Menu Image - Help: Mobile Menu Image
- Pattern Selector Mockup Image - Pattern Selector Mockup Image
- Driver Pattern Docs - Driver Pattern Docs
- httpd_main.c - esp_httpd_priv.h
- main - main
- cmakeVariables - cmakeVariables
- Driver Message API Docs - Driver Message API Docs
@@ -144,12 +144,12 @@
- led_strip_spi_dev.c - led_strip_spi_dev.c
- dmx-draw.js - dmx-draw.js
- Numpad Shortcuts (JS) - Numpad Shortcuts (JS)
- rig_seed.py - ESPNow
- Colour Picker Demo Image - Colour Picker Demo Image
- Settings Mockup Image - Settings Mockup Image
- PatternPlayer - layout.py
- Response - Settings
- led_strip_rmt_encoder.c - led-controller on a desktop
- cmakeVariables - cmakeVariables
- HttpDevice - HttpDevice
- events - events
@@ -172,7 +172,7 @@
- dmx_bridge.js - dmx_bridge.js
- Preset - Preset
- httpd_req - httpd_req
- test_audio.py - espnow_tx_beat
- build_sim_web.sh - build_sim_web.sh
- dependencies - dependencies
- List Search (JS) - List Search (JS)
@@ -180,29 +180,33 @@
- led-test Manifest - led-test Manifest
- VPN Autoconnect Script - VPN Autoconnect Script
- graphify Instructions - graphify Instructions
- sock_db - SerialDMX
- dependencies
- httpd_txrx.c - httpd_txrx.c
- bulk.sh Script - bulk.sh Script
- deploy.sh Script - deploy.sh Script
- Driver install.sh - Driver install.sh
- NeoPixel - test_audio.py
- led-tool install.sh - led-tool install.sh
- Help PDF Build Script - Help PDF Build Script
- Web Build Script - Web Build Script
- Spec: Pattern Selector UI - Spec: Pattern Selector UI
- websocket.py - Test Server Tools
- SerialTransport - SerialTransport
- hmac256 - ._loop_main
- esp_err_t - Supported Platforms and Transports
- httpd_ctrl_data - httpd_ctrl_data
- parse_static - Supported Platforms and Transports
- _simlink_proc.py - _simlink_proc.py
- URLPattern - dependencies
- Settings - led-tool / led-cli serial device CLI
- esp_read_mac
- WLAN - WLAN
- Slave Firmware Binaries for LittleFS OTA
- Slave Firmware Binaries for Partition OTA
- dmx_decode.test.mjs - dmx_decode.test.mjs
- api_call_t - api_call_t
- SerialDMX - time
- ui_confirm.js - ui_confirm.js
- nvs_open - nvs_open
- build.sh - build.sh
@@ -211,32 +215,45 @@
- driver-worker.js - driver-worker.js
- layout.js - layout.js
- README.md - README.md
- DMX Driver Art-Net and serial gateway
- ctrl_msg.cpp - 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) ## God Nodes (most connected - your core abstractions)
1. `cJSON` - 292 edges 1. `cJSON` - 292 edges
2. `cJSON_GetObjectItem()` - 237 edges 2. `cJSON_GetObjectItem()` - 237 edges
3. `httpd_req_t` - 183 edges 3. `httpd_req_t` - 184 edges
4. `cJSON_Delete()` - 162 edges 4. `cJSON_Delete()` - 162 edges
5. `cJSON_CreateObject()` - 155 edges 5. `cJSON_CreateObject()` - 155 edges
6. `cJSON_IsString()` - 129 edges 6. `cJSON_IsString()` - 129 edges
7. `cJSON_AddStringToObject()` - 121 edges 7. `cJSON_AddStringToObject()` - 121 edges
8. `store_coll()` - 111 edges 8. `store_coll()` - 111 edges
9. `xSemaphoreTake()` - 78 edges 9. `xSemaphoreGive()` - 83 edges
10. `xSemaphoreGive()` - 78 edges 10. `xSemaphoreTake()` - 82 edges
## Surprising Connections (you probably didn't know these) ## 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] - `Channel` --references--> `bridge_serial_set_channel()` [INFERRED]
bridge/README.md → main/bridge_serial.c bridge/README.md → main/bridge_serial.c
- `Build and run` --references--> `info()` [INFERRED] - `Build and run` --references--> `info()` [INFERRED]
desktop/README.md → tools/ota.py desktop/README.md → tools/ota.py
- `Preset editor modal` --semantically_similar_to--> `Preset fields (pattern, colors, delay, brightness, auto, n1-n6)` [INFERRED] [semantically similar] - `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 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 ## Import Cycles
- None detected. - 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] - **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] - **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" ### Community 0 - "IdfDevice"
Cohesion: 0.10 Cohesion: 0.10
@@ -286,8 +303,8 @@ Cohesion: 0.11
Nodes (58): applyAudioStatus(), applyServerAudioUiFields(), audioRunPreferredDeviceId(), beatSyncButtonTitle(), bind(), clampLiveBpm(), clampSimulatedBpm(), clearBeatPhaseTimers() (+50 more) Nodes (58): applyAudioStatus(), applyServerAudioUiFields(), audioRunPreferredDeviceId(), beatSyncButtonTitle(), bind(), clampLiveBpm(), clampSimulatedBpm(), clearBeatPhaseTimers() (+50 more)
### Community 5 - "cJSON" ### Community 5 - "cJSON"
Cohesion: 0.05 Cohesion: 0.06
Nodes (90): add_item_to_array(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON, cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_AddRawToObject() (+82 more) 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" ### Community 6 - "controller"
Cohesion: 0.05 Cohesion: 0.05
@@ -322,24 +339,24 @@ Cohesion: 0.10
Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(), computeZoneNamesTargets(), computeZonePresetUnionTargets(), computeZoneTargets(), createZone(), effectiveGroupIdsForZonePreset() (+34 more) Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(), computeZoneNamesTargets(), computeZonePresetUnionTargets(), computeZoneTargets(), createZone(), effectiveGroupIdsForZonePreset() (+34 more)
### Community 14 - "freertos.c" ### Community 14 - "freertos.c"
Cohesion: 0.04 Cohesion: 0.05
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) Nodes (50): on_recv(), make_deadline(), queue_send(), sem_give(), sem_take(), uxQueueMessagesWaiting(), vEventGroupDelete(), vQueueDelete() (+42 more)
### Community 15 - "unique" ### Community 15 - "unique"
Cohesion: 0.04 Cohesion: 0.05
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) 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)" ### Community 16 - "Sequences UI (JS)"
Cohesion: 0.11 Cohesion: 0.11
Nodes (32): addSeqTarget(), addSequenceToTab(), appendZoneSequenceTiles(), applySequenceSwitchWaitFromServer(), buildStepPlaySelect(), createSequenceTileRow(), deleteCurrentSequence(), fetchGroupsMapSeq() (+24 more) Nodes (32): addSeqTarget(), addSequenceToTab(), appendZoneSequenceTiles(), applySequenceSwitchWaitFromServer(), buildStepPlaySelect(), createSequenceTileRow(), deleteCurrentSequence(), fetchGroupsMapSeq() (+24 more)
### Community 17 - "httpd_handle_t" ### Community 17 - "bridge_serial.c"
Cohesion: 0.17 Cohesion: 0.15
Nodes (25): httpd_handle_t, httpd_method_t, httpd_uri, method, httpd_uri_t, uri, user_ctx, httpd_start() (+17 more) 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" ### Community 18 - "bridge_main.c"
Cohesion: 0.06 Cohesion: 0.09
Nodes (42): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+34 more) 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" ### Community 19 - "led_strip Component Docs"
Cohesion: 0.10 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" ### Community 20 - "Art-Net Output"
Cohesion: 0.09 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" ### Community 21 - "web.cpp"
Cohesion: 0.13 Cohesion: 0.11
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) 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" ### Community 22 - "rel.c"
Cohesion: 0.60 Cohesion: 0.14
Nodes (3): main(), set_from_env(), usage() 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" ### Community 23 - "cJSON"
Cohesion: 0.05 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" ### Community 24 - "time"
Cohesion: 0.09 Cohesion: 0.13
Nodes (20): Blink, Pulse, sleep(), sleep_ms(), sleep_us(), ticks_diff(), ticks_ms(), ticks_us() (+12 more) Nodes (11): answers_ping(), bridge_macs(), candidate_ports(), controller_name_for(), flash(), main(), process(), read_state() (+3 more)
### Community 26 - "bridge.c" ### Community 25 - "Microdot"
Cohesion: 0.09 Cohesion: 0.05
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) 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)" ### Community 28 - "Devices UI (JS)"
Cohesion: 0.09 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) 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" ### Community 31 - "auth.c"
Cohesion: 0.13 Cohesion: 0.08
Nodes (58): httpd_req_t, bridge_store_locked(), all_edit(), area_index(), auth_can(), auth_classify(), auth_enabled_locked(), auth_export_users() (+50 more) 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" ### Community 32 - "BridgeSim"
Cohesion: 0.14 Cohesion: 0.15
Nodes (30): string, read_file(), get_str(), nvs_handle_t, from_hex(), get_bytes(), get_num(), nvs_erase_all() (+22 more) Nodes (4): BridgeSim, mac_str(), _read_json(), Strip
### Community 33 - "httpd_parse.c" ### Community 33 - "httpd_parse.c"
Cohesion: 0.06 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" ### Community 34 - "test_sequences.py"
Cohesion: 0.16 Cohesion: 0.16
@@ -399,27 +424,27 @@ Nodes (29): clock(), make(), presets(), test_beat_and_time_lanes_together(), tes
### Community 35 - "seqplay.c" ### Community 35 - "seqplay.c"
Cohesion: 0.09 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" ### Community 36 - "API Docs: Outputs & Audio"
Cohesion: 0.17 Cohesion: 0.14
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) 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 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" ### Community 38 - "driver_ota.py"
Cohesion: 0.14 Cohesion: 0.14
Nodes (9): discover(), local_subnet(), main(), discover(), _expand(), _ip(), local_subnet(), ota_drivers() (+1 more) Nodes (9): discover(), local_subnet(), main(), discover(), _expand(), _ip(), local_subnet(), ota_drivers() (+1 more)
### Community 39 - "Beat Detection DSP (C)" ### Community 39 - "esp_wifi.h"
Cohesion: 0.23 Cohesion: 0.13
Nodes (17): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_bpm(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap() (+9 more) 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" ### Community 40 - "xSemaphoreGive"
Cohesion: 0.05 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" ### Community 41 - "WS2812"
Cohesion: 0.06 Cohesion: 0.06
@@ -431,7 +456,7 @@ Nodes (13): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet()
### Community 43 - "cJSON_Delete" ### Community 43 - "cJSON_Delete"
Cohesion: 0.14 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" ### Community 44 - "events"
Cohesion: 0.09 Cohesion: 0.09
@@ -441,9 +466,9 @@ Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEB
Cohesion: 0.05 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) 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" ### Community 46 - "xTaskCreate"
Cohesion: 0.14 Cohesion: 0.07
Nodes (22): main(), ddp_start(), espnow_link_start(), app_main(), ap_timer_cb(), apply_ap(), net_ap_ssid(), net_espnow_only() (+14 more) 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" ### Community 47 - "argparse"
Cohesion: 0.10 Cohesion: 0.10
@@ -453,97 +478,105 @@ Nodes (16): analyze(), edges(), main(), pct(), read(), art_dmx(), effect_frame()
Cohesion: 0.10 Cohesion: 0.10
Nodes (19): TAG, TOKEN, jobs, release, name, on, push, contents (+11 more) Nodes (19): TAG, TOKEN, jobs, release, name, on, push, contents (+11 more)
### Community 52 - "vTaskDelay" ### Community 52 - "beat.c"
Cohesion: 0.05 Cohesion: 0.07
Nodes (47): vTaskDelay(), vTaskDelete(), httpd_req_async_handler_complete(), httpd_req_to_sockfd(), httpd_send(), events(), events_task(), send_all() (+39 more) 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" ### Community 53 - "mpremote Transport"
Cohesion: 0.12 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) 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" ### Community 54 - "mcu_host/main/main.c"
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"
Cohesion: 0.06 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" ### Community 58 - "gallery.js"
Cohesion: 0.16 Cohesion: 0.16
Nodes (30): addPreset(), apply(), applySpec(), banner(), bgField(), buildCard(), checkField(), closeEditor() (+22 more) Nodes (30): addPreset(), apply(), applySpec(), banner(), bgField(), buildCard(), checkField(), closeEditor() (+22 more)
### Community 59 - "mic_alsa.c" ### Community 59 - "mic_alsa.c"
Cohesion: 0.09 Cohesion: 0.06
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 (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" ### Community 60 - "test_sim_net.py"
Cohesion: 0.15 Cohesion: 0.13
Nodes (20): artdmx(), base_room(), ddp(), put(), room(), send(), sim(), status() (+12 more) Nodes (21): get_local_ip(), artdmx(), base_room(), ddp(), put(), room(), send(), sim() (+13 more)
### Community 61 - "API Test Fixtures & Audio" ### Community 61 - "API Test Fixtures & Audio"
Cohesion: 0.17 Cohesion: 0.17
Nodes (5): base_url(), c(), Client, profile(), restore_db() Nodes (5): base_url(), c(), Client, profile(), restore_db()
### Community 62 - "run_test" ### Community 62 - "outputs.c"
Cohesion: 0.20 Cohesion: 0.13
Nodes (17): colour_role(), dmx_artnet_packet(), dmx_def_map(), dmx_sacn_group(), dmx_sacn_packet(), is_any(), put16(), fail() (+9 more) 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" ### Community 63 - "Help: Zones & Palette"
Cohesion: 0.13 Cohesion: 0.14
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) 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" ### Community 64 - "ddp_test.py"
Cohesion: 0.09 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) 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" ### Community 66 - "presets.cpp"
Cohesion: 0.21 Cohesion: 0.13
Nodes (21): clear_all_presets(), entry_key(), find(), load_entry(), load_legacy(), presets_add_defaults(), presets_at(), presets_count() (+13 more) 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" ### Community 67 - "auth.js"
Cohesion: 0.15 Cohesion: 0.15
Nodes (40): accountMenu(), addHeaderButton(), applyPerms(), askLogin(), buildAccount(), byId(), can(), changePassword() (+32 more) Nodes (40): accountMenu(), addHeaderButton(), applyPerms(), askLogin(), buildAccount(), byId(), can(), changePassword() (+32 more)
### Community 68 - "cJSON_CreateObject" ### Community 68 - "cJSON_Delete"
Cohesion: 0.07 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" ### Community 69 - "httpd_sess.c"
Cohesion: 0.11 Cohesion: 0.08
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) 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" ### Community 70 - "Index Page Modals"
Cohesion: 0.11 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) 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" ### Community 71 - "LedSimulatorApp"
Cohesion: 0.05 Cohesion: 0.10
Nodes (21): BridgeSim, api_seed_layout(), index(), driver_mac(), lan_ip(), load_config(), mac_str(), main() (+13 more) Nodes (5): lan_ip(), main(), _hex(), LedSimulatorApp, main()
### Community 72 - "httpd_data" ### Community 72 - "httpd_data"
Cohesion: 0.11 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" ### Community 73 - "Microdot WebSocket (dmx)"
Cohesion: 0.04 Cohesion: 0.09
Nodes (63): build_info(), ctl_task(), ensure_peer(), handle_frame(), host_rx_task(), log_hook(), mic_task(), on_recv() (+55 more) Nodes (8): wraps(), print_exception(), WebSocket, websocket_upgrade(), websocket_wrapper(), wrapper(), WebSocketError, with_websocket()
### Community 75 - "v1 driver messages (long/short keys)" ### Community 74 - "espnow_link.cpp"
Cohesion: 0.24 Cohesion: 0.08
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 Nodes (35): Asm, buf, cnt, asm_find(), flags, asm_free(), last_us, lens (+27 more)
### Community 76 - "Controller Overview & OTA Docs" ### Community 75 - "Bench test: S3 controller and one LED driver"
Cohesion: 0.14 Cohesion: 0.23
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) 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" ### Community 76 - "DMX Driver Art-Net and serial gateway"
Cohesion: 0.07 Cohesion: 0.28
Nodes (8): mpremote_base(), _default_image(), _info(), ota_update(), main(), main(), info(), upload() 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" ### Community 78 - "sim_split.js"
Cohesion: 0.30 Cohesion: 0.30
@@ -553,7 +586,11 @@ Nodes (20): addMenuEntries(), applyWidth(), attachSwipe(), build(), clampWidth()
Cohesion: 0.16 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) 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 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) 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) Nodes (22): applyCto(), beamColour(), canMode(), canView(), decodeCan(), decodeCanNamed(), decodeMover(), decodeMoverNamed() (+14 more)
### Community 84 - "test_groups.py" ### Community 84 - "test_groups.py"
Cohesion: 0.13 Cohesion: 0.09
Nodes (4): device(), group(), test_group_identify_needs_devices(), test_profile_scoped_group() 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" ### Community 85 - "ESP-NOW Sender Bridge"
Cohesion: 0.20 Cohesion: 0.29
Nodes (10): ap(), _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws() (+2 more) Nodes (9): _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws(), format_mac() (+1 more)
### Community 86 - "cJSON_GetObjectItem" ### Community 86 - "httpd_req_t"
Cohesion: 0.07 Cohesion: 0.11
Nodes (146): list_pulse_sources(), cJSON_AddArrayToObject(), cJSON_AddItemReferenceToObject(), cJSON_AddItemToArray(), cJSON_CreateArray(), cJSON_CreateString(), cJSON_CreateStringArray(), cJSON_Delete() (+138 more) 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" ### Community 88 - "events"
Cohesion: 0.09 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) 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" ### Community 90 - "Sender"
Cohesion: 0.14 Cohesion: 0.14
Nodes (4): run_interactive(), handle(), show_menu(), Sender 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" ### Community 93 - "events"
Cohesion: 0.10 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) 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" ### Community 94 - "httpd_resp_set_type"
Cohesion: 0.10 Cohesion: 0.07
Nodes (17): beat_reset(), beat_set_callback(), beat_start(), dsp_event(), led_off_cb(), led_set(), gpio_mark(), ap_button_held() (+9 more) 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" ### Community 95 - "test_dmx_bridge.py"
Cohesion: 0.11 Cohesion: 0.11
@@ -605,17 +642,17 @@ Nodes (30): artnet(), bridge_status(), can_def(), drain(), local(), play(), done
Cohesion: 0.26 Cohesion: 0.26
Nodes (7): Api, main(), group(), preset(), sequence(), new_id(), rig_bars() 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" ### Community 98 - "led-controller ESP32-S3 firmware"
Cohesion: 0.12 Cohesion: 0.25
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) Nodes (7): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protocol, Running the controller against it, USB ESP-NOW bridge
### Community 99 - "patterns.c" ### Community 99 - "cJSON_GetObjectItem"
Cohesion: 0.21 Cohesion: 0.11
Nodes (18): add_name(), all_patterns(), base_name(), builtin(), create_driver_pattern(), exists(), file_names(), file_path() (+10 more) 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)" ### Community 101 - "Groups UI (JS)"
Cohesion: 0.29 Cohesion: 0.29
@@ -637,9 +674,9 @@ Nodes (11): Pattern Selector Mockup (Select LED Pattern), Apply Pattern / Cancel
Cohesion: 0.24 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) 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" ### Community 106 - "esp_httpd_priv.h"
Cohesion: 0.08 Cohesion: 0.07
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) Nodes (16): httpd_method_t, httpd_uri, method, uri, user_ctx, httpd_req, httpd_session_enum_function, thread_data (+8 more)
### Community 107 - "main" ### Community 107 - "main"
Cohesion: 0.18 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 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" ### Community 124 - "httpd_ws.c"
Cohesion: 0.17 Cohesion: 0.18
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) 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" ### Community 125 - "led_strip_spi_dev.c"
Cohesion: 0.06 Cohesion: 0.06
@@ -717,10 +754,6 @@ Nodes (39): heap_caps_calloc(), app_main(), app_main(), configure_led(), app_mai
Cohesion: 0.21 Cohesion: 0.21
Nodes (17): aimed(), appearance(), bodyScale(), canColour(), drawBeam(), drawBody(), drawGlow(), drawLight() (+9 more) 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" ### Community 129 - "Colour Picker Demo Image"
Cohesion: 0.33 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 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 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) 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" ### Community 131 - "layout.py"
Cohesion: 0.14 Cohesion: 0.24
Nodes (3): main(), output_tick(), PatternPlayer Nodes (7): normalise_layout(), _reversed_for_column(), rig_placements(), side_name(), strip_count(), strip_places(), StripPlace
### Community 132 - "Response" ### Community 133 - "led-controller on a desktop"
Cohesion: 0.10 Cohesion: 0.33
Nodes (5): invoke_handler(), iscoroutine(), Response, aclose(), __anext__() Nodes (5): Build and run, How it is built, Install as a service (.deb), led-controller on a desktop, Limits
### 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 135 - "cmakeVariables" ### Community 135 - "cmakeVariables"
Cohesion: 0.10 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) 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" ### Community 136 - "HttpDevice"
Cohesion: 0.10 Cohesion: 0.08
Nodes (5): HttpDevice, IdfError, _default_image(), _info(), ota_update() Nodes (8): _default_image(), _info(), ota_update(), HttpDevice, IdfError, _default_image(), _info(), ota_update()
### Community 137 - "events" ### Community 137 - "events"
Cohesion: 0.09 Cohesion: 0.09
@@ -759,7 +788,7 @@ Nodes (6): Colour Palette modal mockup (help image), Add Swatch (+) Button, Colo
### Community 139 - "esp_err.h" ### Community 139 - "esp_err.h"
Cohesion: 0.05 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" ### Community 140 - "LED Driver README"
Cohesion: 0.47 Cohesion: 0.47
@@ -775,7 +804,7 @@ Nodes (5): dependencies, espressif/led_strip, idf, override_path, version
### Community 143 - "test_rig_sim.py" ### Community 143 - "test_rig_sim.py"
Cohesion: 0.10 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" ### Community 145 - "Help PDF: Modes"
Cohesion: 0.40 Cohesion: 0.40
@@ -817,46 +846,70 @@ Nodes (12): _expand(), _preset_from_map(), process_data(), _select_entries(), _t
Cohesion: 0.20 Cohesion: 0.20
Nodes (10): httpd_req, aux, content_len, free_ctx, handle, ignore_sess_ctx_changes, method, sess_ctx (+2 more) 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" ### Community 170 - "dependencies"
Cohesion: 0.16 Cohesion: 0.12
Nodes (13): dependencies, espressif/cjson, espressif/mdns, espressif/w5500, joltwallet/littlefs, version, rules, version (+5 more) 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)" ### Community 171 - "List Search (JS)"
Cohesion: 0.83 Cohesion: 0.83
Nodes (3): applyListSearch(), initListSearch(), rowSearchText() Nodes (3): applyListSearch(), initListSearch(), rowSearchText()
### Community 177 - "sock_db" ### Community 177 - "SerialDMX"
Cohesion: 0.11 Cohesion: 0.20
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) 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" ### Community 179 - "httpd_txrx.c"
Cohesion: 0.07 Cohesion: 0.09
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) 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" ### Community 197 - "Test Server Tools"
Cohesion: 0.19 Cohesion: 0.18
Nodes (6): wraps(), print_exception(), websocket_upgrade(), websocket_wrapper(), wrapper(), with_websocket() 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" ### Community 198 - "SerialTransport"
Cohesion: 0.07 Cohesion: 0.12
Nodes (7): _convert_filesystem_error(), SerialIntercept, SerialTransport, stdout_write_bytes(), Transport, TransportError, TransportExecError Nodes (4): SerialIntercept, SerialTransport, TransportError, TransportExecError
### Community 199 - "hmac256" ### Community 200 - "Supported Platforms and Transports"
Cohesion: 0.43 Cohesion: 0.29
Nodes (6): hmac256(), rotr(), sha_block(), sha_final(), sha_init(), sha_update() Nodes (6): ota / coprocessor_ota — Coprocessor, Scenario, Supported Connection buses, Supported Coprocessors, Supported Host Devices, Supported Platforms and Transports
### Community 200 - "esp_err_t"
Cohesion: 0.33
Nodes (3): esp_err_to_name(), esp_event_post(), esp_read_mac()
### Community 201 - "httpd_ctrl_data" ### Community 201 - "httpd_ctrl_data"
Cohesion: 0.22 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) 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" ### Community 204 - "_simlink_proc.py"
Cohesion: 0.16 Cohesion: 0.16
Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels() 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" ### Community 216 - "dmx_decode.test.mjs"
Cohesion: 0.38 Cohesion: 0.38
Nodes (3): can(), mover(), universe() Nodes (3): can(), mover(), universe()
@@ -865,13 +918,13 @@ Nodes (3): can(), mover(), universe()
Cohesion: 0.33 Cohesion: 0.33
Nodes (5): api_call_t, cap, done, msg, out Nodes (5): api_call_t, cap, done, msg, out
### Community 218 - "SerialDMX" ### Community 218 - "time"
Cohesion: 0.24 Cohesion: 0.12
Nodes (3): sleep_ms(), SerialDMX, sleep() Nodes (13): Blink, Pulse, call(), main(), switch(), wifi_state(), sleep(), sleep_ms() (+5 more)
### Community 221 - "nvs_open" ### Community 221 - "nvs_open"
Cohesion: 0.23 Cohesion: 0.09
Nodes (16): load_channel(), set_channel(), sim_host_flash(), apply_device_config(), ctrl_init(), save_groups(), settings_load_hw(), settings_load_wifi() (+8 more) Nodes (46): load_channel(), set_channel(), string, ctrl_init(), save_groups(), get_str(), settings_load_hw(), settings_load_wifi() (+38 more)
### Community 227 - "dependencies" ### Community 227 - "dependencies"
Cohesion: 0.33 Cohesion: 0.33
@@ -885,32 +938,76 @@ Nodes (4): boot(), exit(), log(), startPixels()
Cohesion: 0.42 Cohesion: 0.42
Nodes (5): fixtureEnd(), fixtureLeds(), heading(), isPoint(), roomStrips() Nodes (5): fixtureEnd(), fixtureLeds(), heading(), isPoint(), roomStrips()
### Community 242 - "DMX Driver Art-Net and serial gateway" ### Community 241 - "ctrl_msg.cpp"
Cohesion: 0.28 Cohesion: 0.20
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) 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 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 ## Knowledge Gaps
- **297 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+292 more) - **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.) 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.)
- **93 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. - **97 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions ## Suggested Questions
_Questions this graph is uniquely positioned to answer:_ _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`?** - **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.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?** - **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._ _`cJSON_GetObjectItem()` has 232 INFERRED edges - model-reasoned connections that need verification._
- **What connects `next`, `prev`, `child` to the rest of the system?** - **What connects `next`, `prev`, `child` to the rest of the system?**
_297 weakly-connected nodes found - possible documentation gaps or missing edges._ _297 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `IdfDevice` be split into smaller, more focused modules?** - **Should `IdfDevice` be split into smaller, more focused modules?**
_Cohesion score 0.09747899159663866 - nodes in this community are weakly interconnected._ _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`?** - **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.020) - this node is a cross-community bridge._ _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?** - **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._ _`cJSON_Delete()` has 137 INFERRED edges - model-reasoned connections that need verification._
- **Should `htmx Library` be split into smaller, more focused modules?** - **Should `htmx Library` be split into smaller, more focused modules?**
+1 -1
View File
@@ -1 +1 @@
{"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["docs_mockups_images_color_picker_demo_hsb_color_model","docs_mockups_images_color_picker_demo_hex_rgb_input","docs_mockups_images_color_picker_demo_keyboard_accessibility","docs_mockups_images_color_picker_demo_cross_platform_consistency"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["docs_images_help_mobile_menu_run_mode","docs_images_help_mobile_menu_profiles","docs_images_help_mobile_menu_tabs","docs_images_help_mobile_menu_presets","docs_images_help_mobile_menu_help"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["docs_mockups_images_index_dashboard_mockup","docs_mockups_images_index_pattern_selector_mockup","docs_mockups_images_index_device_management_mockup","docs_mockups_images_index_settings_mockup","docs_mockups_images_index_presets_mockup"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["docs_mockups_images_pattern_selector_on","docs_mockups_images_pattern_selector_off","docs_mockups_images_pattern_selector_blink","docs_mockups_images_pattern_selector_chase","docs_mockups_images_pattern_selector_circle","docs_mockups_images_pattern_selector_pulse","docs_mockups_images_pattern_selector_rainbow","docs_mockups_images_pattern_selector_transition"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["docs_mockups_index","docs_mockups_dashboard","docs_mockups_pattern_selector","docs_mockups_device_management","docs_mockups_readme_settings_mockup","docs_mockups_color_picker_readme_presets_mockup"],"relation":"foLine truncated {"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["docs_mockups_images_color_picker_demo_hsb_color_model","docs_mockups_images_color_picker_demo_hex_rgb_input","docs_mockups_images_color_picker_demo_keyboard_accessibility","docs_mockups_images_color_picker_demo_cross_platform_consistency"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["docs_images_help_mobile_menu_run_mode","docs_images_help_mobile_menu_profiles","docs_images_help_mobile_menu_tabs","docs_images_help_mobile_menu_presets","docs_images_help_mobile_menu_help"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["docs_mockups_images_index_dashboard_mockup","docs_mockups_images_index_pattern_selector_mockup","docs_mockups_images_index_device_management_mockup","docs_mockups_images_index_settings_mockup","docs_mockups_images_index_presets_mockup"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["docs_mockups_images_pattern_selector_on","docs_mockups_images_pattern_selector_off","docs_mockups_images_pattern_selector_blink","docs_mockups_images_pattern_selector_chase","docs_mockups_images_pattern_selector_circle","docs_mockups_images_pattern_selector_pulse","docs_mockups_images_pattern_selector_rainbow","docs_mockups_images_pattern_selector_transition"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["docs_mockups_index","docs_mockups_dashboard","docs_mockups_pattern_selector","docs_mockups_device_management","docs_mockups_readme_settings_mockup","docs_mockups_color_picker_readme_presets_mockup"],"relation":"foLine truncated
+505 -55
View File
@@ -456,9 +456,9 @@
"semantic_hash": "700e464cfe9bf038a06dd4e31d58c2d4" "semantic_hash": "700e464cfe9bf038a06dd4e31d58c2d4"
}, },
"main/engine.c": { "main/engine.c": {
"mtime": 1795087797.8751228, "mtime": 1795482277.0101156,
"seen": 1795087985.605667, "seen": 1795483469.535769,
"ast_hash": "26830a83d3a1881aebbd72c5400d3bee", "ast_hash": "3645d5c0ecb74ddfc171b4e9b4e51482",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/engine.h": { "main/engine.h": {
@@ -480,9 +480,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/espnow_tx.c": { "main/espnow_tx.c": {
"mtime": 1794732641.0110714, "mtime": 1795491322.7562864,
"seen": 1794732791.144719, "seen": 1795491814.9659693,
"ast_hash": "670febfaf02bc285ef4dfa900e9f8218", "ast_hash": "10dbc502a9a0313e23f7fa9e33cb2773",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/espnow_tx.h": { "main/espnow_tx.h": {
@@ -492,27 +492,27 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/idf_component.yml": { "main/idf_component.yml": {
"mtime": 1794608355.1748385, "mtime": 1795491368.7900434,
"seen": 1794609724.2120414, "seen": 1795491814.9659963,
"ast_hash": "742b8a2f6f76972fd73f6ae00f3018e3", "ast_hash": "91d611fd232c308b90577cc52e1d59d7",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/main.c": { "main/main.c": {
"mtime": 1794828673.5260727, "mtime": 1795494302.5044138,
"seen": 1794831063.7114704, "seen": 1795494370.9207885,
"ast_hash": "d3fb2a0b6b53b0085a666fe36edfac8b", "ast_hash": "5c110aa99c9dd08f2201c9d9e8cd40ac",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/mic.c": { "main/mic.c": {
"mtime": 1793622279.0995092, "mtime": 1795491359.816846,
"seen": 1793707995.1510262, "seen": 1795491814.965999,
"ast_hash": "c9cebaa2630ecc187914ba2ceb871d25", "ast_hash": "82eba8b74abd4e6350c615467d1f0b16",
"semantic_hash": "c9cebaa2630ecc187914ba2ceb871d25" "semantic_hash": ""
}, },
"main/mic.h": { "main/mic.h": {
"mtime": 1794710254.6363616, "mtime": 1795491359.8167608,
"seen": 1794710291.4684157, "seen": 1795491814.9660003,
"ast_hash": "bbee4a6649dede4cfa1f4a9f2052540a", "ast_hash": "77ec19cde07c9224b59c483b88272705",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/ota.c": { "main/ota.c": {
@@ -606,9 +606,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/web.c": { "main/web.c": {
"mtime": 1794828673.5270727, "mtime": 1795493787.3246942,
"seen": 1794831063.7119088, "seen": 1795494370.9212592,
"ast_hash": "06786e1a7037d748a112121faceeb898", "ast_hash": "3447875fc395c2c9bfcc215ba16f5ec8",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/web.h": { "main/web.h": {
@@ -1020,15 +1020,15 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"CMakeLists.txt": { "CMakeLists.txt": {
"mtime": 1793622279.097092, "mtime": 1795491368.7900705,
"seen": 1793707995.151102, "seen": 1795491814.9708762,
"ast_hash": "05a67a3f907ec1ed1b46b357dbc83c25", "ast_hash": "05a67a3f907ec1ed1b46b357dbc83c25",
"semantic_hash": "05a67a3f907ec1ed1b46b357dbc83c25" "semantic_hash": ""
}, },
"README.md": { "README.md": {
"mtime": 1794783157.3001297, "mtime": 1795491763.647069,
"seen": 1794783239.9567554, "seen": 1795491814.970878,
"ast_hash": "3f5fc1606dd002e9676fac99ea2e0a4d", "ast_hash": "675bc2ba1fad31872f81722c1c13bacc",
"semantic_hash": "" "semantic_hash": ""
}, },
"dmx-driver/README.md": { "dmx-driver/README.md": {
@@ -1164,9 +1164,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/CMakeLists.txt": { "main/CMakeLists.txt": {
"mtime": 1794903874.207326, "mtime": 1795491368.7900033,
"seen": 1794904798.417676, "seen": 1795491814.973525,
"ast_hash": "f48e1593b2a39464b278ab41d01a3e5b", "ast_hash": "ad3588145329827fa056d1c5870b65c8",
"semantic_hash": "" "semantic_hash": ""
}, },
"scripts/led-test/CMakeLists.txt": { "scripts/led-test/CMakeLists.txt": {
@@ -1488,15 +1488,15 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/bridge.c": { "main/bridge.c": {
"mtime": 1794904051.9806864, "mtime": 1795481895.1970575,
"seen": 1794904798.384837, "seen": 1795483469.5355816,
"ast_hash": "3ce095b7b8c6f5dbbd3257b7f6d78d4f", "ast_hash": "e67df911705487f6e8f85ea2e7c55f29",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/bridge.h": { "main/bridge.h": {
"mtime": 1794903874.2295244, "mtime": 1795482117.822777,
"seen": 1794904798.384845, "seen": 1795483469.535583,
"ast_hash": "7e38d6833dd6334acb675691a75dbfce", "ast_hash": "6334a5c8b0208f6c776ad9b2918fa1d3",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/include/driver/gpio.h": { "sim-controller/components/sim/include/driver/gpio.h": {
@@ -1686,15 +1686,15 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/main/settings.cpp": { "led-driver/main/settings.cpp": {
"mtime": 1795092068.6900742, "mtime": 1795175145.2496428,
"seen": 1795093117.5806046, "seen": 1795480607.483891,
"ast_hash": "67d7f0f4d8409b66f2a210b3e96103d7", "ast_hash": "3eb321f3d1f317148b800c662076dd8c",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/main/settings.h": { "led-driver/main/settings.h": {
"mtime": 1794608628.8495471, "mtime": 1795175145.277643,
"seen": 1794609724.211952, "seen": 1795480607.4838922,
"ast_hash": "573688545235ca36182a38a788e559c4", "ast_hash": "0571ea1c2decf4cfb492b91047e99605",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/main/web.cpp": { "led-driver/main/web.cpp": {
@@ -1836,9 +1836,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"bridge/main/bridge_main.c": { "bridge/main/bridge_main.c": {
"mtime": 1795094586.1721716, "mtime": 1795175145.3116426,
"seen": 1795094788.71017, "seen": 1795480607.4771962,
"ast_hash": "d7430e033c69f2c9aba5ab1e749379ba", "ast_hash": "6bc390500153e1a30e87e876d75651be",
"semantic_hash": "" "semantic_hash": ""
}, },
"bridge/main/bridge_proto.h": { "bridge/main/bridge_proto.h": {
@@ -2070,9 +2070,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"desktop/port/include/sdkconfig.h": { "desktop/port/include/sdkconfig.h": {
"mtime": 1794806401.1470919, "mtime": 1795175383.5238438,
"seen": 1794806592.2803013, "seen": 1795480607.4784617,
"ast_hash": "f76009cc19b7c30590d76338828f69cf", "ast_hash": "a602e824728788d53b1e4f747e677eba",
"semantic_hash": "" "semantic_hash": ""
}, },
"desktop/port/src/desktop_crypto.c": { "desktop/port/src/desktop_crypto.c": {
@@ -2442,9 +2442,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/seq_timeline.js": { "web/static/seq_timeline.js": {
"mtime": 1795088660.09356, "mtime": 1795493787.3251786,
"seen": 1795088752.0235796, "seen": 1795494370.9252515,
"ast_hash": "71ebee3d736bbdcf811accfa457f0c83", "ast_hash": "2a1dc5f8ac02c54d743f57df61ec9ff1",
"semantic_hash": "" "semantic_hash": ""
}, },
".claude/launch.json": { ".claude/launch.json": {
@@ -2604,9 +2604,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/sim_split.js": { "web/static/sim_split.js": {
"mtime": 1794887350.7827938, "mtime": 1795493787.3248851,
"seen": 1794888631.7936254, "seen": 1795494370.9253223,
"ast_hash": "aa6a367646166a4b95c956a0ca375e8b", "ast_hash": "e2b1f871b231ec4f86210f7bd4b44396",
"semantic_hash": "" "semantic_hash": ""
}, },
".gitea/workflows/release.yml": { ".gitea/workflows/release.yml": {
@@ -3316,5 +3316,455 @@
"seen": 1795128066.951718, "seen": 1795128066.951718,
"ast_hash": "1c4441561a623f13e70dae1dcfba7300", "ast_hash": "1c4441561a623f13e70dae1dcfba7300",
"semantic_hash": "" "semantic_hash": ""
},
"scripts/c6-ota/cp/main/idf_component.yml": {
"mtime": 1795479818.1488187,
"seen": 1795480607.4870734,
"ast_hash": "a314306bfd5562206fb1cdaec84b3d4f",
"semantic_hash": ""
},
"scripts/c6-ota/cp/main/main.c": {
"mtime": 1795479818.1488917,
"seen": 1795480607.4870756,
"ast_hash": "1b4c555b8dd50a220bdbb7d075fe99a0",
"semantic_hash": ""
},
"scripts/c6-ota/host-v2/main/idf_component.yml": {
"mtime": 1795480247.679547,
"seen": 1795480607.4870768,
"ast_hash": "b3a9d53a289352a8d1c73c50fcf11def",
"semantic_hash": ""
},
"scripts/c6-ota/host-v2/main/main.c": {
"mtime": 1795480368.8754077,
"seen": 1795480607.487078,
"ast_hash": "936133fbd6d4eb89055866a1349c8fb7",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_https/ota_https.c": {
"mtime": 1795479818.1517286,
"seen": 1795480607.4870791,
"ast_hash": "251dc53dbcbcb6bbb6d3c7c897777e5e",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_https/ota_https.h": {
"mtime": 1795479818.1518476,
"seen": 1795480607.4870808,
"ast_hash": "aa1eea06369a963de32c19a865a1682a",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_https/ota_https_wifi.c": {
"mtime": 1795479818.1517944,
"seen": 1795480607.487082,
"ast_hash": "e0384c99da8563cade6a116ef330a160",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_https/test_server/create_https_server.py": {
"mtime": 1795479818.1516156,
"seen": 1795480607.4870832,
"ast_hash": "768c5d3fb2ff863d8e1f9b0273de0a95",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_https/test_server/create_self_signed_certs.sh": {
"mtime": 1795479818.1515076,
"seen": 1795480607.4870844,
"ast_hash": "17854c79597a2673c9eef82a5f14d21e",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_littlefs/ota_littlefs.c": {
"mtime": 1795479818.150828,
"seen": 1795480607.4870853,
"ast_hash": "895c76d00fc8221588fca2dc2906e4e4",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_littlefs/ota_littlefs.h": {
"mtime": 1795479818.1505492,
"seen": 1795480607.4870863,
"ast_hash": "36a5da0d95ebdb49f178821ae9314e59",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_partition/ota_partition.c": {
"mtime": 1795479818.1509752,
"seen": 1795480607.4870882,
"ast_hash": "3bdeb9ac413b0dadf817c4998db1ac10",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_partition/ota_partition.h": {
"mtime": 1795479818.1511612,
"seen": 1795480607.4870892,
"ast_hash": "dc793b9617cc66a7abf73b6e4eeaa606",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/main/idf_component.yml": {
"mtime": 1795479818.1497757,
"seen": 1795480607.4870903,
"ast_hash": "47751627912fc0ab7a9319c41f1b90fc",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/main/legacy/main.c": {
"mtime": 1795479818.1499448,
"seen": 1795480607.4870915,
"ast_hash": "0a76d34d19e9fcaf36f6b4f489b274e3",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/main/main.c": {
"mtime": 1795479818.1498241,
"seen": 1795480607.4870925,
"ast_hash": "2c155c49d7732e7843cc8a632c485a3e",
"semantic_hash": ""
},
"scripts/p4-probe/main/idf_component.yml": {
"mtime": 1795479370.6395514,
"seen": 1795480607.4877913,
"ast_hash": "d04cc298d77ef150bea15fdb8f203545",
"semantic_hash": ""
},
"scripts/p4-probe/main/main.c": {
"mtime": 1795479518.899439,
"seen": 1795480607.487793,
"ast_hash": "008d0332e2981ec8ee703632aed0d97a",
"semantic_hash": ""
},
"scripts/c6-ota/cp/CMakeLists.txt": {
"mtime": 1795479818.14764,
"seen": 1795480607.4924722,
"ast_hash": "2fe82bf84c0cbb3fe356c4e51d0f9b47",
"semantic_hash": ""
},
"scripts/c6-ota/cp/README.md": {
"mtime": 1795479818.1482193,
"seen": 1795480607.4924738,
"ast_hash": "3fffde5295eaa8020d5b65a990b589fc",
"semantic_hash": ""
},
"scripts/c6-ota/cp/main/CMakeLists.txt": {
"mtime": 1795479818.1487494,
"seen": 1795480607.4924755,
"ast_hash": "a9d341a6619bb8b4dacd3165d5a0aed9",
"semantic_hash": ""
},
"scripts/c6-ota/host-v2/CMakeLists.txt": {
"mtime": 1795480247.6775467,
"seen": 1795480607.4924767,
"ast_hash": "15506a915f8d09caf386a8d7eccf4444",
"semantic_hash": ""
},
"scripts/c6-ota/host-v2/main/CMakeLists.txt": {
"mtime": 1795480368.8778098,
"seen": 1795480607.4924777,
"ast_hash": "7066b37d3303164e13886ae928cee322",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/CMakeLists.txt": {
"mtime": 1795479818.149398,
"seen": 1795480607.4924796,
"ast_hash": "d610c9fc8b1ab3953dbeb5a0640dc8a7",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/README.md": {
"mtime": 1795479818.1494565,
"seen": 1795480607.4924805,
"ast_hash": "1bb4a00f3b6273c9e4ae17e8699b814a",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_https/CMakeLists.txt": {
"mtime": 1795479818.151666,
"seen": 1795480607.4924817,
"ast_hash": "57ae640759ca52fa392ba5d3ed1976c4",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_https/test_server/README.md": {
"mtime": 1795479818.151563,
"seen": 1795480607.492483,
"ast_hash": "3b24662bdf1305a84b287c23a47c06f0",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_littlefs/CMakeLists.txt": {
"mtime": 1795479818.1504872,
"seen": 1795480607.4924839,
"ast_hash": "7e8ef59a57e63bd2c6025779ce857d3c",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_littlefs/slave_fw_bin/README.md": {
"mtime": 1795479818.1506908,
"seen": 1795480607.4924846,
"ast_hash": "a469045c4e2dd214ed406e70cee75172",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_partition/CMakeLists.txt": {
"mtime": 1795479818.1510801,
"seen": 1795480607.4924855,
"ast_hash": "00828e675b0e996fac1d4676cd63f730",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/components/ota_partition/slave_fw_bin/README.md": {
"mtime": 1795479818.1512642,
"seen": 1795480607.4924867,
"ast_hash": "b0f83921725a3bc1832b75acc04d388a",
"semantic_hash": ""
},
"scripts/c6-ota/mcu_host/main/CMakeLists.txt": {
"mtime": 1795479818.1496189,
"seen": 1795480607.492488,
"ast_hash": "8cea2a7be09895c2abb3231d1cf84da2",
"semantic_hash": ""
},
"scripts/p4-probe/CMakeLists.txt": {
"mtime": 1795479370.634551,
"seen": 1795480607.4929113,
"ast_hash": "e9863df2d9f86989c13fe55ec22431cf",
"semantic_hash": ""
},
"scripts/p4-probe/main/CMakeLists.txt": {
"mtime": 1795479370.637551,
"seen": 1795480607.4929132,
"ast_hash": "2614b4046f8e5df8d9d7c3ea762230b0",
"semantic_hash": ""
},
"bridge/main/radio_proto.h": {
"mtime": 1795482667.397158,
"seen": 1795483469.527052,
"ast_hash": "5cf394e324fea23c68e7318101c971eb",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c": {
"mtime": 1795482946.0428154,
"seen": 1795483469.5299978,
"ast_hash": "78c2b021e3060ed7ecd641412898ecb0",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp": {
"mtime": 1795482946.1008132,
"seen": 1795483469.53,
"ast_hash": "9c35f26516a840833b8064e9da71746d",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml": {
"mtime": 1795482952.9755385,
"seen": 1795483469.5300014,
"ast_hash": "64e42d5c0b70ad6644ce89a5e73a2888",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/InstallScripts.json": {
"mtime": 1795482953.3305244,
"seen": 1795483469.5300024,
"ast_hash": "7c7a10b057971c02e3c4c09259195310",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/bootloader.dir/Labels.json": {
"mtime": 1795482953.298206,
"seen": 1795483469.530004,
"ast_hash": "2f456ef130105c4402576995fb7d0039",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c": {
"mtime": 1795482955.7964258,
"seen": 1795483469.5300052,
"ast_hash": "78c2b021e3060ed7ecd641412898ecb0",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp": {
"mtime": 1795482955.9284205,
"seen": 1795483469.5300062,
"ast_hash": "9c35f26516a840833b8064e9da71746d",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml": {
"mtime": 1795482963.108228,
"seen": 1795483469.5300074,
"ast_hash": "4941770609b829a84c73864c7b169c51",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeFiles/InstallScripts.json": {
"mtime": 1795482963.2601273,
"seen": 1795483469.5300083,
"ast_hash": "346ea4706b94af63f4ed42b45b4befc1",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/compile_commands.json": {
"mtime": 1795482963.1801305,
"seen": 1795483469.5300093,
"ast_hash": "d819b8ec87889a743ee40b99a3660104",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/config/kconfig_menus.json": {
"mtime": 1795482960.4661007,
"seen": 1795483469.5300107,
"ast_hash": "9efe37903c62975b480eaf0070084a61",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/config/sdkconfig.h": {
"mtime": 1795482960.3842776,
"seen": 1795483469.5300117,
"ast_hash": "0e35878430826cd83cfefe972a1f91e1",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/config/sdkconfig.json": {
"mtime": 1795482960.400543,
"seen": 1795483469.5300126,
"ast_hash": "abe83e648f2fab018dc8db470996ba74",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/hints.yml": {
"mtime": 1795482963.1062617,
"seen": 1795483469.5300138,
"ast_hash": "c99ef35cd2fa625aa0284b5fc885f28f",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/project_description.json": {
"mtime": 1795482963.1251328,
"seen": 1795483469.5300152,
"ast_hash": "19ec5291bcbb96805b0b9a243799efdf",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/project_elf_src_esp32c3.c": {
"mtime": 1795482963.2971258,
"seen": 1795483469.5300162,
"ast_hash": "d41d8cd98f00b204e9800998ecf8427e",
"semantic_hash": ""
},
"led-driver/build-d61/config/sdkconfig.h": {
"mtime": 1795482949.5059505,
"seen": 1795483469.5300174,
"ast_hash": "94c534bce94ec452bcc64503b7f12b57",
"semantic_hash": ""
},
"led-driver/build-d61/config/sdkconfig.json": {
"mtime": 1795482949.5102682,
"seen": 1795483469.5300183,
"ast_hash": "74d8b163f5027e484a513a2650844e83",
"semantic_hash": ""
},
"led-driver/build-d61/flasher_args.json": {
"mtime": 1795482953.0444882,
"seen": 1795483469.5300193,
"ast_hash": "63ffa2cb06d0e61992ab9fa11e9b9c79",
"semantic_hash": ""
},
"led-driver/build-d61/hints.yml": {
"mtime": 1795482952.9712925,
"seen": 1795483469.5300207,
"ast_hash": "e7a28198aa8b592ccb19c09021a8653b",
"semantic_hash": ""
},
"led-driver/build-d61/project_description.json": {
"mtime": 1795482953.045447,
"seen": 1795483469.530022,
"ast_hash": "576286c013c614269b31818347007a6a",
"semantic_hash": ""
},
"led-driver/build-d61/project_elf_src_esp32c3.c": {
"mtime": 1795482953.9734986,
"seen": 1795483469.5300226,
"ast_hash": "d41d8cd98f00b204e9800998ecf8427e",
"semantic_hash": ""
},
"main/bridge_hosted.c": {
"mtime": 1795481802.596864,
"seen": 1795483469.5356612,
"ast_hash": "55d004a529b98fdb39c6c4d16d69105a",
"semantic_hash": ""
},
"main/bridge_hosted.h": {
"mtime": 1795481802.5768652,
"seen": 1795483469.5356631,
"ast_hash": "beb6e943c4e7d31ba79343988dadbcf8",
"semantic_hash": ""
},
"main/c6_update.c": {
"mtime": 1795491776.4026546,
"seen": 1795491814.9658062,
"ast_hash": "f6fe29281a94a6e9149ca65f26acb532",
"semantic_hash": ""
},
"main/c6_update.h": {
"mtime": 1795491776.4033628,
"seen": 1795491814.965809,
"ast_hash": "87db8cb97e356108cb6eedc145190f9c",
"semantic_hash": ""
},
"radio-c6/main/idf_component.yml": {
"mtime": 1795481656.359795,
"seen": 1795483469.5365074,
"ast_hash": "42f0961c96a152bc369ab81880d58a9b",
"semantic_hash": ""
},
"radio-c6/main/radio_now.c": {
"mtime": 1795482667.3973174,
"seen": 1795483469.5365086,
"ast_hash": "b156a7795097640d2513b222a71f5184",
"semantic_hash": ""
},
"docs/P4_NANO.md": {
"mtime": 1795491763.646949,
"seen": 1795491814.9711444,
"ast_hash": "ad769c97ad56e7341c4795bcb7975605",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeCache.txt": {
"mtime": 1795482952.9755385,
"seen": 1795483469.5410385,
"ast_hash": "1e976747be64d0e64e0d7e240ff8f261",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/TargetDirectories.txt": {
"mtime": 1795482953.2995255,
"seen": 1795483469.5410402,
"ast_hash": "019ae9518d446d250ac62729e4a175f0",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/bootloader.dir/Labels.txt": {
"mtime": 1795482953.2982302,
"seen": 1795483469.5410411,
"ast_hash": "df3ae316751ef81a78db27568b635507",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader-prefix/src/bootloader-stamp/bootloader-patch-info.txt": {
"mtime": 1795482949.7176688,
"seen": 1795483469.541043,
"ast_hash": "41aa8a08e8001a7844105a410d24a140",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader-prefix/src/bootloader-stamp/bootloader-source_dirinfo.txt": {
"mtime": 1795482949.715669,
"seen": 1795483469.541044,
"ast_hash": "6738a0500c073b4041615d7695433dd2",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader-prefix/src/bootloader-stamp/bootloader-update-info.txt": {
"mtime": 1795482949.7166688,
"seen": 1795483469.5410447,
"ast_hash": "71cb48cc52f47153392f48e69429e9dd",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader-prefix/tmp/bootloader-cfgcmd.txt": {
"mtime": 1795482949.7186687,
"seen": 1795483469.541046,
"ast_hash": "31ac3838895cfdeef8c8a766c39dad4e",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeCache.txt": {
"mtime": 1795482963.108228,
"seen": 1795483469.5410473,
"ast_hash": "23be4e5bb109d16aff906091377efdcc",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeFiles/TargetDirectories.txt": {
"mtime": 1795482963.1791306,
"seen": 1795483469.541048,
"ast_hash": "964aa6f498e66b6861e032fd000580e5",
"semantic_hash": ""
},
"radio-c6/CMakeLists.txt": {
"mtime": 1795482851.257664,
"seen": 1795483469.5425003,
"ast_hash": "67087d0288b947a5c1508f49e2d41931",
"semantic_hash": ""
},
"radio-c6/main/CMakeLists.txt": {
"mtime": 1795481819.012516,
"seen": 1795483469.542502,
"ast_hash": "24d4d2db512d6f8cd76dd4b8c524aed1",
"semantic_hash": ""
} }
} }
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_idf_component_yml", "label": "idf_component.yml", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L1"}, {"id": "$graphify-root$_main_idf_component_dependencies", "label": "dependencies", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L1"}, {"id": "$graphify-root$_main_idf_component_dependencies_joltwallet_littlefs", "label": "joltwallet/littlefs", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L2"}, {"id": "$graphify-root$_main_idf_component_joltwallet_littlefs_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L3"}, {"id": "$graphify-root$_main_idf_component_joltwallet_littlefs_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L4"}, {"id": "$graphify-root$_main_idf_component_rules_if", "label": "if", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L5"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_mdns", "label": "espressif/mdns", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L6"}, {"id": "$graphify-root$_main_idf_component_espressif_mdns_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L7"}, {"id": "$graphify-root$_main_idf_component_espressif_mdns_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L8"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_cjson", "label": "espressif/cjson", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L10"}, {"id": "$graphify-root$_main_idf_component_espressif_cjson_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L11"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_w5500", "label": "espressif/w5500", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L12"}, {"id": "$graphify-root$_main_idf_component_espressif_w5500_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L13"}, {"id": "$graphify-root$_main_idf_component_espressif_w5500_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L14"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_esp_hosted", "label": "espressif/esp_hosted", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L17"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_hosted_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L18"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_hosted_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L19"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_esp_wifi_remote", "label": "espressif/esp_wifi_remote", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L21"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_wifi_remote_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L22"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_wifi_remote_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L23"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_esp_codec_dev", "label": "espressif/esp_codec_dev", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L25"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_codec_dev_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L26"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_codec_dev_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L27"}], "edges": [{"source": "$graphify-root$_main_idf_component_yml", "target": "$graphify-root$_main_idf_component_dependencies", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/idf_component.yml", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_main_idf_component_dependencies", "target": "$graphify-root$_main_idf_component_dependencies_joltwallet_littlefs", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/idf_component.yml", "source_location": "L2", "weight": 1.0}, {"source": "$graphify-root$_main_idf_component_dependencies_joltwallet_littlefs", "target": "$graphify-root$_main_idf_component_joltwallet_littlefs_version", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/idf_Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_4_0_3_compileridc_cmakeccompilerid_c", "label": "CMakeCCompilerId.c", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_4_0_3_compileridc_cmakeccompilerid_main", "label": "main()", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "source_location": "L873", "_callable": true}], "edges": [{"source": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_4_0_3_compileridc_cmakeccompilerid_c", "target": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_4_0_3_compileridc_cmakeccompilerid_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "source_location": "L873", "weight": 1.0}], "raw_calls": [], "parse_errors": {"first_error_line": 781, "multiline_error": true, "lossy_error_line": 787}}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_espnow_tx_c", "label": "espnow_tx.c", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L1"}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_set_bridges", "label": "espnow_tx_set_bridges()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L51", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_radio_send", "label": "radio_send()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L61", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_drop", "label": "espnow_tx_drop()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L66", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_set_loss", "label": "espnow_tx_set_loss()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L71", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_loss", "label": "espnow_tx_loss()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L77", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_bridge_rx", "label": "bridge_rx()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L85", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_set_rx_cb", "label": "espnow_tx_set_rx_cb()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L92", "_callable": true}, {"id": "espnow_rx_cb_t", "label": "espnow_rx_cb_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_send_beat_copy", "label": "send_beat_copy()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L100", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_beat", "label": "espnow_tx_beat()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L119", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_set_mic_beats", "label": "espnow_tx_set_mic_beats()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L138", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_on_beat", "label": "on_beat()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L144", "_callable": true}, {"id": "beat_info_t", "label": "beat_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_bulk_task", "label": "bulk_task()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L155", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_send", "label": "espnow_tx_send()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L188", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_stats", "label": "espnow_tx_stats()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L201", "_callable": true}, {"id": "espnow_stats_t", "label": "espnow_stats_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_ap_event", "label": "ap_event()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L210", "_callable": true}, {"id": "esp_event_base_t", "label": "esp_event_base_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_ap_clients", "label": "espnow_tx_ap_clients()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L217", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_radio_init", "label": "radio_init()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L232", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_change_bridges", "label": "espnow_tx_change_bridges()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L284", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_init", "label": "espnow_tx_init()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L290", "_callable": true}], "edges": [{"source": "$graphify-root$_main_espnow_tx_c", "target": "$graphify-root$_main_espnow_tx_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/espnow_tx.c", "source_location": "L1", "weight": 1.0, "target_file": "$graphify-root$/main/espnow_tx.h"}, {"source": "$graphify-root$_main_espnow_tx_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_bridge_c", "label": "bridge.c", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L1"}, {"id": "$graphify-root$_main_bridge_is_serial_addr", "label": "is_serial_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L70", "_callable": true}, {"id": "$graphify-root$_main_bridge_is_browser_addr", "label": "is_browser_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L75", "_callable": true}, {"id": "$graphify-root$_main_bridge_is_dmx_addr", "label": "is_dmx_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L80", "_callable": true}, {"id": "$graphify-root$_main_bridge_is_c6_addr", "label": "is_c6_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L85", "_callable": true}, {"id": "$graphify-root$_main_bridge_now_ms", "label": "now_ms()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L96", "_callable": true}, {"id": "$graphify-root$_main_bridge_fnv1a", "label": "fnv1a()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L101", "_callable": true}, {"id": "$graphify-root$_main_bridge_deliver", "label": "deliver()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L110", "_callable": true}, {"id": "$graphify-root$_main_bridge_rx_task", "label": "rx_task()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L128", "_callable": true}, {"id": "$graphify-root$_main_bridge_ctl_rx_task", "label": "ctl_rx_task()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L151", "_callable": true}, {"id": "$graphify-root$_main_bridge_keepalive_task", "label": "keepalive_task()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L197", "_callable": true}, {"id": "$graphify-root$_main_bridge_split_udp", "label": "split_udp()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L249", "_callable": true}, {"id": "$graphify-root$_main_bridge_connect_udp", "label": "connect_udp()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L262", "_callable": true}, {"id": "$graphify-root$_main_bridge_find_link", "label": "find_link()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L288", "_callable": true}, {"id": "$graphify-root$_main_bridge_activate", "label": "activate()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L299", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge.c"}, {"id": "$graphify-root$_main_bridge_deactivate", "label": "deactivate()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L399", "_callable": true}, {"id": "$graphify-root$_main_bridge_ensure_tasks", "label": "ensure_tasks()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L427", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_set_all", "label": "bridge_set_all()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L436", "_callable": true}, {"id": "bridge_rx_cb_t", "label": "bridge_rx_cb_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge.c"}, {"id": "$graphify-root$_main_bridge_bridge_set_renamed_cb", "label": "bridge_set_renamed_cb()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L479", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_active", "label": "bridge_active()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L484", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_list", "label": "bridge_list()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L494", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_send", "label": "bridge_send()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L506", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_status_json", "label": "bridge_status_json()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L556", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_ports_json", "label": "bridge_ports_json()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L623", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_board_set_channel", "label": "bridge_board_set_channel()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L632", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_browser_rx", "label": "bridge_browser_rx()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L652", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_mac_is_browser", "label": "bridgLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_main_c", "label": "main.c", "file_type": "code", "source_file": "main/main.c", "source_location": "L1"}, {"id": "$graphify-root$_main_main_reset_reason", "label": "reset_reason()", "file_type": "code", "source_file": "main/main.c", "source_location": "L52", "_callable": true}, {"id": "$graphify-root$_main_main_status_get_handler", "label": "status_get_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L69", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_settings_bool", "label": "settings_bool()", "file_type": "code", "source_file": "main/main.c", "source_location": "L126", "_callable": true}, {"id": "$graphify-root$_main_main_ap_button_held", "label": "ap_button_held()", "file_type": "code", "source_file": "main/main.c", "source_location": "L133", "_callable": true}, {"id": "$graphify-root$_main_main_settings_str", "label": "settings_str()", "file_type": "code", "source_file": "main/main.c", "source_location": "L153", "_callable": true}, {"id": "$graphify-root$_main_main_parse_static", "label": "parse_static()", "file_type": "code", "source_file": "main/main.c", "source_location": "L161", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_netif_ip_info_t", "label": "esp_netif_ip_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_netif_dns_info_t", "label": "esp_netif_dns_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_gateway_answers", "label": "gateway_answers()", "file_type": "code", "source_file": "main/main.c", "source_location": "L186", "_callable": true}, {"id": "esp_netif_t", "label": "esp_netif_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_ip4_addr_t", "label": "esp_ip4_addr_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_have_static_ips", "label": "have_static_ips()", "file_type": "code", "source_file": "main/main.c", "source_location": "L208", "_callable": true}, {"id": "$graphify-root$_main_main_try_static_ips", "label": "try_static_ips()", "file_type": "code", "source_file": "main/main.c", "source_location": "L214", "_callable": true}, {"id": "$graphify-root$_main_main_dhcp_settled", "label": "dhcp_settled()", "file_type": "code", "source_file": "main/main.c", "source_location": "L246", "_callable": true}, {"id": "$graphify-root$_main_main_link_up_task", "label": "link_up_task()", "file_type": "code", "source_file": "main/main.c", "source_location": "L260", "_callable": true}, {"id": "$graphify-root$_main_main_start_mdns", "label": "start_mdns()", "file_type": "code", "source_file": "main/main.c", "source_location": "L277", "_callable": true}, {"id": "$graphify-root$_main_main_start_webserver", "label": "start_webserver()", "file_type": "code", "source_file": "main/main.c", "source_location": "L294", "_callable": true}, {"id": "$graphify-root$_main_main_eth_event_handler", "label": "eth_event_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L321", "_callable": true}, {"id": "esp_event_base_t", "label": "esp_event_base_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_got_ip_event_handler", "label": "got_ip_event_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L356", "_callable": true}, {"id": "$graphify-root$_main_main_eth_init", "label": "eth_init()", "file_type": "code", "source_file": "main/main.c", "source_location": "L377", "_callable": true}, {"id": "esp_eth_handle_t", "label": "esp_eth_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_app_main", "label": "app_main()", "file_type": "code", "source_file": "main/main.c", "source_location": "L399", "_callable": true}], "edges": [{"source": "$graphify-root$_main_main_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/main.c", "source_location": "L5", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_main_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXLine truncated
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_docs_p4_nano_md", "label": "P4_NANO.md", "file_type": "document", "node_kind": "page", "source_file": "docs/P4_NANO.md", "source_location": "L1"}, {"id": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "label": "Controller on the Waveshare ESP32-P4-Nano", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L1"}, {"id": "$graphify-root$_docs_p4_nano_build_and_flash", "label": "Build and flash", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L26"}, {"id": "$graphify-root$_docs_p4_nano_network", "label": "Network", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L44"}, {"id": "$graphify-root$_docs_p4_nano_using_it_as_a_network_bridge_from_the_desktop", "label": "Using it as a network bridge from the desktop", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L53"}, {"id": "$graphify-root$_docs_p4_nano_pins_from_the_waveshare_wiki_and_bsp", "label": "Pins (from the Waveshare wiki and BSP)", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L68"}, {"id": "$graphify-root$_docs_p4_nano_back_to_the_factory_demo", "label": "Back to the factory demo", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L80"}], "edges": [{"source": "$graphify-root$_docs_p4_nano_md", "target": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_build_and_flash", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L26", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_network", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L44", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_using_it_as_a_network_bridge_from_the_desktop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L53", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_pins_from_the_waveshare_wiki_and_bsp", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L68", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_back_to_the_factory_demo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L80", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "callee": "esp_wifi_remote", "is_member_call": false, "language": "markdown", "context": "esp_wifi_remote", "source_file": "docs/P4_NANO.md", "source_location": "L15"}, {"caller_nid": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "callee": "c6", "is_member_call": false, "language": "markdown", "context": "c6", "source_file": "docs/P4_NANO.md", "source_location": "L17"}, {"caller_nid": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "callee": "esp_codec_dev", "is_member_call": false, "language": "markdown", "context": "esp_codec_dev", "source_file": "docs/P4_NANO.md", "source_location": "L21"}, {"caller_nid": "$graphify-root$_docs_p4_nano_build_and_flash", "callee": "defaults", "is_member_call": false, "language": "markdown", "context": "sdkconfig.defaults", "source_file": "docs/P4_NANO.md", "source_location": "L28", "qualifiers": ["sdkconfig"]}, {"caller_nid": "$graphify-root$_docs_p4_nano_build_and_flash", "callee": "csv", "is_member_call": false, "language": "markdown", "context": "partitions.csv", "source_file": "docs/P4_NANO.md", "source_location": "L29", "qualifiers": ["partitions"]}, {"caller_nid": "$graphify-root$_docs_p4_nano_build_and_flash", "callee": "slave_fw", "is_member_call": false, "language": "markdown", "context": "slave_fw", "source_file": "docs/P4_NANO.md", "source_location": "L39"}, {"caller_nid": "$graphify-root$_docs_p4_nano_network", "callee": "static_ips", "is_member_call": false, "language": "markdown", "context": "static_ips", "source_file": "docs/P4_NANO.md", "source_location": "L47"}], "input_tokens": 0, "output_tokens": 0}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_c6_update_h", "label": "c6_update.h", "file_type": "code", "source_file": "main/c6_update.h", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (non-object root)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_mic_c", "label": "mic.c", "file_type": "code", "source_file": "main/mic.c", "source_location": "L1"}, {"id": "$graphify-root$_main_mic_to_dbfs", "label": "to_dbfs()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L38", "_callable": true}, {"id": "$graphify-root$_main_mic_mic_task", "label": "mic_task()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L43", "_callable": true}, {"id": "$graphify-root$_main_mic_codec_mic_start", "label": "codec_mic_start()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L126", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/mic.c"}, {"id": "$graphify-root$_main_mic_mic_start", "label": "mic_start()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L182", "_callable": true}, {"id": "$graphify-root$_main_mic_mic_get_level", "label": "mic_get_level()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L199", "_callable": true}, {"id": "mic_level_t", "label": "mic_level_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/mic.c"}, {"id": "$graphify-root$_main_mic_mic_stream_open", "label": "mic_stream_open()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L206", "_callable": true}, {"id": "$graphify-root$_main_mic_mic_stream_read", "label": "mic_stream_read()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L216", "_callable": true}, {"id": "ticktype_t", "label": "TickType_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/mic.c"}, {"id": "$graphify-root$_main_mic_mic_stream_close", "label": "mic_stream_close()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L221", "_callable": true}], "edges": [{"source": "$graphify-root$_main_mic_c", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_main_mic_c", "target": "freertos", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "freertos/FreeRTOS.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "task", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "freertos/task.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "stream_buffer", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "freertos/stream_buffer.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "esp_check", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "esp_check.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "i2s_std", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L13", "weight": 1.0, "metadata": {"raw_include": "driver/i2s_std.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "gpio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L14", "weight": 1.0, "metadata": {"raw_include": "driver/gpio.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "i2c_master", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L15", "weight": 1.0, "metadata": {"raw_include": "driver/i2c_master.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "esp_codec_dev", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L16", "weight": 1.0, "metadata": {"raw_include": "esp_codec_dev.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "esp_codec_dev_defaults", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L17", "weight": 1.0, "metadata": {"raw_include": "esp_codec_dev_defaults.h", "include_kind": "Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_yaml", "label": "CMakeConfigureLog.yaml", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_events", "label": "events", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L3"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_events_kind", "label": "kind", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L5"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_events_backtrace", "label": "backtrace", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L6"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_events_message", "label": "message", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L10"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_events_checks", "label": "checks", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L100"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_events_directories", "label": "directories", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L102"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_directories_source", "label": "source", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L103"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_directories_binary", "label": "binary", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L104"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_events_cmakevariables", "label": "cmakeVariables", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L105"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_cmakevariables_cmake_c_flags", "label": "CMAKE_C_FLAGS", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L106"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_cmakevariables_cmake_c_flags_debug", "label": "CMAKE_C_FLAGS_DEBUG", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L107"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_cmakevariables_cmake_exe_linker_flags", "label": "CMAKE_EXE_LINKER_FLAGS", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L108"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_cmakevariables_cmake_module_path", "label": "CMAKE_MODULE_PATH", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L109"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_events_buildresult", "label": "buildResult", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L110"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_buildresult_variable", "label": "variable", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L111"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_buildresult_cached", "label": "cached", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L112"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_buildresult_stdout", "label": "stdout", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L113"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_cmakeconfigurelog_buildresult_exitcode", "label": "exitCode", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml", "source_locatiLine truncated
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_bridge_h", "label": "bridge.h", "file_type": "code", "source_file": "main/bridge.h", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_main_bridge_h", "target": "stdbool", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.h", "source_location": "L19", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_h", "target": "stddef", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.h", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_h", "target": "stdint", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.h", "source_location": "L21", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_h", "target": "esp_err", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.h", "source_location": "L22", "weight": 1.0, "metadata": {"raw_include": "esp_err.h", "include_kind": "quoted"}}], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_build_d61_bootloader_project_elf_src_esp32c3_c", "label": "project_elf_src_esp32c3.c", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/project_elf_src_esp32c3.c", "source_location": null}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_mic_c", "label": "mic.c", "file_type": "code", "source_file": "main/mic.c", "source_location": "L1"}, {"id": "$graphify-root$_main_mic_to_dbfs", "label": "to_dbfs()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L40", "_callable": true}, {"id": "$graphify-root$_main_mic_mic_task", "label": "mic_task()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L45", "_callable": true}, {"id": "$graphify-root$_main_mic_codec_mic_start", "label": "codec_mic_start()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L129", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/mic.c"}, {"id": "$graphify-root$_main_mic_mic_start", "label": "mic_start()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L186", "_callable": true}, {"id": "$graphify-root$_main_mic_mic_get_level", "label": "mic_get_level()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L228", "_callable": true}, {"id": "mic_level_t", "label": "mic_level_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/mic.c"}, {"id": "$graphify-root$_main_mic_mic_stream_open", "label": "mic_stream_open()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L235", "_callable": true}, {"id": "$graphify-root$_main_mic_mic_stream_read", "label": "mic_stream_read()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L245", "_callable": true}, {"id": "ticktype_t", "label": "TickType_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/mic.c"}, {"id": "$graphify-root$_main_mic_mic_stream_close", "label": "mic_stream_close()", "file_type": "code", "source_file": "main/mic.c", "source_location": "L250", "_callable": true}], "edges": [{"source": "$graphify-root$_main_mic_c", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_main_mic_c", "target": "freertos", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "freertos/FreeRTOS.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "task", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "freertos/task.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "stream_buffer", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "freertos/stream_buffer.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "esp_check", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "esp_check.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "i2s_std", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L13", "weight": 1.0, "metadata": {"raw_include": "driver/i2s_std.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "gpio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L14", "weight": 1.0, "metadata": {"raw_include": "driver/gpio.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "i2c_master", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L16", "weight": 1.0, "metadata": {"raw_include": "driver/i2c_master.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "esp_codec_dev", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L17", "weight": 1.0, "metadata": {"raw_include": "esp_codec_dev.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_c", "target": "esp_codec_dev_defaults", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.c", "source_location": "L18", "weight": 1.0, "metadata": {"raw_include": "esp_codec_dev_defaults.h", "include_kind": "Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_sim_controller_components_sim_sim_rig_c", "label": "sim_rig.c", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L1"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_find_file", "label": "find_file()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L79", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_mime_for", "label": "mime_for()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L106", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_send_file", "label": "send_file()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L124", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_page_handler", "label": "page_handler()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L145", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_db_root", "label": "db_root()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L172", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_sim_path", "label": "sim_path()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L178", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_ensure_dirs", "label": "ensure_dirs()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L183", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_read_text", "label": "read_text()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L194", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_read_json", "label": "read_json()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L212", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_write_text", "label": "write_text()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L224", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_write_json", "label": "write_json()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L238", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_name_ok", "label": "name_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L248", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_room_name_ok", "label": "room_name_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L262", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_id_ok", "label": "id_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L267", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_mac_ok", "label": "mac_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L272", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_round_to", "label": "round_to()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L285", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_wrap_deg", "label": "wrap_deg()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L290", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_num_in", "label": "num_in()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L302", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_color_order_ok", "label": "color_order_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L320", "_callable": true}, {"id": "$gLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_bridge_hosted_c", "label": "bridge_hosted.c", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L1"}, {"id": "$graphify-root$_main_bridge_hosted_now_ms", "label": "now_ms()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L56", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_desktop_active", "label": "desktop_active()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L61", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_on_rx", "label": "on_rx()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L69", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_on_info", "label": "on_info()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L96", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_ctl_send", "label": "ctl_send()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L110", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_tx_task", "label": "tx_task()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L121", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_queue_frame", "label": "queue_frame()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L145", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge_hosted.c"}, {"id": "$graphify-root$_main_bridge_hosted_bridge_hosted_send", "label": "bridge_hosted_send()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L164", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_bridge_hosted_set_channel", "label": "bridge_hosted_set_channel()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L173", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_bridge_hosted_set_rx", "label": "bridge_hosted_set_rx()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L182", "_callable": true}, {"id": "bridge_rx_cb_t", "label": "bridge_rx_cb_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge_hosted.c"}, {"id": "$graphify-root$_main_bridge_hosted_keepalive_task", "label": "keepalive_task()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L188", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_bridge_hosted_status", "label": "bridge_hosted_status()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L207", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_bridge_hosted_start", "label": "bridge_hosted_start()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L233", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_build_udp_info", "label": "build_udp_info()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L263", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_udp_task", "label": "udp_task()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L279", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_mic_udp_task", "label": "mic_udp_task()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L300", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_ctl_task", "label": "ctl_task()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L333", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_udp_bind", "label": "udp_bind()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L359", "_callable": true}, {"id": "$graphify-root$_main_bridge_hosted_bridge_hosted_udp_start", "label": "bridge_hosted_udp_start()", "file_type": "code", "source_file": "main/bridge_hosted.c", "source_location": "L373", "_callable": true}], "edges": [{"source": "$graphify-root$_main_bridge_hosted_c", "target": "sdkconfig", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_hosted.c", "source_location": "L3", "weight": 1.0, "metadata": {"raw_include": "sdkconfig.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_hosted_c", "target": "$graphify-root$_main_bridge_hosted_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_hosted.c", "source_location": "L5", "weight": 1.0, "target_file": "$graphify-root$/main/bridge_hosted.h"}, {"source": "$graphify-root$_main_bridge_hosted_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_hosted.c", "source_location": "Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_build_d61_bootloader_config_sdkconfig_h", "label": "sdkconfig.h", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/config/sdkconfig.h", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_build_d61_project_elf_src_esp32c3_c", "label": "project_elf_src_esp32c3.c", "file_type": "code", "source_file": "led-driver/build-d61/project_elf_src_esp32c3.c", "source_location": null}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_c6_update_c", "label": "c6_update.c", "file_type": "code", "source_file": "main/c6_update.c", "source_location": "L1"}, {"id": "$graphify-root$_main_c6_update_image_size", "label": "image_size()", "file_type": "code", "source_file": "main/c6_update.c", "source_location": "L26", "_callable": true}, {"id": "esp_partition_t", "label": "esp_partition_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/c6_update.c"}, {"id": "$graphify-root$_main_c6_update_on_version", "label": "on_version()", "file_type": "code", "source_file": "main/c6_update.c", "source_location": "L50", "_callable": true}, {"id": "$graphify-root$_main_c6_update_c6_version", "label": "c6_version()", "file_type": "code", "source_file": "main/c6_update.c", "source_location": "L61", "_callable": true}, {"id": "$graphify-root$_main_c6_update_c6_update_if_needed", "label": "c6_update_if_needed()", "file_type": "code", "source_file": "main/c6_update.c", "source_location": "L79", "_callable": true}], "edges": [{"source": "$graphify-root$_main_c6_update_c", "target": "sdkconfig", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L1", "weight": 1.0, "metadata": {"raw_include": "sdkconfig.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "$graphify-root$_main_c6_update_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L3", "weight": 1.0, "target_file": "$graphify-root$/main/c6_update.h"}, {"source": "$graphify-root$_main_c6_update_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_app_desc", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "esp_app_desc.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_hosted", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "esp_hosted.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_hosted_ota", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_hosted_ota.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_image_format", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "esp_image_format.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_partition", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "esp_partition.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_system", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "esp_system.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "nvs", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L13", "weight": 1.0, "metadata": {"raw_include": "nvs.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "eh_host_feat_peer_data", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L14", "weight": 1.0, "metadata": {"raw_include": "eh_host_feat_peer_data.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "semphr", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L15", "weight": 1.0, "metadata": {"raw_include": "freertos/semphr.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "radio_proto", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L16"Line truncated
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_4_0_3_compileridcxx_cmakecxxcompilerid_cpp", "label": "CMakeCXXCompilerId.cpp", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_4_0_3_compileridcxx_cmakecxxcompilerid_main", "label": "main()", "file_type": "code", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp", "source_location": "L895", "_callable": true}], "edges": [{"source": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_4_0_3_compileridcxx_cmakecxxcompilerid_cpp", "target": "$graphify-root$_led_driver_build_d61_bootloader_cmakefiles_4_0_3_compileridcxx_cmakecxxcompilerid_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp", "source_location": "L895", "weight": 1.0}], "raw_calls": [], "parse_errors": {"first_error_line": 760, "multiline_error": true, "lossy_error_line": 766}}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_bridge_h", "label": "bridge.h", "file_type": "code", "source_file": "main/bridge.h", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_main_bridge_h", "target": "stdbool", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.h", "source_location": "L19", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_h", "target": "stddef", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.h", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_h", "target": "stdint", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.h", "source_location": "L21", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_h", "target": "esp_err", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge.h", "source_location": "L22", "weight": 1.0, "metadata": {"raw_include": "esp_err.h", "include_kind": "quoted"}}], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_bridge_hosted_h", "label": "bridge_hosted.h", "file_type": "code", "source_file": "main/bridge_hosted.h", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_main_bridge_hosted_h", "target": "stdbool", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_hosted.h", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_hosted_h", "target": "stddef", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_hosted.h", "source_location": "L12", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_hosted_h", "target": "stdint", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_hosted.h", "source_location": "L13", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_hosted_h", "target": "esp_err", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_hosted.h", "source_location": "L14", "weight": 1.0, "metadata": {"raw_include": "esp_err.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_hosted_h", "target": "$graphify-root$_main_bridge_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_hosted.h", "source_location": "L15", "weight": 1.0, "target_file": "$graphify-root$/main/bridge.h"}], "raw_calls": [], "_cached_target_files": ["$graphify-root$/main/bridge.h"]}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_sim_controller_components_sim_sim_net_c", "label": "sim_net.c", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L1"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_udp_bind", "label": "udp_bind()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L60", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_universe_slot", "label": "universe_slot()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L84", "_callable": true}, {"id": "universe_t", "label": "universe_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_net.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_local_ip_toward", "label": "local_ip_toward()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L103", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_poll_reply", "label": "poll_reply()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L119", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_artnet_rx", "label": "artnet_rx()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L139", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_ddp_rx", "label": "ddp_rx()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L170", "_callable": true}, {"id": "ddp_t", "label": "ddp_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_net.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_sync_ddp", "label": "sync_ddp()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L196", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_flush", "label": "flush()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L243", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_net_task", "label": "net_task()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L280", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_sim_net_start", "label": "sim_net_start()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L333", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_sim_net_put_universe", "label": "sim_net_put_universe()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L372", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_sim_net_set_ddp_ports", "label": "sim_net_set_ddp_ports()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L388", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_add_hex", "label": "add_hex()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L409", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_net.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_net_sim_net_status", "label": "sim_net_status()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L423", "_callable": true}], "edges": [{"source": "$graphify-root$_sim_controller_components_sim_sim_net_c", "target": "$graphify-root$_sim_controller_components_sim_sim_net_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L5", "weight": 1.0, "target_file": "$graphify-root$/sim-controller/components/sim/sim_net.h"}, {"source": "$graphify-root$_sim_controller_components_sim_sim_net_c", "target": "errno", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_net_c", "target": "fcntl", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_net.c", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_net_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_main_c", "label": "main.c", "file_type": "code", "source_file": "main/main.c", "source_location": "L1"}, {"id": "$graphify-root$_main_main_reset_reason", "label": "reset_reason()", "file_type": "code", "source_file": "main/main.c", "source_location": "L52", "_callable": true}, {"id": "$graphify-root$_main_main_status_get_handler", "label": "status_get_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L69", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_settings_bool", "label": "settings_bool()", "file_type": "code", "source_file": "main/main.c", "source_location": "L126", "_callable": true}, {"id": "$graphify-root$_main_main_ap_button_held", "label": "ap_button_held()", "file_type": "code", "source_file": "main/main.c", "source_location": "L133", "_callable": true}, {"id": "$graphify-root$_main_main_settings_str", "label": "settings_str()", "file_type": "code", "source_file": "main/main.c", "source_location": "L153", "_callable": true}, {"id": "$graphify-root$_main_main_parse_static", "label": "parse_static()", "file_type": "code", "source_file": "main/main.c", "source_location": "L161", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_netif_ip_info_t", "label": "esp_netif_ip_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_netif_dns_info_t", "label": "esp_netif_dns_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_gateway_answers", "label": "gateway_answers()", "file_type": "code", "source_file": "main/main.c", "source_location": "L186", "_callable": true}, {"id": "esp_netif_t", "label": "esp_netif_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_ip4_addr_t", "label": "esp_ip4_addr_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_have_static_ips", "label": "have_static_ips()", "file_type": "code", "source_file": "main/main.c", "source_location": "L208", "_callable": true}, {"id": "$graphify-root$_main_main_try_static_ips", "label": "try_static_ips()", "file_type": "code", "source_file": "main/main.c", "source_location": "L214", "_callable": true}, {"id": "$graphify-root$_main_main_dhcp_settled", "label": "dhcp_settled()", "file_type": "code", "source_file": "main/main.c", "source_location": "L246", "_callable": true}, {"id": "$graphify-root$_main_main_link_up_task", "label": "link_up_task()", "file_type": "code", "source_file": "main/main.c", "source_location": "L260", "_callable": true}, {"id": "$graphify-root$_main_main_start_mdns", "label": "start_mdns()", "file_type": "code", "source_file": "main/main.c", "source_location": "L277", "_callable": true}, {"id": "$graphify-root$_main_main_start_webserver", "label": "start_webserver()", "file_type": "code", "source_file": "main/main.c", "source_location": "L294", "_callable": true}, {"id": "$graphify-root$_main_main_eth_event_handler", "label": "eth_event_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L321", "_callable": true}, {"id": "esp_event_base_t", "label": "esp_event_base_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_got_ip_event_handler", "label": "got_ip_event_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L356", "_callable": true}, {"id": "$graphify-root$_main_main_eth_init", "label": "eth_init()", "file_type": "code", "source_file": "main/main.c", "source_location": "L377", "_callable": true}, {"id": "esp_eth_handle_t", "label": "esp_eth_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_app_main", "label": "app_main()", "file_type": "code", "source_file": "main/main.c", "source_location": "L399", "_callable": true}], "edges": [{"source": "$graphify-root$_main_main_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/main.c", "source_location": "L5", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_main_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_main_c", "label": "main.c", "file_type": "code", "source_file": "main/main.c", "source_location": "L1"}, {"id": "$graphify-root$_main_main_reset_reason", "label": "reset_reason()", "file_type": "code", "source_file": "main/main.c", "source_location": "L61", "_callable": true}, {"id": "$graphify-root$_main_main_status_get_handler", "label": "status_get_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L78", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_settings_bool", "label": "settings_bool()", "file_type": "code", "source_file": "main/main.c", "source_location": "L140", "_callable": true}, {"id": "$graphify-root$_main_main_ap_button_held", "label": "ap_button_held()", "file_type": "code", "source_file": "main/main.c", "source_location": "L147", "_callable": true}, {"id": "$graphify-root$_main_main_settings_str", "label": "settings_str()", "file_type": "code", "source_file": "main/main.c", "source_location": "L167", "_callable": true}, {"id": "$graphify-root$_main_main_parse_static", "label": "parse_static()", "file_type": "code", "source_file": "main/main.c", "source_location": "L175", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_netif_ip_info_t", "label": "esp_netif_ip_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_netif_dns_info_t", "label": "esp_netif_dns_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_gateway_answers", "label": "gateway_answers()", "file_type": "code", "source_file": "main/main.c", "source_location": "L200", "_callable": true}, {"id": "esp_netif_t", "label": "esp_netif_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_ip4_addr_t", "label": "esp_ip4_addr_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_have_static_ips", "label": "have_static_ips()", "file_type": "code", "source_file": "main/main.c", "source_location": "L222", "_callable": true}, {"id": "$graphify-root$_main_main_try_static_ips", "label": "try_static_ips()", "file_type": "code", "source_file": "main/main.c", "source_location": "L228", "_callable": true}, {"id": "$graphify-root$_main_main_dhcp_settled", "label": "dhcp_settled()", "file_type": "code", "source_file": "main/main.c", "source_location": "L260", "_callable": true}, {"id": "$graphify-root$_main_main_link_up_task", "label": "link_up_task()", "file_type": "code", "source_file": "main/main.c", "source_location": "L274", "_callable": true}, {"id": "$graphify-root$_main_main_start_mdns", "label": "start_mdns()", "file_type": "code", "source_file": "main/main.c", "source_location": "L291", "_callable": true}, {"id": "$graphify-root$_main_main_start_webserver", "label": "start_webserver()", "file_type": "code", "source_file": "main/main.c", "source_location": "L308", "_callable": true}, {"id": "$graphify-root$_main_main_eth_event_handler", "label": "eth_event_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L335", "_callable": true}, {"id": "esp_event_base_t", "label": "esp_event_base_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_got_ip_event_handler", "label": "got_ip_event_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L370", "_callable": true}, {"id": "$graphify-root$_main_main_eth_init", "label": "eth_init()", "file_type": "code", "source_file": "main/main.c", "source_location": "L392", "_callable": true}, {"id": "esp_eth_handle_t", "label": "esp_eth_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_w5500_init", "label": "w5500_init()", "file_type": "code", "source_file": "main/main.c", "source_location": "L418", "_callable": true}, {"id": "$graphify-root$_main_main_app_main", "label": "app_main()", "file_type": "code", "source_file": "main/main.c", "source_location": "L491", "_callable": true}], "edges": [{"source": "$graphify-root$_main_main_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/main.c", "source_location": "L6", "weight": 1.0,Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_idf_component_yml", "label": "idf_component.yml", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L1"}, {"id": "$graphify-root$_main_idf_component_dependencies", "label": "dependencies", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L1"}, {"id": "$graphify-root$_main_idf_component_dependencies_joltwallet_littlefs", "label": "joltwallet/littlefs", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L2"}, {"id": "$graphify-root$_main_idf_component_joltwallet_littlefs_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L3"}, {"id": "$graphify-root$_main_idf_component_joltwallet_littlefs_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L4"}, {"id": "$graphify-root$_main_idf_component_rules_if", "label": "if", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L5"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_mdns", "label": "espressif/mdns", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L6"}, {"id": "$graphify-root$_main_idf_component_espressif_mdns_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L7"}, {"id": "$graphify-root$_main_idf_component_espressif_mdns_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L8"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_cjson", "label": "espressif/cjson", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L10"}, {"id": "$graphify-root$_main_idf_component_espressif_cjson_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L11"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_esp_hosted", "label": "espressif/esp_hosted", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L13"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_hosted_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L14"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_hosted_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L15"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_esp_wifi_remote", "label": "espressif/esp_wifi_remote", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L17"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_wifi_remote_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L18"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_wifi_remote_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L19"}, {"id": "$graphify-root$_main_idf_component_dependencies_espressif_esp_codec_dev", "label": "espressif/esp_codec_dev", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L21"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_codec_dev_version", "label": "version", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L22"}, {"id": "$graphify-root$_main_idf_component_espressif_esp_codec_dev_rules", "label": "rules", "file_type": "code", "source_file": "main/idf_component.yml", "source_location": "L23"}], "edges": [{"source": "$graphify-root$_main_idf_component_yml", "target": "$graphify-root$_main_idf_component_dependencies", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/idf_component.yml", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_main_idf_component_dependencies", "target": "$graphify-root$_main_idf_component_dependencies_joltwallet_littlefs", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/idf_component.yml", "source_location": "L2", "weight": 1.0}, {"source": "$graphify-root$_main_idf_component_dependencies_joltwallet_littlefs", "target": "$graphify-root$_main_idf_component_joltwallet_littlefs_version", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/idf_component.yml", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_main_idf_component_dependencies_joltwallet_littlefs", "target": "$graphify-root$_main_idf_component_joltwallet_littlefs_rules", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/idf_component.yml", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_idf_component_joltwallet_littlefs_rules", "target": "$graphify-root$_main_idf_component_rules_if", "relation": "contains", "confidence": "EXTRACTED", "source_file":Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_docs_p4_nano_md", "label": "P4_NANO.md", "file_type": "document", "node_kind": "page", "source_file": "docs/P4_NANO.md", "source_location": "L1"}, {"id": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "label": "Controller on the Waveshare ESP32-P4-Nano", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L1"}, {"id": "$graphify-root$_docs_p4_nano_build_and_flash", "label": "Build and flash", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L25"}, {"id": "$graphify-root$_docs_p4_nano_network", "label": "Network", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L44"}, {"id": "$graphify-root$_docs_p4_nano_using_it_as_a_network_bridge_from_the_desktop", "label": "Using it as a network bridge from the desktop", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L53"}, {"id": "$graphify-root$_docs_p4_nano_pins_from_the_waveshare_wiki_and_bsp", "label": "Pins (from the Waveshare wiki and BSP)", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L68"}, {"id": "$graphify-root$_docs_p4_nano_back_to_the_factory_demo", "label": "Back to the factory demo", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L80"}], "edges": [{"source": "$graphify-root$_docs_p4_nano_md", "target": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_build_and_flash", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L25", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_network", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L44", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_using_it_as_a_network_bridge_from_the_desktop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L53", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_pins_from_the_waveshare_wiki_and_bsp", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L68", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_back_to_the_factory_demo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L80", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "callee": "esp_wifi_remote", "is_member_call": false, "language": "markdown", "context": "esp_wifi_remote", "source_file": "docs/P4_NANO.md", "source_location": "L14"}, {"caller_nid": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "callee": "c6", "is_member_call": false, "language": "markdown", "context": "c6", "source_file": "docs/P4_NANO.md", "source_location": "L16"}, {"caller_nid": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "callee": "esp_codec_dev", "is_member_call": false, "language": "markdown", "context": "esp_codec_dev", "source_file": "docs/P4_NANO.md", "source_location": "L20"}, {"caller_nid": "$graphify-root$_docs_p4_nano_build_and_flash", "callee": "esp32p4", "is_member_call": false, "language": "markdown", "context": "dependencies.lock.esp32p4", "source_file": "docs/P4_NANO.md", "source_location": "L28", "qualifiers": ["dependencies", "lock"]}, {"caller_nid": "$graphify-root$_docs_p4_nano_build_and_flash", "callee": "defaults", "is_member_call": false, "language": "markdown", "context": "sdkconfig.defaults", "source_file": "docs/P4_NANO.md", "source_location": "L28", "qualifiers": ["sdkconfig"]}, {"caller_nid": "$graphify-root$_docs_p4_nano_build_and_flash", "callee": "esp32p4", "is_member_call": false, "language": "markdown", "context": "sdkconfig.defaults.esp32p4", "source_file": "docs/P4_NANO.md", "source_location": "L29", "qualifiers": ["sdkconfig", "defaults"]}, {"caller_nid": "$graphify-root$_docs_p4_nano_build_and_flash", "callee": "slave_fw", "is_member_call": false, "language": "markdown", "context": "slave_fw", "source_file": "docs/P4_NANO.md", "source_location": "L39"}, {"caller_nid": "$graphify-root$_docs_p4_nano_netwLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_bridge_main_radio_proto_h", "label": "radio_proto.h", "file_type": "code", "source_file": "bridge/main/radio_proto.h", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_bridge_main_radio_proto_h", "target": "stdint", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "bridge/main/radio_proto.h", "source_location": "L17", "weight": 1.0}], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data yaml (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_build_d61_config_sdkconfig_h", "label": "sdkconfig.h", "file_type": "code", "source_file": "led-driver/build-d61/config/sdkconfig.h", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (non-object root)"}
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_build_d61_cmakefiles_4_0_3_compileridcxx_cmakecxxcompilerid_cpp", "label": "CMakeCXXCompilerId.cpp", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_4_0_3_compileridcxx_cmakecxxcompilerid_main", "label": "main()", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp", "source_location": "L895", "_callable": true}], "edges": [{"source": "$graphify-root$_led_driver_build_d61_cmakefiles_4_0_3_compileridcxx_cmakecxxcompilerid_cpp", "target": "$graphify-root$_led_driver_build_d61_cmakefiles_4_0_3_compileridcxx_cmakecxxcompilerid_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/build-d61/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp", "source_location": "L895", "weight": 1.0}], "raw_calls": [], "parse_errors": {"first_error_line": 760, "multiline_error": true, "lossy_error_line": 766}}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_radio_c6_main_radio_now_c", "label": "radio_now.c", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L1"}, {"id": "$graphify-root$_radio_c6_main_radio_now_on_sent", "label": "on_sent()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L48", "_callable": true}, {"id": "esp_now_send_info_t", "label": "esp_now_send_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/radio-c6/main/radio_now.c"}, {"id": "esp_now_send_status_t", "label": "esp_now_send_status_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/radio-c6/main/radio_now.c"}, {"id": "$graphify-root$_radio_c6_main_radio_now_on_recv", "label": "on_recv()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L57", "_callable": true}, {"id": "esp_now_recv_info_t", "label": "esp_now_recv_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/radio-c6/main/radio_now.c"}, {"id": "$graphify-root$_radio_c6_main_radio_now_ensure_peer", "label": "ensure_peer()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L74", "_callable": true}, {"id": "$graphify-root$_radio_c6_main_radio_now_on_wifi", "label": "on_wifi()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L108", "_callable": true}, {"id": "esp_event_base_t", "label": "esp_event_base_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/radio-c6/main/radio_now.c"}, {"id": "$graphify-root$_radio_c6_main_radio_now_tx_task", "label": "tx_task()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L133", "_callable": true}, {"id": "$graphify-root$_radio_c6_main_radio_now_rx_task", "label": "rx_task()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L155", "_callable": true}, {"id": "$graphify-root$_radio_c6_main_radio_now_put_u32", "label": "put_u32()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L177", "_callable": true}, {"id": "$graphify-root$_radio_c6_main_radio_now_send_info", "label": "send_info()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L185", "_callable": true}, {"id": "$graphify-root$_radio_c6_main_radio_now_on_tx", "label": "on_tx()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L203", "_callable": true}, {"id": "$graphify-root$_radio_c6_main_radio_now_on_ctl", "label": "on_ctl()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L223", "_callable": true}, {"id": "$graphify-root$_radio_c6_main_radio_now_app_main", "label": "app_main()", "file_type": "code", "source_file": "radio-c6/main/radio_now.c", "source_location": "L242", "_callable": true}], "edges": [{"source": "$graphify-root$_radio_c6_main_radio_now_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "radio-c6/main/radio_now.c", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_radio_c6_main_radio_now_c", "target": "eh_cp_feat_peer_data", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "radio-c6/main/radio_now.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "eh_cp_feat_peer_data.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_radio_c6_main_radio_now_c", "target": "esp_app_desc", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "radio-c6/main/radio_now.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "esp_app_desc.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_radio_c6_main_radio_now_c", "target": "esp_event", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "radio-c6/main/radio_now.c", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "esp_event.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_radio_c6_main_radio_now_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "radio-c6/main/radio_now.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_radio_c6_main_radio_now_c", "target": "esp_mac", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "radio-c6/main/radio_now.c", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "esp_mac.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_radio_c6_main_radio_now_c", "target": "esp_now", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "radio-cLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_espnow_tx_c", "label": "espnow_tx.c", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L1"}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_set_bridges", "label": "espnow_tx_set_bridges()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L62", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_radio_send", "label": "radio_send()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L72", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_drop", "label": "espnow_tx_drop()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L84", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_set_loss", "label": "espnow_tx_set_loss()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L89", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_loss", "label": "espnow_tx_loss()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L95", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_send_cb", "label": "send_cb()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L104", "_callable": true}, {"id": "esp_now_send_info_t", "label": "esp_now_send_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "esp_now_send_status_t", "label": "esp_now_send_status_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_recv_cb", "label": "recv_cb()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L115", "_callable": true}, {"id": "esp_now_recv_info_t", "label": "esp_now_recv_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_bridge_rx", "label": "bridge_rx()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L123", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_set_rx_cb", "label": "espnow_tx_set_rx_cb()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L130", "_callable": true}, {"id": "espnow_rx_cb_t", "label": "espnow_rx_cb_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_send_beat_copy", "label": "send_beat_copy()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L138", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_beat", "label": "espnow_tx_beat()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L157", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_set_mic_beats", "label": "espnow_tx_set_mic_beats()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L176", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_on_beat", "label": "on_beat()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L182", "_callable": true}, {"id": "beat_info_t", "label": "beat_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_select_peer", "label": "select_peer()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L193", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_bulk_task", "label": "bulk_task()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L219", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_send", "label": "espnow_tx_send()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L262", "_callable": true}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_stats", "label": "espnow_tx_stats()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L275", "_callable": true}, {"id": "espnow_stats_t", "label": "espnow_stats_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_ap_event", "label": "ap_event()", "file_type": "code", "source_file": "main/espnow_tx.c", "source_location": "L284", "_callable": true}, {"id": "esp_event_base_t", "label": "esp_event_base_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/espnow_tx.c"}, {"id": "$graphify-root$_main_espnow_tx_espnow_tx_ap_clients", "label": "espnow_tx_ap_clients()", "file_type": "code", "source_file": "mainLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_web_c", "label": "web.c", "file_type": "code", "source_file": "main/web.c", "source_location": "L1"}, {"id": "$graphify-root$_main_web_mime_for", "label": "mime_for()", "file_type": "code", "source_file": "main/web.c", "source_location": "L27", "_callable": true}, {"id": "$graphify-root$_main_web_find_file", "label": "find_file()", "file_type": "code", "source_file": "main/web.c", "source_location": "L44", "_callable": true}, {"id": "$graphify-root$_main_web_web_file", "label": "web_file()", "file_type": "code", "source_file": "main/web.c", "source_location": "L74", "_callable": true}, {"id": "$graphify-root$_main_web_web_each", "label": "web_each()", "file_type": "code", "source_file": "main/web.c", "source_location": "L79", "_callable": true}, {"id": "$graphify-root$_main_web_etag", "label": "etag()", "file_type": "code", "source_file": "main/web.c", "source_location": "L107", "_callable": true}, {"id": "$graphify-root$_main_web_send_gz", "label": "send_gz()", "file_type": "code", "source_file": "main/web.c", "source_location": "L121", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}, {"id": "$graphify-root$_main_web_web_send_page", "label": "web_send_page()", "file_type": "code", "source_file": "main/web.c", "source_location": "L143", "_callable": true}, {"id": "$graphify-root$_main_web_index_handler", "label": "index_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L148", "_callable": true}, {"id": "$graphify-root$_main_web_audio_page_handler", "label": "audio_page_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L153", "_callable": true}, {"id": "$graphify-root$_main_web_static_handler", "label": "static_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L158", "_callable": true}, {"id": "$graphify-root$_main_web_favicon_handler", "label": "favicon_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L171", "_callable": true}, {"id": "$graphify-root$_main_web_no_sim_handler", "label": "no_sim_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L180", "_callable": true}, {"id": "$graphify-root$_main_web_web_register", "label": "web_register()", "file_type": "code", "source_file": "main/web.c", "source_location": "L187", "_callable": true}, {"id": "httpd_handle_t", "label": "httpd_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}], "edges": [{"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L1", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L2", "weight": 1.0, "target_file": "$graphify-root$/main/web.h"}, {"source": "$graphify-root$_main_web_c", "target": "stddef", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "stdint", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "esp_app_desc", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_app_desc.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_web_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_mime_for", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L27", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_Line truncated
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_yaml", "label": "CMakeConfigureLog.yaml", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_events", "label": "events", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L3"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_events_kind", "label": "kind", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L5"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_events_backtrace", "label": "backtrace", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L6"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_events_message", "label": "message", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L10"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_events_checks", "label": "checks", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L100"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_events_directories", "label": "directories", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L102"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_directories_source", "label": "source", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L103"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_directories_binary", "label": "binary", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L104"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_events_cmakevariables", "label": "cmakeVariables", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L105"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_cmakevariables_cmake_c_flags", "label": "CMAKE_C_FLAGS", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L106"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_cmakevariables_cmake_c_flags_debug", "label": "CMAKE_C_FLAGS_DEBUG", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L107"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_cmakevariables_cmake_exe_linker_flags", "label": "CMAKE_EXE_LINKER_FLAGS", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L108"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_cmakevariables_cmake_module_path", "label": "CMAKE_MODULE_PATH", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L109"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_events_buildresult", "label": "buildResult", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L110"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_buildresult_variable", "label": "variable", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L111"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_buildresult_cached", "label": "cached", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L112"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_buildresult_stdout", "label": "stdout", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L113"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_buildresult_exitcode", "label": "exitCode", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L174"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_cmakevariables_cmake_cxx_flags", "label": "CMAKE_CXX_FLAGS", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml", "source_location": "L324"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_cmakeconfigurelog_cmakevariables_cmake_cxx_flags_debug", "label": "CMAKE_CXX_FLAGS_DEBUG", Line truncated
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data yaml (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_c6_update_h", "label": "c6_update.h", "file_type": "code", "source_file": "main/c6_update.h", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_engine_c", "label": "engine.c", "file_type": "code", "source_file": "main/engine.c", "source_location": "L1"}, {"id": "$graphify-root$_main_engine_tx", "label": "tx()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L29", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/engine.c"}, {"id": "$graphify-root$_main_engine_parse_mac", "label": "parse_mac()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L42", "_callable": true}, {"id": "$graphify-root$_main_engine_wrap_wire", "label": "wrap_wire()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L65", "_callable": true}, {"id": "$graphify-root$_main_engine_emit_c", "label": "emit_c()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L90", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/engine.c"}, {"id": "$graphify-root$_main_engine_id_text", "label": "id_text()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L118", "_callable": true}, {"id": "$graphify-root$_main_engine_palette_color", "label": "palette_color()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L131", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_preset_payload", "label": "engine_preset_payload()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L149", "_callable": true}, {"id": "$graphify-root$_main_engine_preset_payload", "label": "preset_payload()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L183", "_callable": true}, {"id": "$graphify-root$_main_engine_zone_names", "label": "zone_names()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L190", "_callable": true}, {"id": "$graphify-root$_main_engine_name_seen", "label": "name_seen()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L197", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_targets", "label": "engine_zone_targets()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L213", "_callable": true}, {"id": "$graphify-root$_main_engine_mac_listed", "label": "mac_listed()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L234", "_callable": true}, {"id": "$graphify-root$_main_engine_in_group", "label": "in_group()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L258", "_callable": true}, {"id": "$graphify-root$_main_engine_driver_in_zone", "label": "driver_in_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L271", "_callable": true}, {"id": "$graphify-root$_main_engine_is_wifi", "label": "is_wifi()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L284", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_in_group", "label": "wifi_in_group()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L291", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_by_mac", "label": "wifi_by_mac()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L314", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_in_zone", "label": "wifi_in_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L328", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_zone", "label": "wifi_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L341", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_selected", "label": "wifi_selected()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L372", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_push", "label": "wifi_push()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L401", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_store_presets", "label": "wifi_store_presets()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L469", "_callable": true}, {"id": "$graphify-root$_main_engine_emit_zone", "label": "emit_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L495", "_callable": true}, {"id": "$graphify-root$_main_engine_select_zone", "label": "select_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L513", "_callable": true}, {"id": "$graphify-root$_main_engine_zone_cur_set", "label": "zone_cur_set()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L532", "_callable": true}, {"id": "$graphify-root$_main_engine_play_locked", "label": "play_locked()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L55Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_radio_c6_main_idf_component_yml", "label": "idf_component.yml", "file_type": "code", "source_file": "radio-c6/main/idf_component.yml", "source_location": "L1"}, {"id": "$graphify-root$_radio_c6_main_idf_component_dependencies", "label": "dependencies", "file_type": "code", "source_file": "radio-c6/main/idf_component.yml", "source_location": "L1"}, {"id": "$graphify-root$_radio_c6_main_idf_component_dependencies_espressif_esp_hosted", "label": "espressif/esp_hosted", "file_type": "code", "source_file": "radio-c6/main/idf_component.yml", "source_location": "L2"}, {"id": "$graphify-root$_radio_c6_main_idf_component_espressif_esp_hosted_version", "label": "version", "file_type": "code", "source_file": "radio-c6/main/idf_component.yml", "source_location": "L3"}], "edges": [{"source": "$graphify-root$_radio_c6_main_idf_component_yml", "target": "$graphify-root$_radio_c6_main_idf_component_dependencies", "relation": "contains", "confidence": "EXTRACTED", "source_file": "radio-c6/main/idf_component.yml", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_radio_c6_main_idf_component_dependencies", "target": "$graphify-root$_radio_c6_main_idf_component_dependencies_espressif_esp_hosted", "relation": "contains", "confidence": "EXTRACTED", "source_file": "radio-c6/main/idf_component.yml", "source_location": "L2", "weight": 1.0}, {"source": "$graphify-root$_radio_c6_main_idf_component_dependencies_espressif_esp_hosted", "target": "$graphify-root$_radio_c6_main_idf_component_espressif_esp_hosted_version", "relation": "contains", "confidence": "EXTRACTED", "source_file": "radio-c6/main/idf_component.yml", "source_location": "L3", "weight": 1.0}]}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_build_d61_cmakefiles_4_0_3_compileridc_cmakeccompilerid_c", "label": "CMakeCCompilerId.c", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_build_d61_cmakefiles_4_0_3_compileridc_cmakeccompilerid_main", "label": "main()", "file_type": "code", "source_file": "led-driver/build-d61/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "source_location": "L873", "_callable": true}], "edges": [{"source": "$graphify-root$_led_driver_build_d61_cmakefiles_4_0_3_compileridc_cmakeccompilerid_c", "target": "$graphify-root$_led_driver_build_d61_cmakefiles_4_0_3_compileridc_cmakeccompilerid_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/build-d61/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "source_location": "L873", "weight": 1.0}], "raw_calls": [], "parse_errors": {"first_error_line": 781, "multiline_error": true, "lossy_error_line": 787}}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_main_c", "label": "main.c", "file_type": "code", "source_file": "main/main.c", "source_location": "L1"}, {"id": "$graphify-root$_main_main_reset_reason", "label": "reset_reason()", "file_type": "code", "source_file": "main/main.c", "source_location": "L53", "_callable": true}, {"id": "$graphify-root$_main_main_status_get_handler", "label": "status_get_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L70", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_settings_bool", "label": "settings_bool()", "file_type": "code", "source_file": "main/main.c", "source_location": "L127", "_callable": true}, {"id": "$graphify-root$_main_main_ap_button_held", "label": "ap_button_held()", "file_type": "code", "source_file": "main/main.c", "source_location": "L134", "_callable": true}, {"id": "$graphify-root$_main_main_settings_str", "label": "settings_str()", "file_type": "code", "source_file": "main/main.c", "source_location": "L154", "_callable": true}, {"id": "$graphify-root$_main_main_parse_static", "label": "parse_static()", "file_type": "code", "source_file": "main/main.c", "source_location": "L162", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_netif_ip_info_t", "label": "esp_netif_ip_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_netif_dns_info_t", "label": "esp_netif_dns_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_gateway_answers", "label": "gateway_answers()", "file_type": "code", "source_file": "main/main.c", "source_location": "L187", "_callable": true}, {"id": "esp_netif_t", "label": "esp_netif_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_ip4_addr_t", "label": "esp_ip4_addr_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_have_static_ips", "label": "have_static_ips()", "file_type": "code", "source_file": "main/main.c", "source_location": "L209", "_callable": true}, {"id": "$graphify-root$_main_main_try_static_ips", "label": "try_static_ips()", "file_type": "code", "source_file": "main/main.c", "source_location": "L215", "_callable": true}, {"id": "$graphify-root$_main_main_dhcp_settled", "label": "dhcp_settled()", "file_type": "code", "source_file": "main/main.c", "source_location": "L247", "_callable": true}, {"id": "$graphify-root$_main_main_link_up_task", "label": "link_up_task()", "file_type": "code", "source_file": "main/main.c", "source_location": "L261", "_callable": true}, {"id": "$graphify-root$_main_main_start_mdns", "label": "start_mdns()", "file_type": "code", "source_file": "main/main.c", "source_location": "L278", "_callable": true}, {"id": "$graphify-root$_main_main_start_webserver", "label": "start_webserver()", "file_type": "code", "source_file": "main/main.c", "source_location": "L295", "_callable": true}, {"id": "$graphify-root$_main_main_eth_event_handler", "label": "eth_event_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L323", "_callable": true}, {"id": "esp_event_base_t", "label": "esp_event_base_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_got_ip_event_handler", "label": "got_ip_event_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L358", "_callable": true}, {"id": "$graphify-root$_main_main_eth_init", "label": "eth_init()", "file_type": "code", "source_file": "main/main.c", "source_location": "L379", "_callable": true}, {"id": "esp_eth_handle_t", "label": "esp_eth_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_app_main", "label": "app_main()", "file_type": "code", "source_file": "main/main.c", "source_location": "L401", "_callable": true}], "edges": [{"source": "$graphify-root$_main_main_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/main.c", "source_location": "L5", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_main_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_mic_h", "label": "mic.h", "file_type": "code", "source_file": "main/mic.h", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_main_mic_h", "target": "stdbool", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.h", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_main_mic_h", "target": "stddef", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.h", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_mic_h", "target": "esp_err", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.h", "source_location": "L5", "weight": 1.0, "metadata": {"raw_include": "esp_err.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_mic_h", "target": "freertos", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/mic.h", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "freertos/FreeRTOS.h", "include_kind": "quoted"}}], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_c6_update_c", "label": "c6_update.c", "file_type": "code", "source_file": "main/c6_update.c", "source_location": "L1"}, {"id": "$graphify-root$_main_c6_update_image_size", "label": "image_size()", "file_type": "code", "source_file": "main/c6_update.c", "source_location": "L26", "_callable": true}, {"id": "esp_partition_t", "label": "esp_partition_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/c6_update.c"}, {"id": "$graphify-root$_main_c6_update_on_version", "label": "on_version()", "file_type": "code", "source_file": "main/c6_update.c", "source_location": "L50", "_callable": true}, {"id": "$graphify-root$_main_c6_update_c6_version", "label": "c6_version()", "file_type": "code", "source_file": "main/c6_update.c", "source_location": "L61", "_callable": true}, {"id": "$graphify-root$_main_c6_update_c6_update_if_needed", "label": "c6_update_if_needed()", "file_type": "code", "source_file": "main/c6_update.c", "source_location": "L79", "_callable": true}], "edges": [{"source": "$graphify-root$_main_c6_update_c", "target": "sdkconfig", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L1", "weight": 1.0, "metadata": {"raw_include": "sdkconfig.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "$graphify-root$_main_c6_update_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L3", "weight": 1.0, "target_file": "$graphify-root$/main/c6_update.h"}, {"source": "$graphify-root$_main_c6_update_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_app_desc", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "esp_app_desc.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_hosted", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "esp_hosted.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_hosted_ota", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_hosted_ota.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_image_format", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "esp_image_format.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_partition", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "esp_partition.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "esp_system", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "esp_system.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "nvs", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L13", "weight": 1.0, "metadata": {"raw_include": "nvs.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "eh_host_feat_peer_data", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L14", "weight": 1.0, "metadata": {"raw_include": "eh_host_feat_peer_data.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "semphr", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L15", "weight": 1.0, "metadata": {"raw_include": "freertos/semphr.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_c6_update_c", "target": "radio_proto", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/c6_update.c", "source_location": "L16"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_bridge_c", "label": "bridge.c", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L1"}, {"id": "$graphify-root$_main_bridge_is_serial_addr", "label": "is_serial_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L70", "_callable": true}, {"id": "$graphify-root$_main_bridge_is_browser_addr", "label": "is_browser_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L75", "_callable": true}, {"id": "$graphify-root$_main_bridge_is_dmx_addr", "label": "is_dmx_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L80", "_callable": true}, {"id": "$graphify-root$_main_bridge_is_c6_addr", "label": "is_c6_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L85", "_callable": true}, {"id": "$graphify-root$_main_bridge_is_sim_mac", "label": "is_sim_mac()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L95", "_callable": true}, {"id": "$graphify-root$_main_bridge_now_ms", "label": "now_ms()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L101", "_callable": true}, {"id": "$graphify-root$_main_bridge_fnv1a", "label": "fnv1a()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L106", "_callable": true}, {"id": "$graphify-root$_main_bridge_deliver", "label": "deliver()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L115", "_callable": true}, {"id": "$graphify-root$_main_bridge_rx_task", "label": "rx_task()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L133", "_callable": true}, {"id": "$graphify-root$_main_bridge_ctl_rx_task", "label": "ctl_rx_task()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L156", "_callable": true}, {"id": "$graphify-root$_main_bridge_keepalive_task", "label": "keepalive_task()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L202", "_callable": true}, {"id": "$graphify-root$_main_bridge_split_udp", "label": "split_udp()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L254", "_callable": true}, {"id": "$graphify-root$_main_bridge_connect_udp", "label": "connect_udp()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L267", "_callable": true}, {"id": "$graphify-root$_main_bridge_find_link", "label": "find_link()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L293", "_callable": true}, {"id": "$graphify-root$_main_bridge_activate", "label": "activate()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L304", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge.c"}, {"id": "$graphify-root$_main_bridge_deactivate", "label": "deactivate()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L400", "_callable": true}, {"id": "$graphify-root$_main_bridge_ensure_tasks", "label": "ensure_tasks()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L428", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_set_all", "label": "bridge_set_all()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L437", "_callable": true}, {"id": "bridge_rx_cb_t", "label": "bridge_rx_cb_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge.c"}, {"id": "$graphify-root$_main_bridge_bridge_set_renamed_cb", "label": "bridge_set_renamed_cb()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L487", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_active", "label": "bridge_active()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L492", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_list", "label": "bridge_list()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L502", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_send", "label": "bridge_send()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L514", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_status_json", "label": "bridge_status_json()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L563", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_ports_json", "label": "bridge_ports_json()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L626", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_board_set_channel", "label": "bridge_board_set_channel()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L635", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_browser_rx", "label": "bridge_browser_rx()", "Line truncated
@@ -0,0 +1 @@
1
@@ -1 +1 @@
2 5
+1 -1
View File
@@ -1 +1 @@
1795481248.5812638 1795508302.3689675
+1 -1
View File
@@ -1 +1 @@
{".claude/CLAUDE.md":{"size":226,"mtime_ns":1793707532996234423,"indexed_at_ns":1793707658543205519,"word_count":29,"hashes":{".claude/CLAUDE.md":"dd502cd6ce0bbff5d4c021e94be6aa49afe1f99dd85901e0201831908630e94b"}},"CLAUDE.md":{"size":1582,"mtime_ns":1794560833170090840,"indexed_at_ns":1794609720117981763,"word_count":247},"CMakeLists.txt":{"size":111,"mtime_ns":1793622279097091871,"indexed_at_ns":1793707658543849029,"word_count":4,"hashes":{"CMakeLists.txt":"837822e28c9599ef04852743d1f103d636d744f2e9219a407744dd5cd636cc9b"}},"README.md":{"size":3583,"mtime_ns":1794783157300129617,"indexed_at_ns":1794783233679457247,"word_count":498},"db/audio_run.json":{"size":103,"mtime_ns":1792558116811211805,"indexed_at_ns":1793707658868880485,"word_count":10,"hashes":{"db/audio_run.json":"22b6ce7327ac83a083fd0ab93d338685ce8a4bf2eba2122f93dbe7b7b36ffe8d"}},"db/bridges.json":{"size":279,"mtime_ns":1792035647171829311,"indexed_at_ns":1793707658874810261,"word_count":26,"hashes":{"db/bridges.json":"3cacd14c72fe5d4a0d316f8b1189134686de036427c8c97d26827638f5c0a913"}},"db/device.json":{"size":2,"mtime_ns":1793777185742747874,"indexed_at_ns":1793777223754642632,"word_count":1,"hashes":{"db/device.json":"d37387d627ac3f5cd9a139daf3b0490a820f32cc88fdcf09a89f7ed5f2879437"}},"db/group.json":{"size":407,"mtime_ns":1793784073189169768,"indexed_at_ns":1793784223737930610,"word_count":48,"hashes":{"db/group.json":"5ac5e81478218af9a7905607a853f0e58b3b8ed6218fb43406366214d81fdf1f"}},"db/output.json":{"size":2,"mtime_ns":1793777185742792981,"indexed_at_ns":1793777223755186745,"word_count":1,"hashes":{"db/output.json":"41b7170a77edddababaeeacfbfcac81d52aed8cd7ab91326a1b2587168f24fea"}},"db/palette.json":{"size":95,"mtime_ns":1793777185742725183,"indexed_at_ns":1793777223755421480,"word_count":9,"hashes":{"db/palette.json":"51fc59a676fa15de8a94dad96942d2ba1837f08bcfbe5158248a3a26e7b8c867"}},"db/pattern.json":{"size":3990,"mtime_ns":1794852754898578747,"indexed_at_ns":1794852782207946806,"word_count":484,"hashes":{"db/pattern.json":"77bfca27b86c95fc42394ab0a1cc3bd626bb8cbf902086aa9daba6a045715d41"}},"db/preset.json":{"size":1547,"mtime_ns":1794192230145924224,"indexed_at_ns":1794192255641306971,"word_count":2,"hashes":{"db/preset.json":"b787780a60fb5de5ab1ae5e95e28c56209c07e76167bf6f7d54a23098de393f1"}},"db/profile.json":{"size":103,"mtime_ns":1793777185742698915,"indexed_at_ns":1793777223756285988,"word_count":13,"hashes":{"db/profile.json":"0c884cad9c2d30151e71adcf2c73c922accc2adc1ec7e3a5f2557f65348ab16d"}},"db/scene.json":{"size":2,"mtime_ns":1793777185743064106,"indexed_at_ns":1793777223756521395,"word_count":1,"hashes":{"db/scene.json":"3fa068cb49be44a2bca2cc32c266bc67dd33f09a90ca72ff5b7e744f2d6372e4"}},"db/sequence.json":{"size":2,"mtime_ns":1793777185742815256,"indexed_at_ns":1793777223756746197,"word_count":1,"hashes":{"db/sequence.json":"9fe59214947c107acb45669e2f107b00be6b6c6184e12ca597f7fc2b661e341a"}},"db/zone.json":{"size":280,"mtime_ns":1793783703894998088,"indexed_at_ns":1793784223739991976,"word_count":35,"hashes":{"db/zone.json":"cdd502ffa90331dbfa71842351796f0b9317de1d744f644233c2e5537089ff7b"}},"dmx-driver/README.md":{"size":2911,"mtime_ns":1792558116808211795,"indexed_at_ns":1793707658544334791,"word_count":395,"hashes":{"dmx-driver/README.md":"0c5ffe2dffbe102a54487430d3946fadbc65335f06b0f6c79f3c16b82f56ab0b"}},"dmx-driver/dev.py":{"size":2240,"mtime_ns":1792558116805211784,"indexed_at_ns":1793707658877667616,"word_count":194,"hashes":{"dmx-driver/dev.py":"284307111b0bcc67200ad58aa46b1a9f4f909b1f565a4867b3ef4bf4bbaec012"}},"dmx-driver/lib/artnet.py":{"size":10536,"mtime_ns":1792558116801446799,"indexed_at_ns":1793707658877956591,"word_count":1079,"hashes":{"dmx-driver/lib/artnet.py":"3aac26e5fc30ac42944e6c70446b999b5d527d088aa82ff47287f89ae6c1fac5"}},"dmx-driver/lib/dmx.py":{"size":930,"mtime_ns":1792558116819211832,"indexed_at_ns":1793707658878446873,"word_count":106,"hashes":{"dmx-driver/lib/dmx.py":"6c9934df04c6685364a31ddf7efc87d2502ce582d7a8f1c3ddcd42483e99c67e"}},"dmx-driver/lib/microdot/__init__.py":{"size":105,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658878927267,"word_count":13,"hashes":{"dmx-driver/lib/microdot/__init__.py":"ec3f822838066330dbdfa6a24ca7fd3e059ef19aabaccc322e70ef6a7da55aac"}},"dmx-driver/lib/microdot/helpers.py":{"size":232,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879255364,"word_count":26,"hashes":{"dmx-driver/lib/microdot/helpers.py":"6b2e71d9786d2c149801eb943b8b873d07601bf9ae1bf9c413114941b32163c2"}},"dmx-driver/lib/microdot/microdot.py":{"size":53202,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879562246,"word_count":5131,"hashes":{"dmx-driver/lib/microdot/microdot.py":"4402b84a5214da121fad794ab9bcb59a355d4c98647d3a53953cf3bc78291688"}},"dmx-driver/lib/microdot/utemplate.py":{"size":2543,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879958078,"word_count":233,"hashes":{"dmx-driver/lib/microdot/utemplate.py":"d248495f0d973d0a0c0d0121b837e9ffLine truncated {".claude/CLAUDE.md":{"size":226,"mtime_ns":1793707532996234423,"indexed_at_ns":1793707658543205519,"word_count":29,"hashes":{".claude/CLAUDE.md":"dd502cd6ce0bbff5d4c021e94be6aa49afe1f99dd85901e0201831908630e94b"}},"CLAUDE.md":{"size":1582,"mtime_ns":1794560833170090840,"indexed_at_ns":1794609720117981763,"word_count":247},"CMakeLists.txt":{"size":111,"mtime_ns":1795491368790070568,"indexed_at_ns":1795491805230481418,"word_count":4},"README.md":{"size":3828,"mtime_ns":1795491763647068986,"indexed_at_ns":1795491805231678597,"word_count":528},"db/audio_run.json":{"size":103,"mtime_ns":1792558116811211805,"indexed_at_ns":1793707658868880485,"word_count":10,"hashes":{"db/audio_run.json":"22b6ce7327ac83a083fd0ab93d338685ce8a4bf2eba2122f93dbe7b7b36ffe8d"}},"db/bridges.json":{"size":279,"mtime_ns":1792035647171829311,"indexed_at_ns":1793707658874810261,"word_count":26,"hashes":{"db/bridges.json":"3cacd14c72fe5d4a0d316f8b1189134686de036427c8c97d26827638f5c0a913"}},"db/device.json":{"size":2,"mtime_ns":1793777185742747874,"indexed_at_ns":1793777223754642632,"word_count":1,"hashes":{"db/device.json":"d37387d627ac3f5cd9a139daf3b0490a820f32cc88fdcf09a89f7ed5f2879437"}},"db/group.json":{"size":407,"mtime_ns":1793784073189169768,"indexed_at_ns":1793784223737930610,"word_count":48,"hashes":{"db/group.json":"5ac5e81478218af9a7905607a853f0e58b3b8ed6218fb43406366214d81fdf1f"}},"db/output.json":{"size":2,"mtime_ns":1793777185742792981,"indexed_at_ns":1793777223755186745,"word_count":1,"hashes":{"db/output.json":"41b7170a77edddababaeeacfbfcac81d52aed8cd7ab91326a1b2587168f24fea"}},"db/palette.json":{"size":95,"mtime_ns":1793777185742725183,"indexed_at_ns":1793777223755421480,"word_count":9,"hashes":{"db/palette.json":"51fc59a676fa15de8a94dad96942d2ba1837f08bcfbe5158248a3a26e7b8c867"}},"db/pattern.json":{"size":3990,"mtime_ns":1794852754898578747,"indexed_at_ns":1794852782207946806,"word_count":484,"hashes":{"db/pattern.json":"77bfca27b86c95fc42394ab0a1cc3bd626bb8cbf902086aa9daba6a045715d41"}},"db/preset.json":{"size":1547,"mtime_ns":1794192230145924224,"indexed_at_ns":1794192255641306971,"word_count":2,"hashes":{"db/preset.json":"b787780a60fb5de5ab1ae5e95e28c56209c07e76167bf6f7d54a23098de393f1"}},"db/profile.json":{"size":103,"mtime_ns":1793777185742698915,"indexed_at_ns":1793777223756285988,"word_count":13,"hashes":{"db/profile.json":"0c884cad9c2d30151e71adcf2c73c922accc2adc1ec7e3a5f2557f65348ab16d"}},"db/scene.json":{"size":2,"mtime_ns":1793777185743064106,"indexed_at_ns":1793777223756521395,"word_count":1,"hashes":{"db/scene.json":"3fa068cb49be44a2bca2cc32c266bc67dd33f09a90ca72ff5b7e744f2d6372e4"}},"db/sequence.json":{"size":2,"mtime_ns":1793777185742815256,"indexed_at_ns":1793777223756746197,"word_count":1,"hashes":{"db/sequence.json":"9fe59214947c107acb45669e2f107b00be6b6c6184e12ca597f7fc2b661e341a"}},"db/zone.json":{"size":280,"mtime_ns":1793783703894998088,"indexed_at_ns":1793784223739991976,"word_count":35,"hashes":{"db/zone.json":"cdd502ffa90331dbfa71842351796f0b9317de1d744f644233c2e5537089ff7b"}},"dmx-driver/README.md":{"size":2911,"mtime_ns":1792558116808211795,"indexed_at_ns":1793707658544334791,"word_count":395,"hashes":{"dmx-driver/README.md":"0c5ffe2dffbe102a54487430d3946fadbc65335f06b0f6c79f3c16b82f56ab0b"}},"dmx-driver/dev.py":{"size":2240,"mtime_ns":1792558116805211784,"indexed_at_ns":1793707658877667616,"word_count":194,"hashes":{"dmx-driver/dev.py":"284307111b0bcc67200ad58aa46b1a9f4f909b1f565a4867b3ef4bf4bbaec012"}},"dmx-driver/lib/artnet.py":{"size":10536,"mtime_ns":1792558116801446799,"indexed_at_ns":1793707658877956591,"word_count":1079,"hashes":{"dmx-driver/lib/artnet.py":"3aac26e5fc30ac42944e6c70446b999b5d527d088aa82ff47287f89ae6c1fac5"}},"dmx-driver/lib/dmx.py":{"size":930,"mtime_ns":1792558116819211832,"indexed_at_ns":1793707658878446873,"word_count":106,"hashes":{"dmx-driver/lib/dmx.py":"6c9934df04c6685364a31ddf7efc87d2502ce582d7a8f1c3ddcd42483e99c67e"}},"dmx-driver/lib/microdot/__init__.py":{"size":105,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658878927267,"word_count":13,"hashes":{"dmx-driver/lib/microdot/__init__.py":"ec3f822838066330dbdfa6a24ca7fd3e059ef19aabaccc322e70ef6a7da55aac"}},"dmx-driver/lib/microdot/helpers.py":{"size":232,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879255364,"word_count":26,"hashes":{"dmx-driver/lib/microdot/helpers.py":"6b2e71d9786d2c149801eb943b8b873d07601bf9ae1bf9c413114941b32163c2"}},"dmx-driver/lib/microdot/microdot.py":{"size":53202,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879562246,"word_count":5131,"hashes":{"dmx-driver/lib/microdot/microdot.py":"4402b84a5214da121fad794ab9bcb59a355d4c98647d3a53953cf3bc78291688"}},"dmx-driver/lib/microdot/utemplate.py":{"size":2543,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879958078,"word_count":233,"hashes":{"dmx-driver/lib/microdot/utemplate.py":"d248495f0d973d0a0c0d0121b837e9ffa87735726897ad51c4ba753ffd72a8ad"}},"dmx-driver/lib/microdot/websocket.py":{"size":8188,"mtime_Line truncated
+5 -5
View File
@@ -94,12 +94,12 @@
</div> </div>
<div id="legend"></div> <div id="legend"></div>
</div> </div>
<div id="stats">257 nodes &middot; 560 edges &middot; 257 communities</div> <div id="stats">293 nodes &middot; 698 edges &middot; 293 communities</div>
</div> </div>
<script> <script>
const RAW_NODES = [{"id": "241", "label": "KeyName", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 10.7, "font": {"size": 12, "color": "#ffffff"}, "title": "KeyName", "community": 241, "community_name": "KeyName", "source_file": "", "file_type": "", "degree": 1, "member_count": 4}, {"id": "32", "label": "nvs_sim.cpp", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 15.7, "font": {"size": 12, "color": "#ffffff"}, "title": "nvs_sim.cpp", "community": 32, "community_name": "nvs_sim.cpp", "source_file": "", "file_type": "", "degree": 8, "member_count": 31}, {"id": "68", "label": "cJSON_AddStringToObject", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 20.6, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON_AddStringToObject", "community": 68, "community_name": "cJSON_AddStringToObject", "source_file": "", "file_type": "", "degree": 28, "member_count": 58}, {"id": "74", "label": "espnow_link.cpp", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 17.9, "font": {"size": 12, "color": "#ffffff"}, "title": "espnow_link.cpp", "community": 74, "community_name": "espnow_link.cpp", "source_file": "", "file_type": "", "degree": 11, "member_count": 43}, {"id": "41", "label": "WS2812", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 14.6, "font": {"size": 12, "color": "#ffffff"}, "title": "WS2812", "community": 41, "community_name": "WS2812", "source_file": "", "file_type": "", "degree": 4, "member_count": 25}, {"id": "217", "label": "api_call_t", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.1, "font": {"size": 12, "color": "#ffffff"}, "title": "api_call_t", "community": 217, "community_name": "api_call_t", "source_file": "", "file_type": "", "degree": 1, "member_count": 6}, {"id": "23", "label": "cJSON", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 39.6, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON", "community": 23, "community_name": "cJSON", "source_file": "", "file_type": "", "degree": 26, "member_count": 162}, {"id": "14", "label": "freertos.c", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 27.4, "font": {"size": 12, "color": "#ffffff"}, "title": "freertos.c", "community": 14, "community_name": "freertos.c", "source_file": "", "file_type": "", "degree": 29, "member_count": 95}, {"id": "45", "label": "http_parser.h", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 18.2, "font": {"size": 12, "color": "#ffffff"}, "title": "http_parser.h", "community": 45, "community_name": "http_parser.h", "source_file": "", "file_type": "", "degree": 3, "member_count": 45}, {"id": "139", "label": "esp_err.h", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "esp_err.h", "community": 139, "community_name": "esp_err.h", "source_file": "", "file_type": "", "degree": 51, "member_count": 164}, {"id": "33", "label": "httpd_parse.c", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 22.6, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_parse.c", "community": 33, "community_name": "httpd_parse.c", "source_file": "", "file_type": "", "degree": 16, "member_count": 69}, {"id": "57", "label": "httpd_config", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 16.2, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_config", "community": 57, "community_name": "httpd_config", "source_file": "", "file_type": "", "degree": 2, "member_count": 34}, {"id": "201", "label": "httpd_ctrl_data", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.6, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_ctrl_data", "community": 201, "community_name": "httpd_ctrl_data", "source_file": "", "file_type": "", "degree": 3, "member_count": 9}, {"id": "72", "label": "httpd_data", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 13.3, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_data", "community": 72, "community_name": "httpd_data", "source_file": "", "file_type": "", "degree": 5, "meLine truncated const RAW_NODES = [{"id": "221", "label": "nvs_open", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 17.0, "font": {"size": 12, "color": "#ffffff"}, "title": "nvs_open", "community": 221, "community_name": "nvs_open", "source_file": "", "file_type": "", "degree": 11, "member_count": 31}, {"id": "241", "label": "decode_presets", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 13.8, "font": {"size": 12, "color": "#ffffff"}, "title": "decode_presets", "community": 241, "community_name": "decode_presets", "source_file": "", "file_type": "", "degree": 9, "member_count": 17}, {"id": "246", "label": "src/main.cpp", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 25.8, "font": {"size": 12, "color": "#ffffff"}, "title": "src/main.cpp", "community": 246, "community_name": "src/main.cpp", "source_file": "", "file_type": "", "degree": 30, "member_count": 70}, {"id": "74", "label": "espnow_link.cpp", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 19.0, "font": {"size": 12, "color": "#ffffff"}, "title": "espnow_link.cpp", "community": 74, "community_name": "espnow_link.cpp", "source_file": "", "file_type": "", "degree": 9, "member_count": 40}, {"id": "41", "label": "WS2812", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 19.9, "font": {"size": 12, "color": "#ffffff"}, "title": "WS2812", "community": 41, "community_name": "WS2812", "source_file": "", "file_type": "", "degree": 6, "member_count": 44}, {"id": "217", "label": "api_call_t", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.4, "font": {"size": 12, "color": "#ffffff"}, "title": "api_call_t", "community": 217, "community_name": "api_call_t", "source_file": "", "file_type": "", "degree": 1, "member_count": 6}, {"id": "5", "label": "cJSON", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 34.8, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON", "community": 5, "community_name": "cJSON", "source_file": "", "file_type": "", "degree": 20, "member_count": 110}, {"id": "46", "label": "xTaskCreate", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 22.2, "font": {"size": 12, "color": "#ffffff"}, "title": "xTaskCreate", "community": 46, "community_name": "xTaskCreate", "source_file": "", "file_type": "", "degree": 27, "member_count": 54}, {"id": "277", "label": "flags", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.0, "font": {"size": 12, "color": "#ffffff"}, "title": "flags", "community": 277, "community_name": "flags", "source_file": "", "file_type": "", "degree": 1, "member_count": 9}, {"id": "45", "label": "http_parser.h", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 18.1, "font": {"size": 12, "color": "#ffffff"}, "title": "http_parser.h", "community": 45, "community_name": "http_parser.h", "source_file": "", "file_type": "", "degree": 5, "member_count": 36}, {"id": "139", "label": "esp_err.h", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "esp_err.h", "community": 139, "community_name": "esp_err.h", "source_file": "", "file_type": "", "degree": 59, "member_count": 133}, {"id": "33", "label": "httpd_parse.c", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 22.2, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_parse.c", "community": 33, "community_name": "httpd_parse.c", "source_file": "", "file_type": "", "degree": 19, "member_count": 54}, {"id": "57", "label": "httpd_config", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 17.7, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_config", "community": 57, "community_name": "httpd_config", "source_file": "", "file_type": "", "degree": 2, "member_count": 34}, {"id": "201", "label": "httpd_ctrl_data", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.0, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_ctrl_data", "community": 201, "community_name": "httpd_ctrl_data", "source_file": "", "file_type": "", "degree": 3, "member_count": 9}, {"id": "72"Line truncated
const RAW_EDGES = [{"from": "241", "to": "139", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "23", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "221", "label": "16 cross-community edges", "title": "16 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "66", "label": "10 cross-community edges", "title": "10 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "246", "label": "7 cross-community edges", "title": "7 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "86", "label": "5 cross-community edges", "title": "5 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "97", "label": "5 cross-community edges", "title": "5 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "139", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "32", "to": "41", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "139", "label": "22 cross-community edges", "title": "22 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "23", "label": "87 cross-community edges", "title": "87 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "100", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "133", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "14", "label": "7 cross-community edges", "title": "7 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "17", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "179", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "18", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "21", "label": "32 cross-community edges", "title": "32 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "221", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "246", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "26", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "31", "label": "46 cross-community edges", "title": "46 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "35", "label": "26 cross-community edges", "title": "26 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "40", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "43", "label": "24 cross-community edges", "title": "24 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "68", "to": "46", "Line truncated const RAW_EDGES = [{"from": "221", "to": "5", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "257", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "246", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "66", "label": "7 cross-community edges", "title": "7 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "99", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "86", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "55", "label": "17 cross-community edges", "title": "17 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "68", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "46", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "139", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "41", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "246", "label": "11 cross-community edges", "title": "11 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "5", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "23", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "55", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "86", "label": "5 cross-community edges", "title": "5 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "74", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "68", "label": "12 cross-community edges", "title": "12 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "99", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "31", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "100", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "14", "label": "6 cross-community edges", "title": "6 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "149", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "18", "label": "16 cross-community edges", "title": "16 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "21", "label": "16 cross-community edges", "title": "16 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", Line truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "IdfDevice", "count": 35}, {"cid": 1, "color": "#F28E2B", "label": "htmx Library", "count": 104}, {"cid": 2, "color": "#E15759", "label": "PyboardCommand", "count": 26}, {"cid": 3, "color": "#76B7B2", "label": "Browser Tests &amp; Mockup Images", "count": 70}, {"cid": 4, "color": "#59A14F", "label": "Audio UI (JS)", "count": 59}, {"cid": 5, "color": "#EDC948", "label": "cJSON", "count": 77}, {"cid": 6, "color": "#B07AA1", "label": "controller", "count": 40}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 67}, {"cid": 8, "color": "#9C755F", "label": "ab", "count": 102}, {"cid": 9, "color": "#BAB0AC", "label": "Compiler", "count": 42}, {"cid": 10, "color": "#4E79A7", "label": "Spec: Pi Animation Engine", "count": 47}, {"cid": 11, "color": "#F28E2B", "label": "seq_timeline.js", "count": 83}, {"cid": 12, "color": "#E15759", "label": "Presets UI (JS)", "count": 47}, {"cid": 13, "color": "#76B7B2", "label": "Zones UI (JS)", "count": 46}, {"cid": 14, "color": "#59A14F", "label": "freertos.c", "count": 95}, {"cid": 15, "color": "#EDC948", "label": "unique", "count": 75}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 40}, {"cid": 17, "color": "#FF9DA7", "label": "httpd_handle_t", "count": 29}, {"cid": 18, "color": "#9C755F", "label": "bridge_dmx.c", "count": 29}, {"cid": 19, "color": "#BAB0AC", "label": "led_strip Component Docs", "count": 39}, {"cid": 20, "color": "#4E79A7", "label": "Art-Net Output", "count": 40}, {"cid": 21, "color": "#F28E2B", "label": "web.cpp", "count": 49}, {"cid": 22, "color": "#E15759", "label": "desktop_main.c", "count": 5}, {"cid": 23, "color": "#76B7B2", "label": "cJSON", "count": 162}, {"cid": 24, "color": "#59A14F", "label": "time", "count": 24}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 47}, {"cid": 26, "color": "#B07AA1", "label": "bridge_main.c", "count": 64}, {"cid": 27, "color": "#FF9DA7", "label": "NoCaseDict", "count": 10}, {"cid": 28, "color": "#9C755F", "label": "Devices UI (JS)", "count": 41}, {"cid": 29, "color": "#BAB0AC", "label": "binary_envelope.py", "count": 30}, {"cid": 30, "color": "#4E79A7", "label": "Colour Picker Mockups", "count": 29}, {"cid": 31, "color": "#F28E2B", "label": "auth.c", "count": 69}, {"cid": 32, "color": "#E15759", "label": "nvs_sim.cpp", "count": 31}, {"cid": 33, "color": "#76B7B2", "label": "httpd_parse.c", "count": 69}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 34}, {"cid": 35, "color": "#EDC948", "label": "seqplay.c", "count": 66}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs &amp; Audio", "count": 23}, {"cid": 37, "color": "#FF9DA7", "label": "bridge_serial.c", "count": 27}, {"cid": 38, "color": "#9C755F", "label": "driver_ota.py", "count": 24}, {"cid": 39, "color": "#BAB0AC", "label": "Beat Detection DSP (C)", "count": 21}, {"cid": 40, "color": "#4E79A7", "label": "xSemaphoreGive", "count": 110}, {"cid": 41, "color": "#F28E2B", "label": "WS2812", "count": 25}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 21}, {"cid": 43, "color": "#76B7B2", "label": "cJSON_Delete", "count": 42}, {"cid": 44, "color": "#59A14F", "label": "events", "count": 22}, {"cid": 45, "color": "#EDC948", "label": "http_parser.h", "count": 45}, {"cid": 46, "color": "#B07AA1", "label": "EMSCRIPTEN_KEEPALIVE", "count": 7}, {"cid": 47, "color": "#FF9DA7", "label": "argparse", "count": 42}, {"cid": 48, "color": "#9C755F", "label": "Colour Picker JS", "count": 23}, {"cid": 49, "color": "#BAB0AC", "label": "Chromium Colour Picker JS", "count": 23}, {"cid": 50, "color": "#4E79A7", "label": "steps", "count": 20}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 27}, {"cid": 52, "color": "#E15759", "label": "beat.c", "count": 54}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "sim_stubs.c", "count": 44}, {"cid": 55, "color": "#EDC948", "label": "httpd_ws_frame", "count": 8}, {"cid": 56, "color": "#B07AA1", "label": "test_outputs.py", "count": 10}, {"cid": 57, "color": "#FF9DA7", "label": "httpd_config", "count": 34}, {"cid": 58, "color": "#9C755F", "label": "gallery.js", "count": 32}, {"cid": 59, "color": "#BAB0AC", "label": "mic_alsa.c", "count": 31}, {"cid": 60, "color": "#4E79A7", "label": "test_sim_net.py", "count": 37}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures &amp; Audio", "count": 15}, {"cid": 62, "color": "#E15759", "label": "run_test", "count": 17}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones &amp; Palette", "count": 20}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 41}, {"cid": 65, "color": "#EDC948", "label": "ESPNow", "count": 14}, {"cid": 66, "color": "#B07AA1", "label": "presets.cpp", "count": 30}, {"cid": 67, "color": "#FF9DA7", "label": "auth.js", "count": 42}, {"cid": 68, "color": "#9C755F", "label": "cJSON_AddStringToObject", "count": 58}, Line truncated const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "IdfDevice", "count": 35}, {"cid": 1, "color": "#F28E2B", "label": "htmx Library", "count": 104}, {"cid": 2, "color": "#E15759", "label": "PyboardCommand", "count": 26}, {"cid": 3, "color": "#76B7B2", "label": "Browser Tests &amp; Mockup Images", "count": 70}, {"cid": 4, "color": "#59A14F", "label": "Audio UI (JS)", "count": 59}, {"cid": 5, "color": "#EDC948", "label": "cJSON", "count": 110}, {"cid": 6, "color": "#B07AA1", "label": "controller", "count": 40}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 68}, {"cid": 8, "color": "#9C755F", "label": "ab", "count": 102}, {"cid": 9, "color": "#BAB0AC", "label": "Compiler", "count": 42}, {"cid": 10, "color": "#4E79A7", "label": "Spec: Pi Animation Engine", "count": 47}, {"cid": 11, "color": "#F28E2B", "label": "seq_timeline.js", "count": 83}, {"cid": 12, "color": "#E15759", "label": "Presets UI (JS)", "count": 47}, {"cid": 13, "color": "#76B7B2", "label": "Zones UI (JS)", "count": 46}, {"cid": 14, "color": "#59A14F", "label": "freertos.c", "count": 84}, {"cid": 15, "color": "#EDC948", "label": "unique", "count": 65}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 40}, {"cid": 17, "color": "#FF9DA7", "label": "bridge.c", "count": 59}, {"cid": 18, "color": "#9C755F", "label": "bridge_main.c", "count": 58}, {"cid": 19, "color": "#BAB0AC", "label": "led_strip Component Docs", "count": 39}, {"cid": 20, "color": "#4E79A7", "label": "Art-Net Output", "count": 37}, {"cid": 21, "color": "#F28E2B", "label": "web.cpp", "count": 61}, {"cid": 22, "color": "#E15759", "label": "espnow_tx.c", "count": 48}, {"cid": 23, "color": "#76B7B2", "label": "cJSON", "count": 121}, {"cid": 24, "color": "#59A14F", "label": "time", "count": 24}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 31}, {"cid": 26, "color": "#B07AA1", "label": "httpd_handle_t", "count": 28}, {"cid": 27, "color": "#FF9DA7", "label": "NoCaseDict", "count": 19}, {"cid": 28, "color": "#9C755F", "label": "Devices UI (JS)", "count": 41}, {"cid": 29, "color": "#BAB0AC", "label": "binary_envelope.py", "count": 30}, {"cid": 30, "color": "#4E79A7", "label": "Colour Picker Mockups", "count": 29}, {"cid": 31, "color": "#F28E2B", "label": "auth.c", "count": 75}, {"cid": 32, "color": "#E15759", "label": "BridgeSim", "count": 20}, {"cid": 33, "color": "#76B7B2", "label": "httpd_parse.c", "count": 54}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 34}, {"cid": 35, "color": "#EDC948", "label": "seqplay.c", "count": 86}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs &amp; Audio", "count": 24}, {"cid": 37, "color": "#FF9DA7", "label": "bridge_sim.py", "count": 22}, {"cid": 38, "color": "#9C755F", "label": "driver_ota.py", "count": 24}, {"cid": 39, "color": "#BAB0AC", "label": "cJSON_IsNumber", "count": 35}, {"cid": 40, "color": "#4E79A7", "label": "xSemaphoreGive", "count": 92}, {"cid": 41, "color": "#F28E2B", "label": "WS2812", "count": 44}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 21}, {"cid": 43, "color": "#76B7B2", "label": "create_app", "count": 24}, {"cid": 44, "color": "#59A14F", "label": "events", "count": 22}, {"cid": 45, "color": "#EDC948", "label": "http_parser.h", "count": 36}, {"cid": 46, "color": "#B07AA1", "label": "xTaskCreate", "count": 54}, {"cid": 47, "color": "#FF9DA7", "label": "argparse", "count": 33}, {"cid": 48, "color": "#9C755F", "label": "Colour Picker JS", "count": 23}, {"cid": 49, "color": "#BAB0AC", "label": "Chromium Colour Picker JS", "count": 23}, {"cid": 50, "color": "#4E79A7", "label": "steps", "count": 20}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 27}, {"cid": 52, "color": "#E15759", "label": "beat.c", "count": 19}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "mcu_host/main/main.c", "count": 60}, {"cid": 55, "color": "#EDC948", "label": "nvs_open", "count": 24}, {"cid": 56, "color": "#B07AA1", "label": "test_outputs.py", "count": 10}, {"cid": 57, "color": "#FF9DA7", "label": "httpd_config", "count": 34}, {"cid": 58, "color": "#9C755F", "label": "gallery.js", "count": 32}, {"cid": 59, "color": "#BAB0AC", "label": "mic_alsa.c", "count": 25}, {"cid": 60, "color": "#4E79A7", "label": "test_sim_net.py", "count": 31}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures &amp; Audio", "count": 15}, {"cid": 62, "color": "#E15759", "label": "sock_db", "count": 22}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones &amp; Palette", "count": 20}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 41}, {"cid": 65, "color": "#EDC948", "label": "sys", "count": 32}, {"cid": 66, "color": "#B07AA1", "label": "presets.cpp", "count": 25}, {"cid": 67, "color": "#FF9DA7", "label": "auth.js", "count": 42}, {"cid": 68, "color": "#9C755F", "label": "cJSON_CreateObject", "count": 94}, {"cid": 69, "color": "#BAB0AC", "Line truncated
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML // HTML-escape helper — prevents XSS when injecting graph data into innerHTML
function esc(s) { function esc(s) {
@@ -407,7 +407,7 @@ LEGEND.forEach(c => {
</script> </script>
<script> <script>
// Render hyperedges as shaded regions // Render hyperedges as shaded regions
const hyperedges = [{"id": "beat_latency_measurement", "label": "Beat latency measurement methods", "nodes": ["75", "76"]}, {"id": "docs_help_edit_mode_management", "label": "Edit-mode-only management features", "nodes": ["145", "63"]}, {"id": "docs_mockups_device_modal_flow", "label": "Device/Group Modal Flow", "nodes": ["180", "30"]}, {"id": "v1_message_pipeline", "label": "v1 message handling on driver", "nodes": ["109", "105"]}]; const hyperedges = [{"id": "docs_help_edit_mode_management", "label": "Edit-mode-only management features", "nodes": ["145", "63"]}, {"id": "docs_mockups_device_modal_flow", "label": "Device/Group Modal Flow", "nodes": ["180", "30"]}, {"id": "espnow_driver_delivery_layers", "label": "ESP-NOW driver delivery layers", "nodes": ["242", "75"]}, {"id": "v1_message_pipeline", "label": "v1 message handling on driver", "nodes": ["109", "105"]}];
// afterDrawing passes ctx already transformed to network coordinate space. // afterDrawing passes ctx already transformed to network coordinate space.
// Draw node positions raw — no manual pan/zoom/DPR math needed. // Draw node positions raw — no manual pan/zoom/DPR math needed.
+1 -1
View File
@@ -1 +1 @@
{"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["docs_mockups_images_color_picker_demo_hsb_color_model","docs_mockups_images_color_picker_demo_hex_rgb_input","docs_mockups_images_color_picker_demo_keyboard_accessibility","docs_mockups_images_color_picker_demo_cross_platform_consistency"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["docs_images_help_mobile_menu_run_mode","docs_images_help_mobile_menu_profiles","docs_images_help_mobile_menu_tabs","docs_images_help_mobile_menu_presets","docs_images_help_mobile_menu_help"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["docs_mockups_images_index_dashboard_mockup","docs_mockups_images_index_pattern_selector_mockup","docs_mockups_images_index_device_management_mockup","docs_mockups_images_index_settings_mockup","docs_mockups_images_index_presets_mockup"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["docs_mockups_images_pattern_selector_on","docs_mockups_images_pattern_selector_off","docs_mockups_images_pattern_selector_blink","docs_mockups_images_pattern_selector_chase","docs_mockups_images_pattern_selector_circle","docs_mockups_images_pattern_selector_pulse","docs_mockups_images_pattern_selector_rainbow","docs_mockups_images_pattern_selector_transition"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["docs_mockups_index","docs_mockups_dashboard","docs_mockups_pattern_selector","docs_mockups_device_management","docs_mockups_readme_settings_mockup","docs_mockups_color_picker_readme_presets_mockup"],"relation":"foLine truncated {"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["docs_mockups_images_color_picker_demo_hsb_color_model","docs_mockups_images_color_picker_demo_hex_rgb_input","docs_mockups_images_color_picker_demo_keyboard_accessibility","docs_mockups_images_color_picker_demo_cross_platform_consistency"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["docs_images_help_mobile_menu_run_mode","docs_images_help_mobile_menu_profiles","docs_images_help_mobile_menu_tabs","docs_images_help_mobile_menu_presets","docs_images_help_mobile_menu_help"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["docs_mockups_images_index_dashboard_mockup","docs_mockups_images_index_pattern_selector_mockup","docs_mockups_images_index_device_management_mockup","docs_mockups_images_index_settings_mockup","docs_mockups_images_index_presets_mockup"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["docs_mockups_images_pattern_selector_on","docs_mockups_images_pattern_selector_off","docs_mockups_images_pattern_selector_blink","docs_mockups_images_pattern_selector_chase","docs_mockups_images_pattern_selector_circle","docs_mockups_images_pattern_selector_pulse","docs_mockups_images_pattern_selector_rainbow","docs_mockups_images_pattern_selector_transition"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["docs_mockups_index","docs_mockups_dashboard","docs_mockups_pattern_selector","docs_mockups_device_management","docs_mockups_readme_settings_mockup","docs_mockups_color_picker_readme_presets_mockup"],"relation":"foLine truncated
+294 -48
View File
@@ -456,9 +456,9 @@
"semantic_hash": "700e464cfe9bf038a06dd4e31d58c2d4" "semantic_hash": "700e464cfe9bf038a06dd4e31d58c2d4"
}, },
"main/engine.c": { "main/engine.c": {
"mtime": 1795087797.8751228, "mtime": 1795482277.0101156,
"seen": 1795087985.605667, "seen": 1795483469.535769,
"ast_hash": "26830a83d3a1881aebbd72c5400d3bee", "ast_hash": "3645d5c0ecb74ddfc171b4e9b4e51482",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/engine.h": { "main/engine.h": {
@@ -480,9 +480,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/espnow_tx.c": { "main/espnow_tx.c": {
"mtime": 1794732641.0110714, "mtime": 1795491322.7562864,
"seen": 1794732791.144719, "seen": 1795491814.9659693,
"ast_hash": "670febfaf02bc285ef4dfa900e9f8218", "ast_hash": "10dbc502a9a0313e23f7fa9e33cb2773",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/espnow_tx.h": { "main/espnow_tx.h": {
@@ -492,27 +492,27 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/idf_component.yml": { "main/idf_component.yml": {
"mtime": 1794608355.1748385, "mtime": 1795491368.7900434,
"seen": 1794609724.2120414, "seen": 1795491814.9659963,
"ast_hash": "742b8a2f6f76972fd73f6ae00f3018e3", "ast_hash": "91d611fd232c308b90577cc52e1d59d7",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/main.c": { "main/main.c": {
"mtime": 1794828673.5260727, "mtime": 1795508452.561534,
"seen": 1794831063.7114704, "seen": 1795509579.7794125,
"ast_hash": "d3fb2a0b6b53b0085a666fe36edfac8b", "ast_hash": "dae3d711ee96daba02c403ae12f68e9c",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/mic.c": { "main/mic.c": {
"mtime": 1793622279.0995092, "mtime": 1795491359.816846,
"seen": 1793707995.1510262, "seen": 1795491814.965999,
"ast_hash": "c9cebaa2630ecc187914ba2ceb871d25", "ast_hash": "82eba8b74abd4e6350c615467d1f0b16",
"semantic_hash": "c9cebaa2630ecc187914ba2ceb871d25" "semantic_hash": ""
}, },
"main/mic.h": { "main/mic.h": {
"mtime": 1794710254.6363616, "mtime": 1795491359.8167608,
"seen": 1794710291.4684157, "seen": 1795491814.9660003,
"ast_hash": "bbee4a6649dede4cfa1f4a9f2052540a", "ast_hash": "77ec19cde07c9224b59c483b88272705",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/ota.c": { "main/ota.c": {
@@ -606,8 +606,8 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/web.c": { "main/web.c": {
"mtime": 1794828673.5270727, "mtime": 1795508452.561407,
"seen": 1794831063.7119088, "seen": 1795509579.7799392,
"ast_hash": "06786e1a7037d748a112121faceeb898", "ast_hash": "06786e1a7037d748a112121faceeb898",
"semantic_hash": "" "semantic_hash": ""
}, },
@@ -1020,15 +1020,15 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"CMakeLists.txt": { "CMakeLists.txt": {
"mtime": 1793622279.097092, "mtime": 1795491368.7900705,
"seen": 1793707995.151102, "seen": 1795491814.9708762,
"ast_hash": "05a67a3f907ec1ed1b46b357dbc83c25", "ast_hash": "05a67a3f907ec1ed1b46b357dbc83c25",
"semantic_hash": "05a67a3f907ec1ed1b46b357dbc83c25" "semantic_hash": ""
}, },
"README.md": { "README.md": {
"mtime": 1794783157.3001297, "mtime": 1795491763.647069,
"seen": 1794783239.9567554, "seen": 1795491814.970878,
"ast_hash": "3f5fc1606dd002e9676fac99ea2e0a4d", "ast_hash": "675bc2ba1fad31872f81722c1c13bacc",
"semantic_hash": "" "semantic_hash": ""
}, },
"dmx-driver/README.md": { "dmx-driver/README.md": {
@@ -1164,9 +1164,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/CMakeLists.txt": { "main/CMakeLists.txt": {
"mtime": 1794903874.207326, "mtime": 1795508452.561687,
"seen": 1794904798.417676, "seen": 1795509579.787264,
"ast_hash": "f48e1593b2a39464b278ab41d01a3e5b", "ast_hash": "df00a4a4202b115ba16c9757c36fa582",
"semantic_hash": "" "semantic_hash": ""
}, },
"scripts/led-test/CMakeLists.txt": { "scripts/led-test/CMakeLists.txt": {
@@ -1488,15 +1488,15 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/bridge.c": { "main/bridge.c": {
"mtime": 1794904051.9806864, "mtime": 1795508452.561108,
"seen": 1794904798.384837, "seen": 1795509579.7788699,
"ast_hash": "3ce095b7b8c6f5dbbd3257b7f6d78d4f", "ast_hash": "816a8a21bb5a67d5e4f7b9d7969bfc35",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/bridge.h": { "main/bridge.h": {
"mtime": 1794903874.2295244, "mtime": 1795508452.5613012,
"seen": 1794904798.384845, "seen": 1795509579.778872,
"ast_hash": "7e38d6833dd6334acb675691a75dbfce", "ast_hash": "6f3388fa6e3968234ca0151a31f070ef",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/include/driver/gpio.h": { "sim-controller/components/sim/include/driver/gpio.h": {
@@ -2442,9 +2442,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/seq_timeline.js": { "web/static/seq_timeline.js": {
"mtime": 1795088660.09356, "mtime": 1795508463.5559955,
"seen": 1795088752.0235796, "seen": 1795509579.7842224,
"ast_hash": "71ebee3d736bbdcf811accfa457f0c83", "ast_hash": "fc34c21763d22a3093dc89c0a0d2136d",
"semantic_hash": "" "semantic_hash": ""
}, },
".claude/launch.json": { ".claude/launch.json": {
@@ -2586,9 +2586,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_rig.c": { "sim-controller/components/sim/sim_rig.c": {
"mtime": 1794891280.4632754, "mtime": 1795508452.560802,
"seen": 1794892352.3451536, "seen": 1795509579.7820244,
"ast_hash": "25d63d46b8ae120e1839bacd03c54123", "ast_hash": "c40b0e6dbc70ba689bfbf136e9dfbf69",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_rig.h": { "sim-controller/components/sim/sim_rig.h": {
@@ -2604,9 +2604,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/sim_split.js": { "web/static/sim_split.js": {
"mtime": 1794887350.7827938, "mtime": 1795508463.5542197,
"seen": 1794888631.7936254, "seen": 1795509579.784286,
"ast_hash": "aa6a367646166a4b95c956a0ca375e8b", "ast_hash": "f3d3b757970f3c9bf8e8f9ac08845069",
"semantic_hash": "" "semantic_hash": ""
}, },
".gitea/workflows/release.yml": { ".gitea/workflows/release.yml": {
@@ -2658,9 +2658,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_net.c": { "sim-controller/components/sim/sim_net.c": {
"mtime": 1794907687.544602, "mtime": 1795508452.5600376,
"seen": 1794908131.1508925, "seen": 1795509579.781986,
"ast_hash": "3a8bf5f4ad21642e80adf774859d0f2d", "ast_hash": "ebc3d16a4777cc0dd617672d8690efc2",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_net.h": { "sim-controller/components/sim/sim_net.h": {
@@ -3520,5 +3520,251 @@
"seen": 1795480607.4929132, "seen": 1795480607.4929132,
"ast_hash": "2614b4046f8e5df8d9d7c3ea762230b0", "ast_hash": "2614b4046f8e5df8d9d7c3ea762230b0",
"semantic_hash": "" "semantic_hash": ""
},
"bridge/main/radio_proto.h": {
"mtime": 1795482667.397158,
"seen": 1795483469.527052,
"ast_hash": "5cf394e324fea23c68e7318101c971eb",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c": {
"mtime": 1795482946.0428154,
"seen": 1795483469.5299978,
"ast_hash": "78c2b021e3060ed7ecd641412898ecb0",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp": {
"mtime": 1795482946.1008132,
"seen": 1795483469.53,
"ast_hash": "9c35f26516a840833b8064e9da71746d",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/CMakeConfigureLog.yaml": {
"mtime": 1795482952.9755385,
"seen": 1795483469.5300014,
"ast_hash": "64e42d5c0b70ad6644ce89a5e73a2888",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/InstallScripts.json": {
"mtime": 1795482953.3305244,
"seen": 1795483469.5300024,
"ast_hash": "7c7a10b057971c02e3c4c09259195310",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/bootloader.dir/Labels.json": {
"mtime": 1795482953.298206,
"seen": 1795483469.530004,
"ast_hash": "2f456ef130105c4402576995fb7d0039",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c": {
"mtime": 1795482955.7964258,
"seen": 1795483469.5300052,
"ast_hash": "78c2b021e3060ed7ecd641412898ecb0",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp": {
"mtime": 1795482955.9284205,
"seen": 1795483469.5300062,
"ast_hash": "9c35f26516a840833b8064e9da71746d",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeFiles/CMakeConfigureLog.yaml": {
"mtime": 1795482963.108228,
"seen": 1795483469.5300074,
"ast_hash": "4941770609b829a84c73864c7b169c51",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeFiles/InstallScripts.json": {
"mtime": 1795482963.2601273,
"seen": 1795483469.5300083,
"ast_hash": "346ea4706b94af63f4ed42b45b4befc1",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/compile_commands.json": {
"mtime": 1795482963.1801305,
"seen": 1795483469.5300093,
"ast_hash": "d819b8ec87889a743ee40b99a3660104",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/config/kconfig_menus.json": {
"mtime": 1795482960.4661007,
"seen": 1795483469.5300107,
"ast_hash": "9efe37903c62975b480eaf0070084a61",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/config/sdkconfig.h": {
"mtime": 1795482960.3842776,
"seen": 1795483469.5300117,
"ast_hash": "0e35878430826cd83cfefe972a1f91e1",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/config/sdkconfig.json": {
"mtime": 1795482960.400543,
"seen": 1795483469.5300126,
"ast_hash": "abe83e648f2fab018dc8db470996ba74",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/hints.yml": {
"mtime": 1795482963.1062617,
"seen": 1795483469.5300138,
"ast_hash": "c99ef35cd2fa625aa0284b5fc885f28f",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/project_description.json": {
"mtime": 1795482963.1251328,
"seen": 1795483469.5300152,
"ast_hash": "19ec5291bcbb96805b0b9a243799efdf",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/project_elf_src_esp32c3.c": {
"mtime": 1795482963.2971258,
"seen": 1795483469.5300162,
"ast_hash": "d41d8cd98f00b204e9800998ecf8427e",
"semantic_hash": ""
},
"led-driver/build-d61/config/sdkconfig.h": {
"mtime": 1795482949.5059505,
"seen": 1795483469.5300174,
"ast_hash": "94c534bce94ec452bcc64503b7f12b57",
"semantic_hash": ""
},
"led-driver/build-d61/config/sdkconfig.json": {
"mtime": 1795482949.5102682,
"seen": 1795483469.5300183,
"ast_hash": "74d8b163f5027e484a513a2650844e83",
"semantic_hash": ""
},
"led-driver/build-d61/flasher_args.json": {
"mtime": 1795482953.0444882,
"seen": 1795483469.5300193,
"ast_hash": "63ffa2cb06d0e61992ab9fa11e9b9c79",
"semantic_hash": ""
},
"led-driver/build-d61/hints.yml": {
"mtime": 1795482952.9712925,
"seen": 1795483469.5300207,
"ast_hash": "e7a28198aa8b592ccb19c09021a8653b",
"semantic_hash": ""
},
"led-driver/build-d61/project_description.json": {
"mtime": 1795482953.045447,
"seen": 1795483469.530022,
"ast_hash": "576286c013c614269b31818347007a6a",
"semantic_hash": ""
},
"led-driver/build-d61/project_elf_src_esp32c3.c": {
"mtime": 1795482953.9734986,
"seen": 1795483469.5300226,
"ast_hash": "d41d8cd98f00b204e9800998ecf8427e",
"semantic_hash": ""
},
"main/bridge_hosted.c": {
"mtime": 1795481802.596864,
"seen": 1795483469.5356612,
"ast_hash": "55d004a529b98fdb39c6c4d16d69105a",
"semantic_hash": ""
},
"main/bridge_hosted.h": {
"mtime": 1795481802.5768652,
"seen": 1795483469.5356631,
"ast_hash": "beb6e943c4e7d31ba79343988dadbcf8",
"semantic_hash": ""
},
"main/c6_update.c": {
"mtime": 1795491776.4026546,
"seen": 1795491814.9658062,
"ast_hash": "f6fe29281a94a6e9149ca65f26acb532",
"semantic_hash": ""
},
"main/c6_update.h": {
"mtime": 1795491776.4033628,
"seen": 1795491814.965809,
"ast_hash": "87db8cb97e356108cb6eedc145190f9c",
"semantic_hash": ""
},
"radio-c6/main/idf_component.yml": {
"mtime": 1795481656.359795,
"seen": 1795483469.5365074,
"ast_hash": "42f0961c96a152bc369ab81880d58a9b",
"semantic_hash": ""
},
"radio-c6/main/radio_now.c": {
"mtime": 1795482667.3973174,
"seen": 1795483469.5365086,
"ast_hash": "b156a7795097640d2513b222a71f5184",
"semantic_hash": ""
},
"docs/P4_NANO.md": {
"mtime": 1795491763.646949,
"seen": 1795491814.9711444,
"ast_hash": "ad769c97ad56e7341c4795bcb7975605",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeCache.txt": {
"mtime": 1795482952.9755385,
"seen": 1795483469.5410385,
"ast_hash": "1e976747be64d0e64e0d7e240ff8f261",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/TargetDirectories.txt": {
"mtime": 1795482953.2995255,
"seen": 1795483469.5410402,
"ast_hash": "019ae9518d446d250ac62729e4a175f0",
"semantic_hash": ""
},
"led-driver/build-d61/CMakeFiles/bootloader.dir/Labels.txt": {
"mtime": 1795482953.2982302,
"seen": 1795483469.5410411,
"ast_hash": "df3ae316751ef81a78db27568b635507",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader-prefix/src/bootloader-stamp/bootloader-patch-info.txt": {
"mtime": 1795482949.7176688,
"seen": 1795483469.541043,
"ast_hash": "41aa8a08e8001a7844105a410d24a140",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader-prefix/src/bootloader-stamp/bootloader-source_dirinfo.txt": {
"mtime": 1795482949.715669,
"seen": 1795483469.541044,
"ast_hash": "6738a0500c073b4041615d7695433dd2",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader-prefix/src/bootloader-stamp/bootloader-update-info.txt": {
"mtime": 1795482949.7166688,
"seen": 1795483469.5410447,
"ast_hash": "71cb48cc52f47153392f48e69429e9dd",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader-prefix/tmp/bootloader-cfgcmd.txt": {
"mtime": 1795482949.7186687,
"seen": 1795483469.541046,
"ast_hash": "31ac3838895cfdeef8c8a766c39dad4e",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeCache.txt": {
"mtime": 1795482963.108228,
"seen": 1795483469.5410473,
"ast_hash": "23be4e5bb109d16aff906091377efdcc",
"semantic_hash": ""
},
"led-driver/build-d61/bootloader/CMakeFiles/TargetDirectories.txt": {
"mtime": 1795482963.1791306,
"seen": 1795483469.541048,
"ast_hash": "964aa6f498e66b6861e032fd000580e5",
"semantic_hash": ""
},
"radio-c6/CMakeLists.txt": {
"mtime": 1795482851.257664,
"seen": 1795483469.5425003,
"ast_hash": "67087d0288b947a5c1508f49e2d41931",
"semantic_hash": ""
},
"radio-c6/main/CMakeLists.txt": {
"mtime": 1795481819.012516,
"seen": 1795483469.542502,
"ast_hash": "24d4d2db512d6f8cd76dd4b8c524aed1",
"semantic_hash": ""
} }
} }
+23 -6
View File
@@ -7,12 +7,19 @@ if(IDF_TARGET STREQUAL "linux")
REQUIRES esp_http_server esp_timer esp_event cjson REQUIRES esp_http_server esp_timer esp_event cjson
PRIV_REQUIRES mbedtls lwip esp_app_format) PRIV_REQUIRES mbedtls lwip esp_app_format)
else() else()
idf_component_register(SRCS "main.c" "mic.c" "beat.c" "beat_dsp.c" "espnow_tx.c" "bridge.c" "store.c" "api.c" "web.c" "envelope.c" "engine.c" "rel.c" "bench.c" "audio.c" "ota.c" # Waveshare ESP32-P4-Nano (docs/P4_NANO.md): internal EMAC Ethernet, ES8311 mic, and the C6 next to it for
"res_profile.c" "res_misc.c" "res_device.c" "res_group.c" "seqplay.c" "res_bundle.c" "audio_api.c" "patterns.c" "outputs.c" "dmx_wire.c" "ws.c" "ws_client.c" "wifi_drv.c" "res_dmx.c" "auth.c" # Wi-Fi (esp-hosted) and ESP-NOW (bridge_hosted.c talking to radio-c6/)
INCLUDE_DIRS "." "../bridge/main" idf_component_register(SRCS "main.c" "mic.c" "beat.c" "beat_dsp.c" "espnow_tx.c" "bridge.c" "store.c" "api.c" "web.c" "envelope.c" "engine.c" "rel.c" "bench.c" "audio.c" "ota.c"
REQUIRES esp_eth esp_netif esp_event esp_driver_spi esp_driver_gpio nvs_flash app_update esp_app_format "res_profile.c" "res_misc.c" "res_device.c" "res_group.c" "seqplay.c" "res_bundle.c" "audio_api.c" "patterns.c" "outputs.c" "dmx_wire.c" "ws.c" "ws_client.c" "wifi_drv.c" "res_dmx.c" "auth.c"
esp_http_server esp_timer esp_driver_i2s esp_wifi esp_rom cjson esp_driver_gpio "bridge_hosted.c" "c6_update.c"
PRIV_REQUIRES littlefs mdns mbedtls lwip w5500) # the simulated rig at /sim/, shared with the host builds
"../sim-controller/components/sim/sim_rig.c" "../sim-controller/components/sim/sim_net.c"
INCLUDE_DIRS "." "../bridge/main"
PRIV_INCLUDE_DIRS "../sim-controller/components/sim"
REQUIRES esp_eth esp_netif esp_event esp_driver_gpio nvs_flash app_update esp_app_format
esp_http_server esp_timer esp_driver_i2s esp_driver_i2c esp_wifi esp_rom cjson
esp_hosted esp_wifi_remote esp_codec_dev esp_partition bootloader_support
PRIV_REQUIRES littlefs mdns mbedtls lwip)
endif() endif()
# The gzipped web UI is embedded in the app image (run tools/build_web.sh first) # The gzipped web UI is embedded in the app image (run tools/build_web.sh first)
@@ -20,3 +27,13 @@ if(NOT EXISTS ${COMPONENT_DIR}/../www_dist/www.pack)
message(FATAL_ERROR "www_dist/www.pack is missing: run tools/build_web.sh (make build does)") message(FATAL_ERROR "www_dist/www.pack is missing: run tools/build_web.sh (make build does)")
endif() endif()
target_add_binary_data(${COMPONENT_LIB} ${COMPONENT_DIR}/../www_dist/www.pack BINARY) target_add_binary_data(${COMPONENT_LIB} ${COMPONENT_DIR}/../www_dist/www.pack BINARY)
# The simulated rig's page and drivers (tools/build_sim_web.sh), served at /sim/. The host build embeds its own
# copy (the sim component). Without it the firmware still builds, and /sim/ says how to build the rig.
if(NOT IDF_TARGET STREQUAL "linux")
set(SIM_PACK ${COMPONENT_DIR}/../www_dist/sim.pack)
if(NOT EXISTS ${SIM_PACK})
file(WRITE ${SIM_PACK} "WWW1")
endif()
target_add_binary_data(${COMPONENT_LIB} ${SIM_PACK} BINARY)
endif()
+69 -62
View File
@@ -1,65 +1,11 @@
menu "W5500 config" menu "Mic config"
config W5500_SPI_HOST
int "SPI host number (1=SPI2, 2=SPI3)"
range 1 2
default 1
config W5500_SPI_CLOCK_MHZ
int "SPI clock speed (MHz)"
range 5 80
default 10
config W5500_SCLK_GPIO
int "SCLK GPIO (XIAO D8)"
default 7
config W5500_MISO_GPIO
int "MISO GPIO (XIAO D9)"
default 8
config W5500_MOSI_GPIO
int "MOSI GPIO (XIAO D10)"
default 9
config W5500_CS_GPIO
int "CS GPIO (XIAO D1)"
default 2
config W5500_INT_GPIO
int "INT GPIO (XIAO D2), -1 to poll"
default 3
config W5500_POLL_PERIOD_MS
int "RX poll period (ms) when INT is -1"
default 10
config W5500_RST_GPIO
int "RST GPIO (XIAO D0), -1 if not wired"
default 1
endmenu
menu "INMP441 mic config"
config MIC_SCK_GPIO
int "SCK GPIO (XIAO D4)"
default 5
config MIC_WS_GPIO
int "WS GPIO (XIAO D5)"
default 6
config MIC_SD_GPIO
int "SD GPIO (XIAO D6)"
default 43
config MIC_STREAM_GAIN config MIC_STREAM_GAIN
int "Digital gain for the audio stream (x)" int "Digital gain for the audio stream (x)"
range 1 256 range 1 256
default 16 default 16
help help
The INMP441 is quiet at full scale; x16 (+24 dB) makes speech The mic is quiet at full scale; x16 (+24 dB) makes speech
audible without clipping at normal distances. audible without clipping at normal distances.
endmenu endmenu
@@ -67,8 +13,8 @@ endmenu
menu "Beat detection config" menu "Beat detection config"
config BEAT_LED_GPIO config BEAT_LED_GPIO
int "Beat LED GPIO (XIAO user LED is 21), -1 for none" int "Beat LED GPIO, -1 for none (the P4-Nano has no user LED)"
default 21 default -1
config BEAT_LED_ACTIVE_LOW config BEAT_LED_ACTIVE_LOW
bool "Beat LED lights when the pin is low" bool "Beat LED lights when the pin is low"
@@ -89,7 +35,7 @@ menu "Beat detection config"
range -100 -20 range -100 -20
default -75 default -75
help help
The INMP441 self-noise is about -87 dBFS. Background music in a An INMP441's self-noise is about -87 dBFS. Background music in a
room can sit around -65 dBFS, so keep this well below that. room can sit around -65 dBFS, so keep this well below that.
config BEAT_LEAD_MS config BEAT_LEAD_MS
@@ -106,8 +52,8 @@ endmenu
menu "AP config" menu "AP config"
config AP_BUTTON_GPIO config AP_BUTTON_GPIO
int "AP button GPIO (XIAO D3), -1 for none" int "AP button GPIO, -1 for none (the P4-Nano has no user button)"
default 4 default -1
help help
Active-low push button to ground (internal pull-up). Held while the controller boots, it turns Active-low push button to ground (internal pull-up). Held while the controller boots, it turns
the Wi-Fi access point on even when the ap_enabled setting is off. the Wi-Fi access point on even when the ap_enabled setting is off.
@@ -141,7 +87,7 @@ menu "ESP-NOW config"
config BEAT_TEST_GPIO config BEAT_TEST_GPIO
int "GPIO toggled on every beat sent (-1 = off)" int "GPIO toggled on every beat sent (-1 = off)"
range -1 48 range -1 54
default -1 default -1
help help
For latency measurement: a logic analyzer or scope on this pin and on For latency measurement: a logic analyzer or scope on this pin and on
@@ -153,3 +99,64 @@ menu "ESP-NOW config"
default 3000 default 3000
endmenu endmenu
menu "ESP32-P4-Nano board"
depends on IDF_TARGET_ESP32P4
config P4_DEFAULT_IP_A
int "Address without DHCP: first byte"
range 0 255
default 192
help
The Nano usually sits on a cable straight to a PC (192.168.50.10), with no DHCP server. After a short
DHCP wait it takes this address, /24, no gateway. Settings "static_ips" still come first.
config P4_DEFAULT_IP_B
int "Address without DHCP: second byte"
range 0 255
default 168
config P4_DEFAULT_IP_C
int "Address without DHCP: third byte"
range 0 255
default 50
config P4_DEFAULT_IP_D
int "Address without DHCP: fourth byte"
range 1 254
default 20
config P4_ETH_MDC_GPIO
int "Ethernet MDC GPIO"
default 31
config P4_ETH_MDIO_GPIO
int "Ethernet MDIO GPIO"
default 52
config P4_ETH_PHY_RST_GPIO
int "IP101 PHY reset GPIO (-1: none)"
range -1 54
default 51
config P4_CODEC_I2C_SDA_GPIO
int "ES8311 I2C SDA GPIO"
default 7
config P4_CODEC_I2C_SCL_GPIO
int "ES8311 I2C SCL GPIO"
default 8
config P4_CODEC_I2C_ADDR
hex "ES8311 I2C address (7-bit)"
default 0x18
config P4_I2S_MCLK_GPIO
int "ES8311 MCLK GPIO"
default 13
config P4_I2S_BCLK_GPIO
int "ES8311 BCLK (SCLK) GPIO"
default 12
config P4_I2S_WS_GPIO
int "ES8311 WS (LRCK) GPIO"
default 10
config P4_I2S_DIN_GPIO
int "ES8311 ADC data into the P4 (ASDOUT) GPIO"
default 11
config P4_MIC_PGA_DB
int "ES8311 microphone gain (dB, 0-30 in 3 dB steps)"
range 0 30
default 24
endmenu
+64 -19
View File
@@ -12,6 +12,9 @@
#include "lwip/sockets.h" #include "lwip/sockets.h"
#include "sdkconfig.h" #include "sdkconfig.h"
#include "bridge_proto.h" #include "bridge_proto.h"
#if CONFIG_IDF_TARGET_ESP32P4
#include "bridge_hosted.h"
#endif
#if CONFIG_IDF_TARGET_LINUX #if CONFIG_IDF_TARGET_LINUX
#include "bridge_dmx.h" #include "bridge_dmx.h"
#include "bridge_serial.h" #include "bridge_serial.h"
@@ -26,8 +29,9 @@ static const char *TAG = "bridge";
typedef struct { typedef struct {
bool used; bool used;
bool serial; // a USB board (bridge_serial), else UDP bool serial; // a USB board (bridge_serial), else UDP
bool browser; // the rig page of the host build (sim_rig.c), over its WebSocket bool browser; // the rig page (sim_rig.c), over its WebSocket
bool dmx; // a DMX bridge "dmx:<id>" (bridge_dmx.c): its fixtures are drivers of their own bool dmx; // a DMX bridge "dmx:<id>" (bridge_dmx.c): its fixtures are drivers of their own
bool c6; // the ESP32-P4-Nano's own C6 radio (bridge_hosted.c), always there on that target
bridge_dmx_t *dmx_b; bridge_dmx_t *dmx_b;
char addr[BRIDGE_ADDR_MAX]; // as the settings store it char addr[BRIDGE_ADDR_MAX]; // as the settings store it
bridge_serial_t *board; // serial: the board (linux) bridge_serial_t *board; // serial: the board (linux)
@@ -78,11 +82,21 @@ static bool is_dmx_addr(const char *addr)
return strncmp(addr, "dmx:", 4) == 0; return strncmp(addr, "dmx:", 4) == 0;
} }
#if CONFIG_IDF_TARGET_LINUX static bool is_c6_addr(const char *addr)
{
return strcmp(addr, "c6") == 0;
}
// The rig page's link (sim-controller/components/sim/sim_rig.c): dst_mac(6) + packet to the page, if it is open // The rig page's link (sim-controller/components/sim/sim_rig.c): dst_mac(6) + packet to the page, if it is open
bool sim_rig_tx(const uint8_t *frame, size_t len); bool sim_rig_tx(const uint8_t *frame, size_t len);
bool sim_rig_page_open(void); bool sim_rig_page_open(void);
#endif
// The MACs the rig gives its bars (MAC_PREFIX in sim_rig.c): no real board has one
static bool is_sim_mac(const uint8_t *mac)
{
static const uint8_t PREFIX[3] = { 0x02, 0x51, 0x4D };
return memcmp(mac, PREFIX, sizeof(PREFIX)) == 0;
}
static int64_t now_ms(void) static int64_t now_ms(void)
{ {
@@ -301,7 +315,19 @@ static esp_err_t activate(const char *addr)
link_t *l = &s_links[slot]; link_t *l = &s_links[slot];
l->browser = false; l->browser = false;
l->dmx = false; l->dmx = false;
if (is_dmx_addr(addr)) { l->c6 = false;
if (is_c6_addr(addr)) {
#if CONFIG_IDF_TARGET_ESP32P4
bridge_hosted_set_rx(deliver);
l->c6 = true;
l->serial = false;
l->sock = -1;
l->ctl = -1;
ESP_LOGI(TAG, "ESP-NOW frames go to the C6 radio");
#else
return ESP_ERR_NOT_SUPPORTED;
#endif
} else if (is_dmx_addr(addr)) {
#if CONFIG_IDF_TARGET_LINUX #if CONFIG_IDF_TARGET_LINUX
if (!addr[4]) { if (!addr[4]) {
return ESP_ERR_INVALID_ARG; return ESP_ERR_INVALID_ARG;
@@ -319,15 +345,11 @@ static esp_err_t activate(const char *addr)
return ESP_ERR_NOT_SUPPORTED; return ESP_ERR_NOT_SUPPORTED;
#endif #endif
} else if (is_browser_addr(addr)) { } else if (is_browser_addr(addr)) {
#if CONFIG_IDF_TARGET_LINUX
l->browser = true; l->browser = true;
l->serial = false; l->serial = false;
l->sock = -1; l->sock = -1;
l->ctl = -1; l->ctl = -1;
ESP_LOGW(TAG, "ESP-NOW frames go to the rig page (/sim/), not the radio"); ESP_LOGI(TAG, "ESP-NOW frames go to the rig page (/sim/)");
#else
return ESP_ERR_NOT_SUPPORTED;
#endif
} else if (is_serial_addr(addr)) { } else if (is_serial_addr(addr)) {
#if CONFIG_IDF_TARGET_LINUX #if CONFIG_IDF_TARGET_LINUX
const char *dev = strncmp(addr, "serial:", 7) == 0 ? addr + 7 : addr; // "usb:<mac>" goes as it is const char *dev = strncmp(addr, "serial:", 7) == 0 ? addr + 7 : addr; // "usb:<mac>" goes as it is
@@ -399,6 +421,7 @@ static void deactivate(int i)
if (s_mic_slot == i) { if (s_mic_slot == i) {
s_mic_slot = -1; s_mic_slot = -1;
} }
l->c6 = false;
l->used = false; l->used = false;
} }
@@ -421,11 +444,24 @@ esp_err_t bridge_set_all(const char addrs[][BRIDGE_ADDR_MAX], size_t n, bridge_r
} }
xSemaphoreTake(s_lock, portMAX_DELAY); xSemaphoreTake(s_lock, portMAX_DELAY);
s_cb = cb; s_cb = cb;
#if CONFIG_IDF_TARGET_ESP32P4
// The board's own radio is always one of them, whatever the saved list says
if (find_link(BRIDGE_HOSTED_ADDR) < 0) {
activate(BRIDGE_HOSTED_ADDR);
}
// So is the rig page (/sim/), which only gets frames while it is open
if (find_link(BRIDGE_BROWSER) < 0) {
activate(BRIDGE_BROWSER);
}
#endif
for (int i = 0; i < BRIDGE_MAX_LINKS; i++) { for (int i = 0; i < BRIDGE_MAX_LINKS; i++) {
if (!s_links[i].used) { if (!s_links[i].used) {
continue; continue;
} }
bool wanted = false; bool wanted = s_links[i].c6;
#if CONFIG_IDF_TARGET_ESP32P4
wanted = wanted || s_links[i].browser;
#endif
for (size_t j = 0; j < n; j++) { for (size_t j = 0; j < n; j++) {
wanted = wanted || strcmp(s_links[i].addr, addrs[j]) == 0; wanted = wanted || strcmp(s_links[i].addr, addrs[j]) == 0;
} }
@@ -494,17 +530,22 @@ esp_err_t bridge_send(const uint8_t *dst_mac, const void *data, size_t len)
continue; continue;
} }
any = true; any = true;
if (l->dmx) { if (l->c6) {
#if CONFIG_IDF_TARGET_ESP32P4
// A simulated bar is not on the air: no airtime for frames nothing will acknowledge
if (!is_sim_mac(dst_mac) && bridge_hosted_send(dst_mac, data, len) == ESP_OK) {
l->tx++;
}
#endif
} else if (l->dmx) {
#if CONFIG_IDF_TARGET_LINUX #if CONFIG_IDF_TARGET_LINUX
bridge_dmx_send(l->dmx_b, dst_mac, data, len); bridge_dmx_send(l->dmx_b, dst_mac, data, len);
l->tx++; l->tx++;
#endif #endif
} else if (l->browser) { } else if (l->browser) {
#if CONFIG_IDF_TARGET_LINUX
if (sim_rig_tx(buf, 6 + len)) { // no page open: the frame is lost, as on air if (sim_rig_tx(buf, 6 + len)) { // no page open: the frame is lost, as on air
l->tx++; l->tx++;
} }
#endif
} else if (l->serial) { } else if (l->serial) {
#if CONFIG_IDF_TARGET_LINUX #if CONFIG_IDF_TARGET_LINUX
bridge_serial_send(l->board, dst_mac, data, len); // a closed port loses the frame, as on air bridge_serial_send(l->board, dst_mac, data, len); // a closed port loses the frame, as on air
@@ -533,19 +574,21 @@ size_t bridge_status_json(char *out, size_t n)
continue; continue;
} }
char body[400]; char body[400];
if (l->dmx) { if (l->c6) {
#if CONFIG_IDF_TARGET_ESP32P4
bridge_hosted_status(body, sizeof(body));
#else
snprintf(body, sizeof(body), "{}");
#endif
} else if (l->dmx) {
#if CONFIG_IDF_TARGET_LINUX #if CONFIG_IDF_TARGET_LINUX
bridge_dmx_status(l->dmx_b, body, sizeof(body)); bridge_dmx_status(l->dmx_b, body, sizeof(body));
#else #else
snprintf(body, sizeof(body), "{}"); snprintf(body, sizeof(body), "{}");
#endif #endif
} else if (l->browser) { } else if (l->browser) {
#if CONFIG_IDF_TARGET_LINUX
snprintf(body, sizeof(body), "{\"page\":%s,\"tx\":%lu,\"rx\":%lu}", snprintf(body, sizeof(body), "{\"page\":%s,\"tx\":%lu,\"rx\":%lu}",
sim_rig_page_open() ? "true" : "false", (unsigned long)l->tx, (unsigned long)l->rx); sim_rig_page_open() ? "true" : "false", (unsigned long)l->tx, (unsigned long)l->rx);
#else
snprintf(body, sizeof(body), "{}");
#endif
} else if (l->serial) { } else if (l->serial) {
#if CONFIG_IDF_TARGET_LINUX #if CONFIG_IDF_TARGET_LINUX
bridge_serial_status(l->board, body, sizeof(body)); bridge_serial_status(l->board, body, sizeof(body));
@@ -565,7 +608,7 @@ size_t bridge_status_json(char *out, size_t n)
(unsigned long)l->tx, (unsigned long)l->rx, (unsigned long)l->audio); (unsigned long)l->tx, (unsigned long)l->rx, (unsigned long)l->audio);
} }
int w = snprintf(out + used, n - used, "%s{\"addr\":\"%s\",\"kind\":\"%s\",\"status\":%s}", int w = snprintf(out + used, n - used, "%s{\"addr\":\"%s\",\"kind\":\"%s\",\"status\":%s}",
first ? "" : ",", l->addr, l->dmx ? "dmx" : l->browser ? "browser" : (l->serial ? "serial" : "udp"), body); first ? "" : ",", l->addr, l->c6 ? "c6" : l->dmx ? "dmx" : l->browser ? "browser" : (l->serial ? "serial" : "udp"), body);
if (w < 0 || (size_t)w >= n - used) { if (w < 0 || (size_t)w >= n - used) {
break; break;
} }
@@ -600,6 +643,8 @@ esp_err_t bridge_board_set_channel(const char *addr, uint8_t channel)
esp_err_t err = (i >= 0 && s_links[i].serial) ? bridge_serial_set_channel(s_links[i].board, channel) : ESP_ERR_NOT_FOUND; esp_err_t err = (i >= 0 && s_links[i].serial) ? bridge_serial_set_channel(s_links[i].board, channel) : ESP_ERR_NOT_FOUND;
xSemaphoreGive(s_lock); xSemaphoreGive(s_lock);
return err; return err;
#elif CONFIG_IDF_TARGET_ESP32P4
return is_c6_addr(addr) ? bridge_hosted_set_channel(channel) : ESP_ERR_NOT_FOUND;
#else #else
(void)addr; (void)addr;
(void)channel; (void)channel;
+5 -3
View File
@@ -10,8 +10,10 @@
// once it answers; the list is saved again then (bridge_set_renamed_cb). // once it answers; the list is saved again then (bridge_set_renamed_cb).
// "dmx:<id>" a DMX bridge (bridge_dmx.h, linux only): the "dmx_bridge" record id's fixtures, each a // "dmx:<id>" a DMX bridge (bridge_dmx.h, linux only): the "dmx_bridge" record id's fixtures, each a
// led-driver of its own, sent as Art-Net, sACN or USB-DMX at 40 Hz. // led-driver of its own, sent as Art-Net, sACN or USB-DMX at 40 Hz.
// "browser" the rig page the host build serves at /sim/ (linux target only): the simulated drivers // "browser" the rig page at /sim/: the simulated drivers run in the browser and get the frames over the
// run in the browser and get the frames over the page's WebSocket (sim_rig.c). // page's WebSocket (sim_rig.c). Always running on esp32p4, whatever the list says.
// "c6" the ESP32-P4-Nano's own C6 radio (bridge_hosted.h, esp32p4 only). Always running on
// that target, whatever the list says: the P4 has no ESP-NOW of its own.
// While one runs, nothing goes out over the air. // While one runs, nothing goes out over the air.
#include <stdbool.h> #include <stdbool.h>
@@ -36,7 +38,7 @@ esp_err_t bridge_set_all(const char addrs[][BRIDGE_ADDR_MAX], size_t n, bridge_r
// Called when a bridge's address changed by itself (a USB board became "usb:<mac>"): save the list // Called when a bridge's address changed by itself (a USB board became "usb:<mac>"): save the list
void bridge_set_renamed_cb(void (*cb)(void)); void bridge_set_renamed_cb(void (*cb)(void));
bool bridge_active(void); bool bridge_active(void);
// A frame the rig page's drivers sent: src_mac(6) + packet (linux; sim_rig.c). Dropped unless "browser" runs. // A frame the rig page's drivers sent: src_mac(6) + packet (sim_rig.c). Dropped unless "browser" runs.
void bridge_browser_rx(const uint8_t *frame, int len); void bridge_browser_rx(const uint8_t *frame, int len);
// The driver with this MAC was heard on the browser bridge since start: a simulated driver of the rig page // The driver with this MAC was heard on the browser bridge since start: a simulated driver of the rig page
bool bridge_mac_is_browser(const uint8_t mac[6]); bool bridge_mac_is_browser(const uint8_t mac[6]);
+389
View File
@@ -0,0 +1,389 @@
// The ESP32-P4-Nano's C6 as the controller's ESP-NOW radio, and the UDP bridge service on top of it.
// See bridge_hosted.h and bridge/main/radio_proto.h.
#include "sdkconfig.h"
#if CONFIG_IDF_TARGET_ESP32P4
#include "bridge_hosted.h"
#include <stdio.h>
#include <string.h>
#include "eh_host_feat_peer_data.h"
#include "esp_hosted.h"
#include "esp_log.h"
#include "esp_mac.h"
#include "esp_netif.h"
#include "esp_timer.h"
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "freertos/semphr.h"
#include "freertos/task.h"
#include "lwip/sockets.h"
#include "bridge_proto.h"
#include "c6_update.h"
#include "mic.h"
#include "radio_proto.h"
static const char *TAG = "bridge_c6";
#define TXQ_LEN 64
#define DESKTOP_HOLD_MS 2000 // the desktop owns the radio until it has been quiet this long
#define INFO_TIMEOUT_MS 3000
#define MIC_UDP_TIMEOUT_MS 2000
typedef struct {
uint8_t mac[6];
uint8_t len;
uint8_t data[BRIDGE_PKT_MAX];
} pkt_t;
static QueueHandle_t s_txq;
static bridge_rx_cb_t s_rx_cb;
static bool s_started;
// The C6's last INFO
static SemaphoreHandle_t s_lock;
static uint8_t s_info[BRIDGE_INFO_LEN];
static int64_t s_info_ms = -1;
static uint32_t s_tx_msgs, s_tx_frames, s_rx_frames, s_tx_drop, s_own_dropped;
// The UDP service: the desktop that last sent a frame, and the one asking for microphone audio
static int s_udp = -1, s_ctl = -1;
static struct sockaddr_in s_desk;
static volatile int64_t s_desk_ms = -1;
static struct sockaddr_in s_mic_peer;
static volatile int64_t s_mic_ms = -1;
static bool s_desk_logged;
static int64_t now_ms(void)
{
return esp_timer_get_time() / 1000;
}
static bool desktop_active(void)
{
int64_t t = s_desk_ms;
return t >= 0 && now_ms() - t < DESKTOP_HOLD_MS;
}
/* ---- the C6 ------------------------------------------------------------------------------------- */
static void on_rx(uint32_t id, const uint8_t *data, size_t len, void *ctx)
{
(void)id;
(void)ctx;
bool desk = desktop_active();
uint8_t up[6 + BRIDGE_PKT_MAX];
size_t off = 0;
while (off + RADIO_ENTRY_HDR <= len) {
uint8_t n = data[off + 6];
if (n == 0 || n > BRIDGE_PKT_MAX || off + RADIO_ENTRY_HDR + n > len) {
break;
}
const uint8_t *mac = data + off;
const uint8_t *pkt = data + off + RADIO_ENTRY_HDR;
s_rx_frames++;
if (s_rx_cb) {
s_rx_cb(mac, pkt, n);
}
if (desk && s_udp >= 0) {
memcpy(up, mac, 6);
memcpy(up + 6, pkt, n);
sendto(s_udp, up, 6 + n, 0, (const struct sockaddr *)&s_desk, sizeof(s_desk));
}
off += RADIO_ENTRY_HDR + n;
}
}
static void on_info(uint32_t id, const uint8_t *data, size_t len, void *ctx)
{
(void)id;
(void)ctx;
if (len < 24 || data[0] != BRIDGE_PROTO_VERSION) {
return;
}
xSemaphoreTake(s_lock, portMAX_DELAY);
memset(s_info, 0, sizeof(s_info));
memcpy(s_info, data, len < sizeof(s_info) ? len : sizeof(s_info));
s_info_ms = now_ms();
xSemaphoreGive(s_lock);
}
static void ctl_send(uint8_t type, const uint8_t *body, size_t n)
{
uint8_t m[8];
m[0] = type;
if (n) {
memcpy(m + 1, body, n);
}
eh_host_peer_data_send(RADIO_MSG_CTL, m, 1 + n);
}
// Packs every queued frame into one peer-data message: each costs an SDIO round trip
static void tx_task(void *arg)
{
(void)arg;
static uint8_t batch[RADIO_BATCH_MAX];
pkt_t p;
for (;;) {
xQueueReceive(s_txq, &p, portMAX_DELAY);
size_t n = 0, frames = 0;
do {
memcpy(batch + n, p.mac, 6);
batch[n + 6] = p.len;
memcpy(batch + n + RADIO_ENTRY_HDR, p.data, p.len);
n += RADIO_ENTRY_HDR + p.len;
frames++;
} while (n + RADIO_ENTRY_HDR + BRIDGE_PKT_MAX <= sizeof(batch) && xQueueReceive(s_txq, &p, 0) == pdTRUE);
if (eh_host_peer_data_send(RADIO_MSG_TX, batch, n) == ESP_OK) {
s_tx_msgs++;
s_tx_frames += frames;
} else {
s_tx_drop += frames;
}
}
}
static esp_err_t queue_frame(const uint8_t *dst, const void *data, size_t len)
{
if (!s_started) {
return ESP_ERR_INVALID_STATE;
}
if (len == 0 || len > BRIDGE_PKT_MAX) {
return ESP_ERR_INVALID_SIZE;
}
pkt_t p;
memcpy(p.mac, dst, 6);
p.len = (uint8_t)len;
memcpy(p.data, data, len);
if (xQueueSend(s_txq, &p, 0) != pdTRUE) {
s_tx_drop++;
return ESP_ERR_NO_MEM;
}
return ESP_OK;
}
esp_err_t bridge_hosted_send(const uint8_t *dst_mac, const void *data, size_t len)
{
if (desktop_active()) {
s_own_dropped++;
return ESP_OK; // the desktop has the radio: lost, as if on air
}
return queue_frame(dst_mac, data, len);
}
esp_err_t bridge_hosted_set_channel(uint8_t channel)
{
if (!s_started || channel < 1 || channel > 13) {
return ESP_ERR_INVALID_ARG;
}
ctl_send(BRIDGE_MSG_SET_CHANNEL, &channel, 1);
return ESP_OK;
}
void bridge_hosted_set_rx(bridge_rx_cb_t cb)
{
s_rx_cb = cb;
}
// HELLO every second keeps the INFO fresh; the desktop hand-over is logged here, once each way
static void keepalive_task(void *arg)
{
(void)arg;
for (;;) {
ctl_send(BRIDGE_MSG_HELLO, NULL, 0);
bool desk = desktop_active();
if (desk != s_desk_logged) {
s_desk_logged = desk;
if (desk) {
ESP_LOGW(TAG, "desktop " IPSTR " uses the radio: this controller's frames pause",
IP2STR((esp_ip4_addr_t *)&s_desk.sin_addr.s_addr));
} else {
ESP_LOGI(TAG, "desktop gone quiet: this controller has the radio again");
}
}
vTaskDelay(pdMS_TO_TICKS(1000));
}
}
size_t bridge_hosted_status(char *out, size_t n)
{
uint8_t info[BRIDGE_INFO_LEN];
int64_t seen;
xSemaphoreTake(s_lock, portMAX_DELAY);
memcpy(info, s_info, sizeof(info));
seen = s_info_ms;
xSemaphoreGive(s_lock);
bool linked = seen >= 0 && now_ms() - seen < INFO_TIMEOUT_MS;
uint32_t c6_tx = info[8] | info[9] << 8 | info[10] << 16 | (uint32_t)info[11] << 24;
uint32_t c6_fail = info[12] | info[13] << 8 | info[14] << 16 | (uint32_t)info[15] << 24;
uint32_t c6_rx = info[16] | info[17] << 8 | info[18] << 16 | (uint32_t)info[19] << 24;
uint32_t c6_drop = info[20] | info[21] << 8 | info[22] << 16 | (uint32_t)info[23] << 24;
char desk[24] = "null";
if (desktop_active()) {
snprintf(desk, sizeof(desk), "\"" IPSTR "\"", IP2STR((esp_ip4_addr_t *)&s_desk.sin_addr.s_addr));
}
return (size_t)snprintf(out, n,
"{\"port\":null,\"linked\":%s,\"mac\":\"%02x:%02x:%02x:%02x:%02x:%02x\",\"channel\":%u,\"mic\":false,"
"\"ip\":null,\"tx\":%lu,\"rx\":%lu,\"tx_fail\":%lu,\"drop\":%lu,\"sdio_msgs\":%lu,\"sdio_drop\":%lu,"
"\"paused\":%lu,\"desktop\":%s}",
linked ? "true" : "false", info[1], info[2], info[3], info[4], info[5], info[6], (unsigned)info[7],
(unsigned long)c6_tx, (unsigned long)c6_rx, (unsigned long)c6_fail, (unsigned long)c6_drop,
(unsigned long)s_tx_msgs, (unsigned long)s_tx_drop, (unsigned long)s_own_dropped, desk);
}
esp_err_t bridge_hosted_start(void)
{
if (s_started) {
return ESP_OK;
}
s_lock = xSemaphoreCreateMutex();
s_txq = xQueueCreate(TXQ_LEN, sizeof(pkt_t));
if (!s_lock || !s_txq) {
return ESP_ERR_NO_MEM;
}
int rc = esp_hosted_connect_to_slave();
if (rc != 0) {
ESP_LOGE(TAG, "C6 not reachable over SDIO (%d): no ESP-NOW and no Wi-Fi", rc);
return ESP_FAIL;
}
c6_update_if_needed(); // restarts the board if it updated the C6
if (eh_host_peer_data_register(RADIO_MSG_RX, on_rx, NULL) != ESP_OK ||
eh_host_peer_data_register(RADIO_MSG_INFO, on_info, NULL) != ESP_OK) {
ESP_LOGE(TAG, "peer data handlers not registered");
return ESP_FAIL;
}
s_started = true;
xTaskCreate(tx_task, "c6_tx", 4096, NULL, 6, NULL);
xTaskCreate(keepalive_task, "c6_keep", 3072, NULL, 4, NULL);
ESP_LOGI(TAG, "C6 radio link up");
return ESP_OK;
}
/* ---- the UDP bridge service for a desktop ---------------------------------------------------------- */
static void build_udp_info(uint8_t *b)
{
xSemaphoreTake(s_lock, portMAX_DELAY);
memcpy(b, s_info, BRIDGE_INFO_LEN);
xSemaphoreGive(s_lock);
b[0] = BRIDGE_PROTO_VERSION;
b[24] = BRIDGE_CAP_MIC;
memset(b + 25, 0, 4);
esp_netif_t *eth = esp_netif_get_handle_from_ifkey("ETH_DEF");
esp_netif_ip_info_t ip;
if (eth && esp_netif_get_ip_info(eth, &ip) == ESP_OK && ip.ip.addr) {
b[24] |= BRIDGE_CAP_ETH;
memcpy(b + 25, &ip.ip.addr, 4); // network order: a.b.c.d
}
}
static void udp_task(void *arg)
{
(void)arg;
uint8_t buf[6 + BRIDGE_PKT_MAX];
for (;;) {
struct sockaddr_in from;
socklen_t fl = sizeof(from);
int n = recvfrom(s_udp, buf, sizeof(buf), 0, (struct sockaddr *)&from, &fl);
if (n <= 6) {
if (n < 0) {
vTaskDelay(pdMS_TO_TICKS(10));
}
continue;
}
s_desk = from;
s_desk_ms = now_ms();
queue_frame(buf, buf + 6, (size_t)(n - 6));
}
}
// The microphone to a desktop that asked for it (SET_MIC 1, repeated while it records)
static void mic_udp_task(void *arg)
{
(void)arg;
uint8_t out[1 + BRIDGE_AUDIO_BYTES];
out[0] = BRIDGE_MSG_AUDIO;
bool open = false;
for (;;) {
int64_t t = s_mic_ms;
bool want = t >= 0 && now_ms() - t < MIC_UDP_TIMEOUT_MS;
if (want && !open) {
open = mic_stream_open() == ESP_OK; // busy while the web UI streams: try again later
} else if (!want && open) {
mic_stream_close();
open = false;
}
if (!open) {
vTaskDelay(pdMS_TO_TICKS(100));
continue;
}
size_t got = 0;
while (got < BRIDGE_AUDIO_BYTES) {
size_t r = mic_stream_read(out + 1 + got, BRIDGE_AUDIO_BYTES - got, pdMS_TO_TICKS(100));
if (r == 0) {
break;
}
got += r;
}
if (got == BRIDGE_AUDIO_BYTES) {
sendto(s_ctl, out, sizeof(out), 0, (const struct sockaddr *)&s_mic_peer, sizeof(s_mic_peer));
}
}
}
static void ctl_task(void *arg)
{
(void)arg;
uint8_t buf[32];
for (;;) {
struct sockaddr_in from;
socklen_t fl = sizeof(from);
int n = recvfrom(s_ctl, buf, sizeof(buf), 0, (struct sockaddr *)&from, &fl);
if (n < 1) {
vTaskDelay(pdMS_TO_TICKS(10));
continue;
}
if (buf[0] == BRIDGE_MSG_HELLO) {
uint8_t out[1 + BRIDGE_INFO_LEN];
out[0] = BRIDGE_MSG_INFO;
build_udp_info(out + 1);
sendto(s_ctl, out, sizeof(out), 0, (struct sockaddr *)&from, fl);
} else if (buf[0] == BRIDGE_MSG_SET_MIC && n >= 2) {
s_mic_peer = from;
s_mic_ms = buf[1] ? now_ms() : -1;
} else if (buf[0] == BRIDGE_MSG_SET_CHANNEL && n >= 2) {
bridge_hosted_set_channel(buf[1]);
}
}
}
static int udp_bind(int port)
{
int s = socket(AF_INET, SOCK_DGRAM, 0);
struct sockaddr_in a = { .sin_family = AF_INET, .sin_port = htons(port), .sin_addr.s_addr = htonl(INADDR_ANY) };
if (s < 0 || bind(s, (struct sockaddr *)&a, sizeof(a)) != 0) {
ESP_LOGE(TAG, "UDP port %d not open", port);
if (s >= 0) {
close(s);
}
return -1;
}
return s;
}
void bridge_hosted_udp_start(void)
{
if (s_udp >= 0 || !s_started) {
return;
}
s_udp = udp_bind(BRIDGE_DEFAULT_PORT);
s_ctl = udp_bind(BRIDGE_DEFAULT_PORT + 1);
if (s_udp < 0 || s_ctl < 0) {
return;
}
xTaskCreate(udp_task, "c6_udp", 4096, NULL, 5, NULL);
xTaskCreate(ctl_task, "c6_udp_ctl", 4096, NULL, 5, NULL);
xTaskCreate(mic_udp_task, "c6_udp_mic", 3072, NULL, 5, NULL);
ESP_LOGI(TAG, "network bridge on UDP %d (control %d) for a desktop led-controller", BRIDGE_DEFAULT_PORT,
BRIDGE_DEFAULT_PORT + 1);
}
#endif // CONFIG_IDF_TARGET_ESP32P4
+30
View File
@@ -0,0 +1,30 @@
#pragma once
// ESP32-P4 only: the ESP32-C6 on the board as the controller's radio. The C6 runs radio-c6/ (esp-hosted plus
// ESP-NOW) and the two talk over esp-hosted peer data (bridge/main/radio_proto.h). bridge.c runs it as the
// bridge "c6", always there on this target, so every ESP-NOW frame goes the bridge way.
//
// The P4 also answers the network bridge protocol on UDP BRIDGE_DEFAULT_PORT (and the control port above it),
// like a bridge board with Ethernet, so a desktop led-controller can use this radio. While a desktop is
// sending, the controller's own frames are dropped, so the drivers hear one controller.
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "esp_err.h"
#include "bridge.h"
#define BRIDGE_HOSTED_ADDR "c6"
// Connect to the C6 and start the link (call once, before espnow_tx_init). Brings the C6 up to the firmware in
// the slave_fw partition first; that restarts the board when it updates.
esp_err_t bridge_hosted_start(void);
// Frames heard by the C6 go to cb (bridge.c's deliver)
void bridge_hosted_set_rx(bridge_rx_cb_t cb);
// The controller's frames: dropped while a desktop uses the radio
esp_err_t bridge_hosted_send(const uint8_t *dst_mac, const void *data, size_t len);
esp_err_t bridge_hosted_set_channel(uint8_t channel);
// JSON object for the bridge status: linked, MAC, channel, counters, desktop
size_t bridge_hosted_status(char *out, size_t n);
// Open the UDP bridge service (once the network is up; safe to call again)
void bridge_hosted_udp_start(void);
+150
View File
@@ -0,0 +1,150 @@
#include "sdkconfig.h"
#if CONFIG_IDF_TARGET_ESP32P4
#include "c6_update.h"
#include <string.h>
#include "esp_app_desc.h"
#include "esp_hosted.h"
#include "esp_hosted_ota.h"
#include "esp_image_format.h"
#include "esp_log.h"
#include "esp_partition.h"
#include "esp_system.h"
#include "nvs.h"
#include "eh_host_feat_peer_data.h"
#include "freertos/semphr.h"
#include "radio_proto.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
static const char *TAG = "c6_update";
#define SLAVE_FW_SUBTYPE 0x40
#define CHUNK 1400
// Size of an app image: header, segments, checksum padded to 16, optional SHA-256. 0 if it is not one.
static uint32_t image_size(const esp_partition_t *p)
{
esp_image_header_t h;
if (esp_partition_read(p, 0, &h, sizeof h) != ESP_OK || h.magic != ESP_IMAGE_HEADER_MAGIC) {
return 0;
}
uint32_t off = sizeof h;
for (int i = 0; i < h.segment_count; i++) {
esp_image_segment_header_t s;
if (esp_partition_read(p, off, &s, sizeof s) != ESP_OK || s.data_len > p->size) {
return 0;
}
off += sizeof s + s.data_len;
}
off = (off + 1 + 15) & ~15u; // the checksum byte, padded to 16
if (h.hash_appended) {
off += 32;
}
return off <= p->size ? off : 0;
}
static char s_cur[32];
static SemaphoreHandle_t s_got;
static void on_version(uint32_t id, const uint8_t *data, size_t len, void *ctx)
{
(void)id;
(void)ctx;
size_t n = len < sizeof(s_cur) - 1 ? len : sizeof(s_cur) - 1;
memcpy(s_cur, data, n);
s_cur[n] = 0;
xSemaphoreGive(s_got);
}
// The version radio-c6 reports over peer data; false if the C6 does not answer (it runs something else)
static bool c6_version(char *out, size_t n)
{
s_got = xSemaphoreCreateBinary();
if (!s_got || eh_host_peer_data_register(RADIO_MSG_VERSION, on_version, NULL) != ESP_OK) {
return false;
}
uint8_t ask = RADIO_CTL_VERSION;
bool ok = false;
for (int i = 0; i < 3 && !ok; i++) { // an unregistered msg id on the C6 is simply dropped
eh_host_peer_data_send(RADIO_MSG_CTL, &ask, 1);
ok = xSemaphoreTake(s_got, pdMS_TO_TICKS(500)) == pdTRUE;
}
if (ok) {
strlcpy(out, s_cur, n);
}
return ok;
}
void c6_update_if_needed(void)
{
const esp_partition_t *p = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, SLAVE_FW_SUBTYPE, "slave_fw");
if (!p) {
ESP_LOGW(TAG, "no slave_fw partition: the C6 keeps its firmware");
return;
}
uint32_t size = image_size(p);
esp_app_desc_t img;
if (!size || esp_partition_read(p, sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t), &img,
sizeof img) != ESP_OK || img.magic_word != ESP_APP_DESC_MAGIC_WORD) {
ESP_LOGW(TAG, "slave_fw holds no C6 image (make flash writes it): the C6 keeps its firmware");
return;
}
char cur[32] = "";
bool known = c6_version(cur, sizeof(cur));
if (known && strncmp(cur, img.version, sizeof(cur)) == 0) {
ESP_LOGI(TAG, "C6 runs %s, as in slave_fw", cur);
return;
}
// One try per image: if the C6 still runs something else after it, say so and carry on rather than loop
nvs_handle_t nv;
char tried[32] = "";
size_t tl = sizeof(tried);
if (nvs_open("c6_update", NVS_READWRITE, &nv) != ESP_OK) {
return;
}
if (nvs_get_str(nv, "tried", tried, &tl) == ESP_OK && strncmp(tried, img.version, sizeof(tried)) == 0) {
ESP_LOGE(TAG, "C6 runs '%.32s' though '%.32s' was sent to it already: not trying again (erase NVS key "
"c6_update/tried to retry)", known ? cur : "not radio-c6", img.version);
nvs_close(nv);
return;
}
nvs_set_str(nv, "tried", img.version);
nvs_commit(nv);
nvs_close(nv);
ESP_LOGW(TAG, "C6 runs '%.32s', slave_fw has '%.32s' (%u bytes): updating the C6",
known ? cur : "not radio-c6", img.version, (unsigned)size);
esp_err_t r = esp_hosted_cp_ota_begin();
if (r != ESP_OK) {
ESP_LOGE(TAG, "C6 OTA begin failed (%s): it keeps its firmware", esp_err_to_name(r));
return;
}
static uint8_t buf[CHUNK];
for (uint32_t off = 0; off < size;) {
uint32_t n = size - off > CHUNK ? CHUNK : size - off;
if (esp_partition_read(p, off, buf, n) != ESP_OK || esp_hosted_cp_ota_write(buf, n) != ESP_OK) {
ESP_LOGE(TAG, "C6 OTA write failed at %u: it keeps its firmware", (unsigned)off);
esp_hosted_cp_ota_end();
return;
}
off += n;
if ((off / CHUNK) % 200 == 0 || off == size) {
ESP_LOGI(TAG, "sent %u / %u bytes", (unsigned)off, (unsigned)size);
}
}
r = esp_hosted_cp_ota_end();
if (r != ESP_OK) {
ESP_LOGE(TAG, "C6 OTA end failed (%s, image rejected?): it keeps its firmware", esp_err_to_name(r));
return;
}
r = esp_hosted_cp_ota_activate();
if (r != ESP_OK) {
ESP_LOGE(TAG, "C6 OTA activate failed (%s): it keeps its firmware", esp_err_to_name(r));
return;
}
ESP_LOGW(TAG, "C6 updated: restarting the board");
vTaskDelay(pdMS_TO_TICKS(2000)); // the C6 restarts itself into the new image too
esp_restart();
}
#endif // CONFIG_IDF_TARGET_ESP32P4
+6
View File
@@ -0,0 +1,6 @@
#pragma once
// ESP32-P4 only: bring the C6 co-processor up to the radio-c6 image in the "slave_fw" partition (written by
// make flash). Compares the version the C6 reports with the image's; on a difference it sends the image over
// esp-hosted OTA and restarts the board, which resets the C6 into it. Call after esp_hosted_connect_to_slave.
void c6_update_if_needed(void);
+1 -1
View File
@@ -498,7 +498,7 @@ static esp_err_t emit_zone(const char *zone_id, const uint8_t *frame, size_t len
int n = engine_zone_targets(zone_id, t, ZONE_TARGETS_MAX); int n = engine_zone_targets(zone_id, t, ZONE_TARGETS_MAX);
esp_err_t ret = n < 0 ? ESP_ERR_NOT_FOUND : ESP_OK; esp_err_t ret = n < 0 ? ESP_ERR_NOT_FOUND : ESP_OK;
for (int i = 0; i < n; i++) { for (int i = 0; i < n; i++) {
snprintf(s_gid, sizeof(s_gid), "%s", t[i]); strlcpy(s_gid, t[i], sizeof(s_gid));
esp_err_t e = emit_c(NULL, frame, len, FRAME_REPEAT, commit); esp_err_t e = emit_c(NULL, frame, len, FRAME_REPEAT, commit);
if (e != ESP_OK) { if (e != ESP_OK) {
ret = e; ret = e;
+13 -87
View File
@@ -12,7 +12,6 @@
#include "bridge.h" #include "bridge.h"
#if !CONFIG_IDF_TARGET_LINUX #if !CONFIG_IDF_TARGET_LINUX
#include "esp_netif.h" #include "esp_netif.h"
#include "esp_now.h"
#include "esp_wifi.h" #include "esp_wifi.h"
#include "esp_mac.h" #include "esp_mac.h"
#include "esp_wifi_ap_get_sta_list.h" #include "esp_wifi_ap_get_sta_list.h"
@@ -37,16 +36,11 @@ typedef struct {
} bulk_t; } bulk_t;
static QueueHandle_t s_bulk_q; static QueueHandle_t s_bulk_q;
static SemaphoreHandle_t s_bulk_done;
static volatile bool s_bulk_ok;
static volatile bool s_bulk_inflight;
static volatile int64_t s_last_beat_us; static volatile int64_t s_last_beat_us;
static esp_timer_handle_t s_copy_timer; static esp_timer_handle_t s_copy_timer;
static beat_frame_t s_pending; static beat_frame_t s_pending;
static int s_copies_left; static int s_copies_left;
static uint16_t s_beat_idx; static uint16_t s_beat_idx;
static uint8_t s_cur_peer[6];
static bool s_have_peer;
static espnow_stats_t s_stats; static espnow_stats_t s_stats;
static volatile int s_loss_pct; static volatile int s_loss_pct;
static volatile bool s_loss_beats = true; static volatile bool s_loss_beats = true;
@@ -63,17 +57,10 @@ void espnow_tx_set_bridges(const char addrs[][BRIDGE_ADDR_MAX], size_t n)
s_nbridges = n; s_nbridges = n;
} }
// One frame onto the air, or to the UDP bridge while one is set // One frame to the bridges: the P4 has no radio of its own, so even its C6 is one (bridge "c6")
static esp_err_t radio_send(const uint8_t *dst, const void *data, size_t len) static esp_err_t radio_send(const uint8_t *dst, const void *data, size_t len)
{ {
if (bridge_active()) { return bridge_active() ? bridge_send(dst, data, len) : ESP_ERR_INVALID_STATE;
return bridge_send(dst, data, len);
}
#if CONFIG_IDF_TARGET_LINUX
return ESP_ERR_NOT_SUPPORTED;
#else
return esp_now_send(dst, data, len);
#endif
} }
bool espnow_tx_drop(void) bool espnow_tx_drop(void)
@@ -95,26 +82,6 @@ int espnow_tx_loss(bool *include_beats)
return s_loss_pct; return s_loss_pct;
} }
#if !CONFIG_IDF_TARGET_LINUX
static void IRAM_ATTR send_cb(const esp_now_send_info_t *info, esp_now_send_status_t status)
{
(void)info;
if (s_bulk_inflight) {
s_bulk_ok = status == ESP_NOW_SEND_SUCCESS;
BaseType_t woken = pdFALSE;
xSemaphoreGiveFromISR(s_bulk_done, &woken);
portYIELD_FROM_ISR(woken);
}
}
static void recv_cb(const esp_now_recv_info_t *info, const uint8_t *data, int len)
{
if (s_rx_cb) {
s_rx_cb(info->src_addr, data, len);
}
}
#endif
static void bridge_rx(const uint8_t *src, const uint8_t *data, int len) static void bridge_rx(const uint8_t *src, const uint8_t *data, int len)
{ {
if (s_rx_cb) { if (s_rx_cb) {
@@ -185,32 +152,6 @@ static void on_beat(const beat_info_t *info, float bpm, bool downbeat)
espnow_tx_beat(bpm, downbeat, info->bar_sure ? info->bar_beat : 0); espnow_tx_beat(bpm, downbeat, info->bar_sure ? info->bar_beat : 0);
} }
static esp_err_t select_peer(const uint8_t *mac)
{
if (bridge_active()) {
return ESP_OK; // no peer table behind the bridge
}
#if CONFIG_IDF_TARGET_LINUX
return ESP_ERR_NOT_SUPPORTED;
#else
if (s_have_peer && memcmp(s_cur_peer, mac, 6) == 0) {
return ESP_OK;
}
// ESP-NOW holds 20 peers and there can be more drivers, so keep one
// rotating unicast peer plus the broadcast peer.
if (s_have_peer) {
esp_now_del_peer(s_cur_peer);
s_have_peer = false;
}
esp_now_peer_info_t p = { .channel = 0, .ifidx = WIFI_IF_STA, .encrypt = false };
memcpy(p.peer_addr, mac, 6);
ESP_RETURN_ON_ERROR(esp_now_add_peer(&p), TAG, "add peer");
memcpy(s_cur_peer, mac, 6);
s_have_peer = true;
return ESP_OK;
#endif
}
static void bulk_task(void *arg) static void bulk_task(void *arg)
{ {
bulk_t b; bulk_t b;
@@ -224,10 +165,6 @@ static void bulk_task(void *arg)
} }
const uint8_t *dst = b.broadcast ? BROADCAST : b.mac; const uint8_t *dst = b.broadcast ? BROADCAST : b.mac;
if (!b.broadcast && select_peer(b.mac) != ESP_OK) {
s_stats.bulk_failed++;
continue;
}
int tries = b.broadcast ? 1 : BULK_RETRIES; int tries = b.broadcast ? 1 : BULK_RETRIES;
bool ok = false; bool ok = false;
for (int t = 0; t < tries && !ok; t++) { for (int t = 0; t < tries && !ok; t++) {
@@ -235,18 +172,12 @@ static void bulk_task(void *arg)
s_stats.bulk_retries++; s_stats.bulk_retries++;
vTaskDelay(pdMS_TO_TICKS(5 << t)); vTaskDelay(pdMS_TO_TICKS(5 << t));
} }
xSemaphoreTake(s_bulk_done, 0);
s_bulk_inflight = true;
if (espnow_tx_drop()) { if (espnow_tx_drop()) {
s_stats.sim_dropped++; // lossy-link test: pretend the radio sent it s_stats.sim_dropped++; // lossy-link test: pretend the radio sent it
ok = true; ok = true;
} else if (bridge_active()) { } else {
ok = bridge_send(dst, b.data, b.len) == ESP_OK; // no MAC-layer ack: rel.c's acks retry ok = radio_send(dst, b.data, b.len) == ESP_OK; // no MAC-layer ack: rel.c's acks retry
} else if (radio_send(dst, b.data, b.len) == ESP_OK &&
xSemaphoreTake(s_bulk_done, pdMS_TO_TICKS(30)) == pdTRUE) {
ok = s_bulk_ok || b.broadcast;
} }
s_bulk_inflight = false;
} }
s_stats.bulk_sent += ok; s_stats.bulk_sent += ok;
s_stats.bulk_failed += !ok; s_stats.bulk_failed += !ok;
@@ -337,13 +268,8 @@ static esp_err_t radio_init(const char *ap_ssid, const char *ap_password)
ESP_RETURN_ON_ERROR(esp_wifi_set_max_tx_power(80), TAG, "tx power"); // 20 dBm ESP_RETURN_ON_ERROR(esp_wifi_set_max_tx_power(80), TAG, "tx power"); // 20 dBm
ESP_RETURN_ON_ERROR(esp_wifi_set_channel(CONFIG_ESPNOW_CHANNEL, WIFI_SECOND_CHAN_NONE), TAG, "channel"); ESP_RETURN_ON_ERROR(esp_wifi_set_channel(CONFIG_ESPNOW_CHANNEL, WIFI_SECOND_CHAN_NONE), TAG, "channel");
ESP_RETURN_ON_ERROR(esp_now_init(), TAG, "espnow init"); // Wi-Fi runs on the C6 (esp-hosted); ESP-NOW there is radio-c6's, reached as the bridge "c6"
ESP_RETURN_ON_ERROR(esp_now_register_send_cb(send_cb), TAG, "send cb"); ESP_LOGI(TAG, "Wi-Fi on the C6, channel %d; ESP-NOW through the C6 bridge", CONFIG_ESPNOW_CHANNEL);
esp_now_peer_info_t bc = { .channel = 0, .ifidx = WIFI_IF_STA, .encrypt = false };
memcpy(bc.peer_addr, BROADCAST, 6);
ESP_RETURN_ON_ERROR(esp_now_add_peer(&bc), TAG, "broadcast peer");
ESP_RETURN_ON_ERROR(esp_now_register_recv_cb(recv_cb), TAG, "recv cb");
ESP_LOGI(TAG, "ESP-NOW up on channel %d, %d beat copies", CONFIG_ESPNOW_CHANNEL, CONFIG_BEAT_TX_COPIES);
return ESP_OK; return ESP_OK;
} }
#endif #endif
@@ -368,16 +294,16 @@ esp_err_t espnow_tx_init(const char *ap_ssid, const char *ap_password)
(void)ap_password; (void)ap_password;
ESP_RETURN_ON_FALSE(s_nbridges, ESP_ERR_INVALID_STATE, TAG, "the host build needs a bridge address"); ESP_RETURN_ON_FALSE(s_nbridges, ESP_ERR_INVALID_STATE, TAG, "the host build needs a bridge address");
#else #else
// The radio still comes up behind a bridge: the access point serves the web UI // The access point serves the web UI
ESP_RETURN_ON_ERROR(radio_init(ap_ssid, ap_password), TAG, "radio"); if (radio_init(ap_ssid, ap_password) != ESP_OK) {
#endif ESP_LOGE(TAG, "Wi-Fi on the C6 did not start: no access point"); // Ethernet and the rest still run
if (s_nbridges) {
ESP_RETURN_ON_ERROR(bridge_set_all(s_bridges, s_nbridges, bridge_rx), TAG, "bridge");
} }
#endif
// On the P4 the C6 radio is a bridge, so there is always one (bridge_set_all adds it)
ESP_RETURN_ON_ERROR(bridge_set_all(s_bridges, s_nbridges, bridge_rx), TAG, "bridge");
s_bulk_q = xQueueCreate(BULK_QUEUE_LEN, sizeof(bulk_t)); s_bulk_q = xQueueCreate(BULK_QUEUE_LEN, sizeof(bulk_t));
s_bulk_done = xSemaphoreCreateBinary(); ESP_RETURN_ON_FALSE(s_bulk_q, ESP_ERR_NO_MEM, TAG, "alloc");
ESP_RETURN_ON_FALSE(s_bulk_q && s_bulk_done, ESP_ERR_NO_MEM, TAG, "alloc");
const esp_timer_create_args_t ta = { .callback = send_beat_copy, .name = "beat_copy", const esp_timer_create_args_t ta = { .callback = send_beat_copy, .name = "beat_copy",
.dispatch_method = ESP_TIMER_TASK }; .dispatch_method = ESP_TIMER_TASK };
ESP_RETURN_ON_ERROR(esp_timer_create(&ta, &s_copy_timer), TAG, "timer"); ESP_RETURN_ON_ERROR(esp_timer_create(&ta, &s_copy_timer), TAG, "timer");
+11 -2
View File
@@ -9,7 +9,16 @@ dependencies:
- if: "target != linux" - if: "target != linux"
espressif/cjson: espressif/cjson:
version: "^1.7.19" version: "^1.7.19"
espressif/w5500: # Wi-Fi and ESP-NOW on the C6 over SDIO, and the ES8311 microphone codec
version: "^2.0.1" espressif/esp_hosted:
version: "~3.1.0"
rules:
- if: "target != linux"
espressif/esp_wifi_remote:
version: "*"
rules:
- if: "target != linux"
espressif/esp_codec_dev:
version: "^1.3.0"
rules: rules:
- if: "target != linux" - if: "target != linux"
+33 -69
View File
@@ -1,5 +1,6 @@
/* /*
* v2 controller: W5500 Ethernet, INMP441 beat detection, ESP-NOW master. * v2 controller on the Waveshare ESP32-P4-Nano: Ethernet on the internal EMAC (IP101), beat detection from the
* ES8311 microphone, and Wi-Fi and ESP-NOW on the C6 next to it (bridge_hosted.c). See docs/P4_NANO.md.
*/ */
#include "auth.h" #include "auth.h"
#include <stdio.h> #include <stdio.h>
@@ -12,12 +13,10 @@
#include <stdlib.h> #include <stdlib.h>
#include "esp_netif.h" #include "esp_netif.h"
#include "esp_eth.h" #include "esp_eth.h"
#include "esp_eth_mac_w5500.h" #include "bridge_hosted.h"
#include "esp_eth_phy_w5500.h"
#include "esp_mac.h" #include "esp_mac.h"
#include "nvs_flash.h" #include "nvs_flash.h"
#include "driver/gpio.h" #include "driver/gpio.h"
#include "driver/spi_master.h"
#include "esp_http_server.h" #include "esp_http_server.h"
#include "esp_timer.h" #include "esp_timer.h"
#include "esp_heap_caps.h" #include "esp_heap_caps.h"
@@ -38,6 +37,7 @@
#include "api.h" #include "api.h"
#include "engine.h" #include "engine.h"
#include "seqplay.h" #include "seqplay.h"
#include "sim_rig.h"
#include "audio_api.h" #include "audio_api.h"
#include "rel.h" #include "rel.h"
#include "web.h" #include "web.h"
@@ -84,7 +84,7 @@ static esp_err_t status_get_handler(httpd_req_t *req)
mic_get_level(&level); mic_get_level(&level);
espnow_tx_stats(&es); espnow_tx_stats(&es);
rel_stats(&rs); rel_stats(&rs);
if (s_eth_netif) { // NULL when the W5500 did not start if (s_eth_netif) { // NULL when Ethernet did not start
esp_netif_get_ip_info(s_eth_netif, &ip_info); esp_netif_get_ip_info(s_eth_netif, &ip_info);
esp_netif_get_mac(s_eth_netif, mac); esp_netif_get_mac(s_eth_netif, mac);
} }
@@ -119,9 +119,9 @@ static esp_err_t status_get_handler(httpd_req_t *req)
#define DEFAULT_HOSTNAME "led-controller" #define DEFAULT_HOSTNAME "led-controller"
// Address when no DHCP server answers, as on a cable straight to a PC. The PC needs a static IP on this subnet. // Address when no DHCP server answers, as on a cable straight to a PC. The PC needs a static IP on this subnet.
#define DEFAULT_IP ESP_IP4TOADDR(192, 168, 4, 1) #define DEFAULT_IP ESP_IP4TOADDR(CONFIG_P4_DEFAULT_IP_A, CONFIG_P4_DEFAULT_IP_B, CONFIG_P4_DEFAULT_IP_C, CONFIG_P4_DEFAULT_IP_D)
#define DHCP_WAIT_S 5 // the Nano usually sits on a cable to the PC, with no DHCP server
#define DEFAULT_NETMASK ESP_IP4TOADDR(255, 255, 255, 0) #define DEFAULT_NETMASK ESP_IP4TOADDR(255, 255, 255, 0)
#define DHCP_WAIT_S 15
// Boolean setting; def when missing or not a boolean // Boolean setting; def when missing or not a boolean
static bool settings_bool(const char *key, bool def) static bool settings_bool(const char *key, bool def)
@@ -299,10 +299,10 @@ static void start_webserver(void)
} }
httpd_config_t config = HTTPD_DEFAULT_CONFIG(); httpd_config_t config = HTTPD_DEFAULT_CONFIG();
config.uri_match_fn = httpd_uri_match_wildcard; config.uri_match_fn = httpd_uri_match_wildcard;
config.max_uri_handlers = 80; config.max_uri_handlers = 112;
config.stack_size = 8192; config.stack_size = 12288; // the rig's room and flash files (sim_rig.c) need more than 8 KB
config.lru_purge_enable = true; config.lru_purge_enable = true;
config.max_open_sockets = 12; // browsers open 6 connections at once config.max_open_sockets = 24; // browsers open 6 connections at once, and the rig page its own
config.backlog_conn = 10; // the default 5 drops the 6th SYN, a 1 s retry config.backlog_conn = 10; // the default 5 drops the 6th SYN, a 1 s retry
if (httpd_start(&s_server, &config) != ESP_OK) { if (httpd_start(&s_server, &config) != ESP_OK) {
ESP_LOGE(TAG, "HTTP server start failed"); ESP_LOGE(TAG, "HTTP server start failed");
@@ -310,6 +310,7 @@ static void start_webserver(void)
} }
const httpd_uri_t status_uri = { .uri = "/status", .method = HTTP_GET, .handler = status_get_handler }; const httpd_uri_t status_uri = { .uri = "/status", .method = HTTP_GET, .handler = status_get_handler };
auth_register_uri(s_server, &status_uri); auth_register_uri(s_server, &status_uri);
sim_rig_register(s_server); // before the pages: /sim/* is not theirs
web_register(s_server); web_register(s_server);
audio_register(s_server); audio_register(s_server);
audio_api_register(s_server); audio_api_register(s_server);
@@ -373,71 +374,28 @@ static void got_ip_event_handler(void *arg, esp_event_base_t event_base,
} }
} }
static esp_err_t w5500_init(esp_eth_handle_t *eth_handle_out) // The P4's own EMAC over RMII to the IP101 PHY: MDC 31, MDIO 52, 50 MHz reference in on GPIO 50 (IDF's P4
// defaults, which match the Waveshare ESP32-P4-Nano), PHY reset on CONFIG_P4_ETH_PHY_RST_GPIO
static esp_err_t eth_init(esp_eth_handle_t *eth_handle_out)
{ {
esp_err_t ret = ESP_OK;
esp_eth_mac_t *mac = NULL;
esp_eth_phy_t *phy = NULL;
esp_eth_handle_t eth_handle = NULL;
// INT pin uses a GPIO ISR
ESP_RETURN_ON_ERROR(gpio_install_isr_service(0), TAG, "GPIO ISR service install failed");
spi_bus_config_t buscfg = {
.miso_io_num = CONFIG_W5500_MISO_GPIO,
.mosi_io_num = CONFIG_W5500_MOSI_GPIO,
.sclk_io_num = CONFIG_W5500_SCLK_GPIO,
.quadwp_io_num = -1,
.quadhd_io_num = -1,
};
ESP_RETURN_ON_ERROR(spi_bus_initialize(CONFIG_W5500_SPI_HOST, &buscfg, SPI_DMA_CH_AUTO),
TAG, "SPI bus init failed");
spi_device_interface_config_t spi_devcfg = {
.mode = 0,
.clock_speed_hz = CONFIG_W5500_SPI_CLOCK_MHZ * 1000 * 1000,
.queue_size = 20,
.spics_io_num = CONFIG_W5500_CS_GPIO,
};
eth_w5500_config_t w5500_config = ETH_W5500_DEFAULT_CONFIG(CONFIG_W5500_SPI_HOST, &spi_devcfg);
w5500_config.base.int_gpio_num = CONFIG_W5500_INT_GPIO;
if (CONFIG_W5500_INT_GPIO < 0) {
w5500_config.base.poll_period_ms = CONFIG_W5500_POLL_PERIOD_MS;
}
eth_mac_config_t mac_config = ETH_MAC_DEFAULT_CONFIG(); eth_mac_config_t mac_config = ETH_MAC_DEFAULT_CONFIG();
eth_esp32_emac_config_t emac_config = ETH_ESP32_EMAC_DEFAULT_CONFIG();
emac_config.smi_gpio.mdc_num = CONFIG_P4_ETH_MDC_GPIO;
emac_config.smi_gpio.mdio_num = CONFIG_P4_ETH_MDIO_GPIO;
eth_phy_config_t phy_config = ETH_PHY_DEFAULT_CONFIG(); eth_phy_config_t phy_config = ETH_PHY_DEFAULT_CONFIG();
phy_config.reset_gpio_num = CONFIG_W5500_RST_GPIO; phy_config.phy_addr = ESP_ETH_PHY_ADDR_AUTO;
phy_config.reset_gpio_num = CONFIG_P4_ETH_PHY_RST_GPIO;
mac = esp_eth_mac_new_w5500(&w5500_config, &mac_config); esp_eth_mac_t *mac = esp_eth_mac_new_esp32(&emac_config, &mac_config);
phy = esp_eth_phy_new_w5500(&phy_config); esp_eth_phy_t *phy = esp_eth_phy_new_generic(&phy_config); // the IP101 is a plain 802.3 PHY
ESP_GOTO_ON_FALSE(mac && phy, ESP_FAIL, err, TAG, "W5500 MAC/PHY create failed"); ESP_RETURN_ON_FALSE(mac && phy, ESP_FAIL, TAG, "EMAC/PHY create failed");
esp_eth_config_t eth_config = ETH_DEFAULT_CONFIG(mac, phy); esp_eth_config_t eth_config = ETH_DEFAULT_CONFIG(mac, phy);
ESP_GOTO_ON_ERROR(esp_eth_driver_install(&eth_config, &eth_handle), err, TAG, esp_err_t err = esp_eth_driver_install(&eth_config, eth_handle_out);
"Driver install failed (check W5500 wiring/power)"); if (err != ESP_OK) {
ESP_LOGE(TAG, "Ethernet driver install failed: %s", esp_err_to_name(err));
// The W5500 has no factory MAC; use the ESP32's Ethernet MAC from eFuse
uint8_t eth_mac[6];
ESP_GOTO_ON_ERROR(esp_read_mac(eth_mac, ESP_MAC_ETH), err, TAG, "Read MAC failed");
ESP_GOTO_ON_ERROR(esp_eth_ioctl(eth_handle, ETH_CMD_S_MAC_ADDR, eth_mac), err, TAG, "Set MAC failed");
*eth_handle_out = eth_handle;
return ESP_OK;
err:
if (eth_handle) {
esp_eth_driver_uninstall(eth_handle);
}
if (mac) {
mac->del(mac); mac->del(mac);
}
if (phy) {
phy->del(phy); phy->del(phy);
} }
spi_bus_free(CONFIG_W5500_SPI_HOST); return err;
return ret;
} }
void app_main(void) void app_main(void)
@@ -461,11 +419,17 @@ void app_main(void)
ESP_LOGI(TAG, "AP %s%s", s_ap_on ? "on" : "off", held ? " (button held)" : ""); ESP_LOGI(TAG, "AP %s%s", s_ap_on ? "on" : "off", held ? " (button held)" : "");
char bridges[BRIDGE_MAX_LINKS][BRIDGE_ADDR_MAX]; // led-simulator or a network/USB bridge stands in for the radio char bridges[BRIDGE_MAX_LINKS][BRIDGE_ADDR_MAX]; // led-simulator or a network/USB bridge stands in for the radio
espnow_tx_set_bridges(bridges, store_bridges(bridges, BRIDGE_MAX_LINKS)); espnow_tx_set_bridges(bridges, store_bridges(bridges, BRIDGE_MAX_LINKS));
// The C6 is the radio: without it there is no Wi-Fi and no ESP-NOW, but the web UI still runs on Ethernet
if (bridge_hosted_start() != ESP_OK) {
ESP_LOGE(TAG, "C6 radio down: no Wi-Fi access point and no ESP-NOW");
s_ap_on = false;
}
ESP_ERROR_CHECK(espnow_tx_init(s_ap_on ? (host ? host : DEFAULT_HOSTNAME) : NULL, settings_str("ap_password"))); ESP_ERROR_CHECK(espnow_tx_init(s_ap_on ? (host ? host : DEFAULT_HOSTNAME) : NULL, settings_str("ap_password")));
bridge_hosted_udp_start();
// Ethernet is optional: without it the web UI is still served over the AP // Ethernet is optional: without it the web UI is still served over the AP
esp_eth_handle_t eth_handle = NULL; esp_eth_handle_t eth_handle = NULL;
if (w5500_init(&eth_handle) == ESP_OK) { if (eth_init(&eth_handle) == ESP_OK) {
esp_netif_config_t netif_cfg = ESP_NETIF_DEFAULT_ETH(); esp_netif_config_t netif_cfg = ESP_NETIF_DEFAULT_ETH();
s_eth_netif = esp_netif_new(&netif_cfg); s_eth_netif = esp_netif_new(&netif_cfg);
ESP_ERROR_CHECK(esp_netif_attach(s_eth_netif, esp_eth_new_netif_glue(eth_handle))); ESP_ERROR_CHECK(esp_netif_attach(s_eth_netif, esp_eth_new_netif_glue(eth_handle)));
+71 -26
View File
@@ -1,7 +1,7 @@
/* /*
* INMP441 I2S microphone: level meter plus a 16-bit PCM feed for streaming. * The ESP32-P4-Nano's microphone (ES8311 codec over I2S): level meter plus a 16-bit PCM feed for streaming.
* Reads both I2S slots and uses whichever one the mic is driving (L/R pin to * Reads both I2S slots and uses whichever one carries sound (the ES8311 puts it in the left one),
* GND = left, to 3V3 = right), keeping a running RMS/peak for the last block. * keeping a running RMS/peak for the last block.
* Every block also goes to the beat detector. * Every block also goes to the beat detector.
*/ */
#include <math.h> #include <math.h>
@@ -12,6 +12,9 @@
#include "esp_check.h" #include "esp_check.h"
#include "driver/i2s_std.h" #include "driver/i2s_std.h"
#include "driver/gpio.h" #include "driver/gpio.h"
#include "driver/i2c_master.h"
#include "esp_codec_dev.h"
#include "esp_codec_dev_defaults.h"
#include "mic.h" #include "mic.h"
#include "beat.h" #include "beat.h"
@@ -19,7 +22,7 @@
#define LEVEL_BLOCKS 5 // 100 ms per level reading #define LEVEL_BLOCKS 5 // 100 ms per level reading
#define FULL_SCALE_24BIT 8388608.0f #define FULL_SCALE_24BIT 8388608.0f
#define DBFS_FLOOR -120.0f #define DBFS_FLOOR -120.0f
#define INMP441_SPL_OFFSET 120.0f // 94 dB SPL - (-26 dBFS) #define SPL_OFFSET 120.0f // 94 dB SPL - (-26 dBFS), an INMP441 figure: rough for the ES8311
static const char *TAG = "mic"; static const char *TAG = "mic";
@@ -30,7 +33,7 @@ static portMUX_TYPE s_level_lock = portMUX_INITIALIZER_UNLOCKED;
static StreamBufferHandle_t s_stream_buf; static StreamBufferHandle_t s_stream_buf;
static volatile bool s_stream_active; static volatile bool s_stream_active;
static mic_level_t s_level = { DBFS_FLOOR, DBFS_FLOOR, DBFS_FLOOR + INMP441_SPL_OFFSET }; static mic_level_t s_level = { DBFS_FLOOR, DBFS_FLOOR, DBFS_FLOOR + SPL_OFFSET };
static float to_dbfs(float x) static float to_dbfs(float x)
{ {
@@ -42,7 +45,7 @@ static void mic_task(void *arg)
static int32_t buf[MIC_BLOCK_SAMPLES * 2]; // interleaved L/R static int32_t buf[MIC_BLOCK_SAMPLES * 2]; // interleaved L/R
static int16_t pcm[MIC_BLOCK_SAMPLES]; static int16_t pcm[MIC_BLOCK_SAMPLES];
static float filtered[MIC_BLOCK_SAMPLES]; static float filtered[MIC_BLOCK_SAMPLES];
// One-pole high-pass to strip the INMP441's DC offset // One-pole high-pass to strip the mic's DC offset
float hp_prev_in = 0.0f, hp_prev_out = 0.0f; float hp_prev_in = 0.0f, hp_prev_out = 0.0f;
// Level is accumulated over several short blocks so the meter stays steady // Level is accumulated over several short blocks so the meter stays steady
double level_sum_sq = 0.0; double level_sum_sq = 0.0;
@@ -99,7 +102,7 @@ static void mic_task(void *arg)
mic_level_t level; mic_level_t level;
level.rms_dbfs = to_dbfs(sqrtf((float)(level_sum_sq / level_frames))); level.rms_dbfs = to_dbfs(sqrtf((float)(level_sum_sq / level_frames)));
level.peak_dbfs = to_dbfs(level_peak); level.peak_dbfs = to_dbfs(level_peak);
level.spl_db = level.rms_dbfs + INMP441_SPL_OFFSET; level.spl_db = level.rms_dbfs + SPL_OFFSET;
level_sum_sq = 0.0; level_sum_sq = 0.0;
level_peak = 0.0f; level_peak = 0.0f;
level_frames = level_blocks = 0; level_frames = level_blocks = 0;
@@ -117,6 +120,65 @@ static void mic_task(void *arg)
} }
} }
// The Waveshare ESP32-P4-Nano's microphone goes through the ES8311 codec's ADC. The codec needs MCLK and its
// registers set over I2C; esp_codec_dev does both and drives the I2S channel (s_rx_chan) as its data path, in the
// 32-bit stereo frames mic_task reads.
static esp_err_t codec_mic_start(void)
{
i2c_master_bus_handle_t bus;
i2c_master_bus_config_t bc = {
.i2c_port = I2C_NUM_0,
.sda_io_num = CONFIG_P4_CODEC_I2C_SDA_GPIO,
.scl_io_num = CONFIG_P4_CODEC_I2C_SCL_GPIO,
.clk_source = I2C_CLK_SRC_DEFAULT,
.glitch_ignore_cnt = 7,
.flags.enable_internal_pullup = true,
};
ESP_RETURN_ON_ERROR(i2c_new_master_bus(&bc, &bus), TAG, "I2C bus");
i2s_std_config_t std_cfg = {
.clk_cfg = I2S_STD_CLK_DEFAULT_CONFIG(MIC_SAMPLE_RATE), // MCLK = 256 x fs
.slot_cfg = I2S_STD_PHILIPS_SLOT_DEFAULT_CONFIG(I2S_DATA_BIT_WIDTH_32BIT, I2S_SLOT_MODE_STEREO),
.gpio_cfg = {
.mclk = CONFIG_P4_I2S_MCLK_GPIO,
.bclk = CONFIG_P4_I2S_BCLK_GPIO,
.ws = CONFIG_P4_I2S_WS_GPIO,
.dout = I2S_GPIO_UNUSED,
.din = CONFIG_P4_I2S_DIN_GPIO,
},
};
ESP_RETURN_ON_ERROR(i2s_channel_init_std_mode(s_rx_chan, &std_cfg), TAG, "I2S std mode init failed");
ESP_RETURN_ON_ERROR(i2s_channel_enable(s_rx_chan), TAG, "I2S enable failed"); // MCLK runs before the codec
audio_codec_i2s_cfg_t ic = { .port = I2S_NUM_0, .rx_handle = s_rx_chan, .tx_handle = NULL };
const audio_codec_data_if_t *data_if = audio_codec_new_i2s_data(&ic);
audio_codec_i2c_cfg_t cc = { .port = I2C_NUM_0, .addr = CONFIG_P4_CODEC_I2C_ADDR << 1, .bus_handle = bus };
const audio_codec_ctrl_if_t *ctrl_if = audio_codec_new_i2c_ctrl(&cc);
const audio_codec_gpio_if_t *gpio_if = audio_codec_new_gpio();
ESP_RETURN_ON_FALSE(data_if && ctrl_if && gpio_if, ESP_ERR_NO_MEM, TAG, "codec interfaces");
es8311_codec_cfg_t ec = {
.ctrl_if = ctrl_if,
.gpio_if = gpio_if,
.codec_mode = ESP_CODEC_DEV_WORK_MODE_ADC,
.pa_pin = -1,
.use_mclk = true,
};
const audio_codec_if_t *codec_if = es8311_codec_new(&ec);
ESP_RETURN_ON_FALSE(codec_if, ESP_FAIL, TAG, "ES8311 not found on I2C 0x%02x", CONFIG_P4_CODEC_I2C_ADDR);
esp_codec_dev_cfg_t dc = { .dev_type = ESP_CODEC_DEV_TYPE_IN, .codec_if = codec_if, .data_if = data_if };
esp_codec_dev_handle_t dev = esp_codec_dev_new(&dc);
ESP_RETURN_ON_FALSE(dev, ESP_ERR_NO_MEM, TAG, "codec device");
esp_codec_dev_sample_info_t fs = {
.bits_per_sample = 32,
.channel = 2,
.sample_rate = MIC_SAMPLE_RATE,
.mclk_multiple = 256,
};
ESP_RETURN_ON_FALSE(esp_codec_dev_open(dev, &fs) == ESP_CODEC_DEV_OK, ESP_FAIL, TAG, "codec open");
esp_codec_dev_set_in_gain(dev, CONFIG_P4_MIC_PGA_DB);
return ESP_OK;
}
esp_err_t mic_start(void) esp_err_t mic_start(void)
{ {
s_stream_buf = xStreamBufferCreate(STREAM_BUF_BYTES, 1); s_stream_buf = xStreamBufferCreate(STREAM_BUF_BYTES, 1);
@@ -124,30 +186,13 @@ esp_err_t mic_start(void)
i2s_chan_config_t chan_cfg = I2S_CHANNEL_DEFAULT_CONFIG(I2S_NUM_0, I2S_ROLE_MASTER); i2s_chan_config_t chan_cfg = I2S_CHANNEL_DEFAULT_CONFIG(I2S_NUM_0, I2S_ROLE_MASTER);
ESP_RETURN_ON_ERROR(i2s_new_channel(&chan_cfg, NULL, &s_rx_chan), TAG, "I2S channel create failed"); ESP_RETURN_ON_ERROR(i2s_new_channel(&chan_cfg, NULL, &s_rx_chan), TAG, "I2S channel create failed");
ESP_RETURN_ON_ERROR(codec_mic_start(), TAG, "ES8311 start failed");
i2s_std_config_t std_cfg = {
.clk_cfg = I2S_STD_CLK_DEFAULT_CONFIG(MIC_SAMPLE_RATE),
.slot_cfg = I2S_STD_PHILIPS_SLOT_DEFAULT_CONFIG(I2S_DATA_BIT_WIDTH_32BIT, I2S_SLOT_MODE_STEREO),
.gpio_cfg = {
.mclk = I2S_GPIO_UNUSED,
.bclk = CONFIG_MIC_SCK_GPIO,
.ws = CONFIG_MIC_WS_GPIO,
.dout = I2S_GPIO_UNUSED,
.din = CONFIG_MIC_SD_GPIO,
},
};
ESP_RETURN_ON_ERROR(i2s_channel_init_std_mode(s_rx_chan, &std_cfg), TAG, "I2S std mode init failed");
// SD tri-states outside the mic's slot; the datasheet asks for a pull-down
gpio_pullup_dis(CONFIG_MIC_SD_GPIO);
gpio_pulldown_en(CONFIG_MIC_SD_GPIO);
ESP_RETURN_ON_ERROR(i2s_channel_enable(s_rx_chan), TAG, "I2S enable failed");
ESP_RETURN_ON_ERROR(beat_start(MIC_SAMPLE_RATE), TAG, "Beat detector start failed"); ESP_RETURN_ON_ERROR(beat_start(MIC_SAMPLE_RATE), TAG, "Beat detector start failed");
if (xTaskCreate(mic_task, "mic", 6144, NULL, 5, NULL) != pdPASS) { if (xTaskCreate(mic_task, "mic", 6144, NULL, 5, NULL) != pdPASS) {
return ESP_ERR_NO_MEM; return ESP_ERR_NO_MEM;
} }
ESP_LOGI(TAG, "INMP441 started at %d Hz", MIC_SAMPLE_RATE); ESP_LOGI(TAG, "ES8311 microphone started at %d Hz", MIC_SAMPLE_RATE);
return ESP_OK; return ESP_OK;
} }
+2 -2
View File
@@ -10,10 +10,10 @@
typedef struct { typedef struct {
float rms_dbfs; // RMS level over the last block, dB relative to full scale float rms_dbfs; // RMS level over the last block, dB relative to full scale
float peak_dbfs; // Peak sample in the last block, dBFS float peak_dbfs; // Peak sample in the last block, dBFS
float spl_db; // Approximate dB SPL (INMP441: -26 dBFS @ 94 dB SPL) float spl_db; // Approximate dB SPL (an INMP441 calibration: -26 dBFS @ 94 dB SPL)
} mic_level_t; } mic_level_t;
// Start the INMP441 I2S capture and the level-measuring task // Start the ES8311 microphone capture and the level-measuring task
esp_err_t mic_start(void); esp_err_t mic_start(void);
// Latest level reading; returns -120 dBFS until the first block arrives // Latest level reading; returns -120 dBFS until the first block arrives
+6 -3
View File
@@ -1,7 +1,10 @@
# ESP32-P4-Nano, 16 MB. slave_fw holds the ESP32-C6 radio image (radio-c6/), which the controller loads onto the
# C6 when its version differs (main/c6_update.c).
# Name, Type, SubType, Offset, Size # Name, Type, SubType, Offset, Size
nvs, data, nvs, 0x9000, 0x6000 nvs, data, nvs, 0x9000, 0x6000
otadata, data, ota, 0xf000, 0x2000 otadata, data, ota, 0xf000, 0x2000
phy_init, data, phy, 0x11000, 0x1000 phy_init, data, phy, 0x11000, 0x1000
ota_0, app, ota_0, 0x20000, 0x200000 ota_0, app, ota_0, 0x20000, 0x300000
ota_1, app, ota_1, 0x220000,0x200000 ota_1, app, ota_1, 0x320000,0x300000
db, data, littlefs,0x520000,0xAE0000 db, data, littlefs,0x620000,0x820000
slave_fw, data, 0x40, 0xE40000,0x1C0000
1 # Name # ESP32-P4-Nano, 16 MB. slave_fw holds the ESP32-C6 radio image (radio-c6/), which the controller loads onto the Type SubType Offset Size
1 # ESP32-P4-Nano, 16 MB. slave_fw holds the ESP32-C6 radio image (radio-c6/), which the controller loads onto the
2 # C6 when its version differs (main/c6_update.c).
3 # Name # Name, Type, SubType, Offset, Size Type SubType Offset Size
4 nvs nvs, data, nvs, 0x9000, 0x6000 data nvs 0x9000 0x6000
5 otadata otadata, data, ota, 0xf000, 0x2000 data ota 0xf000 0x2000
6 phy_init phy_init, data, phy, 0x11000, 0x1000 data phy 0x11000 0x1000
7 ota_0 ota_0, app, ota_0, 0x20000, 0x300000 app ota_0 0x20000 0x200000
8 ota_1 ota_1, app, ota_1, 0x320000,0x300000 app ota_1 0x220000 0x200000
9 db db, data, littlefs,0x620000,0x820000 data littlefs 0x520000 0xAE0000
10 slave_fw, data, 0x40, 0xE40000,0x1C0000
+5
View File
@@ -0,0 +1,5 @@
build/
sdkconfig
sdkconfig.old
managed_components/
dependencies.lock
+19
View File
@@ -0,0 +1,19 @@
# ESP-NOW radio for the ESP32-P4-Nano: esp-hosted co-processor firmware for its ESP32-C6, plus ESP-NOW over
# esp-hosted peer data (main/radio_now.c). The P4 controller carries this image and updates the C6 when the
# version differs (main/c6_update.c), so the version is a hash of what goes into it.
cmake_minimum_required(VERSION 3.16)
set(_ver_src ${CMAKE_CURRENT_LIST_DIR}/main/radio_now.c ${CMAKE_CURRENT_LIST_DIR}/../bridge/main/radio_proto.h
${CMAKE_CURRENT_LIST_DIR}/../bridge/main/bridge_proto.h ${CMAKE_CURRENT_LIST_DIR}/sdkconfig.defaults
${CMAKE_CURRENT_LIST_DIR}/main/idf_component.yml)
set(_ver_all "")
foreach(f ${_ver_src})
file(MD5 ${f} _h)
string(APPEND _ver_all ${_h})
endforeach()
string(MD5 _ver_hash "${_ver_all}")
string(SUBSTRING ${_ver_hash} 0 10 _ver_short)
set(PROJECT_VER "rc6-${_ver_short}")
# Re-run CMake (and so recompute the version) whenever one of these changes, not only on a fresh build
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${_ver_src})
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(radio_c6)
+3
View File
@@ -0,0 +1,3 @@
idf_component_register(SRCS "radio_now.c"
INCLUDE_DIRS "." "../../bridge/main"
PRIV_REQUIRES esp_hosted nvs_flash esp_wifi esp_event esp_app_format)
+3
View File
@@ -0,0 +1,3 @@
dependencies:
espressif/esp_hosted:
version: "~3.1.0"
+263
View File
@@ -0,0 +1,263 @@
/*
* ESP-NOW radio for the ESP32-P4-Nano's controller. The C6 runs esp-hosted (the P4's Wi-Fi over SDIO), and
* this file adds what esp-hosted does not forward: ESP-NOW. Frames arrive from the P4 in peer-data batches
* (bridge/main/radio_proto.h), go out one at a time, and every frame heard goes back up in batches.
* Same job as the USB bridge in bridge/, over SDIO instead of USB.
*/
#include <string.h>
#include "eh_cp_feat_peer_data.h"
#include "esp_app_desc.h"
#include "esp_event.h"
#include "esp_log.h"
#include "esp_mac.h"
#include "esp_now.h"
#include "esp_wifi.h"
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "freertos/semphr.h"
#include "freertos/task.h"
#include "nvs_flash.h"
#include "bridge_proto.h"
#include "radio_proto.h"
static const char *TAG = "radio_now";
#define PEERS_MAX 19 // ESP-NOW allows 20 peers: 19 unicast and the broadcast one
#define TX_QUEUE_LEN 64
#define RX_QUEUE_LEN 64
#define SEND_WAIT_MS 100
typedef struct {
uint8_t mac[6];
uint8_t len;
uint8_t data[BRIDGE_PKT_MAX];
} pkt_t;
static const uint8_t BROADCAST[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
static QueueHandle_t s_txq;
static QueueHandle_t s_rxq;
static SemaphoreHandle_t s_sent;
static volatile bool s_now_up;
static uint8_t s_peers[PEERS_MAX][6]; // most recently used first
static int s_npeers;
static uint32_t s_tx, s_tx_fail, s_rx, s_drop;
/* ---- ESP-NOW ----------------------------------------------------------------------------------- */
static void on_sent(const esp_now_send_info_t *info, esp_now_send_status_t status)
{
(void)info;
if (status != ESP_NOW_SEND_SUCCESS) {
s_tx_fail++;
}
xSemaphoreGive(s_sent);
}
static void on_recv(const esp_now_recv_info_t *info, const uint8_t *data, int len)
{
if (len <= 0 || len > BRIDGE_PKT_MAX) {
return;
}
pkt_t p;
memcpy(p.mac, info->src_addr, 6);
p.len = (uint8_t)len;
memcpy(p.data, data, len);
if (xQueueSend(s_rxq, &p, 0) == pdTRUE) {
s_rx++;
} else {
s_drop++;
}
}
// Keep the peer table within the ESP-NOW limit, least recently used dropped first (as bridge/ does)
static void ensure_peer(const uint8_t *mac)
{
if (memcmp(mac, BROADCAST, 6) == 0) {
if (!esp_now_is_peer_exist(BROADCAST)) {
esp_now_peer_info_t p = { .channel = 0, .ifidx = WIFI_IF_STA, .encrypt = false };
memcpy(p.peer_addr, BROADCAST, 6);
esp_now_add_peer(&p);
}
return;
}
for (int i = 0; i < s_npeers; i++) {
if (memcmp(s_peers[i], mac, 6) == 0) {
uint8_t hit[6];
memcpy(hit, mac, 6);
memmove(s_peers[1], s_peers[0], i * 6);
memcpy(s_peers[0], hit, 6);
return;
}
}
if (s_npeers == PEERS_MAX) {
esp_now_del_peer(s_peers[PEERS_MAX - 1]);
s_npeers--;
}
esp_now_peer_info_t p = { .channel = 0, .ifidx = WIFI_IF_STA, .encrypt = false };
memcpy(p.peer_addr, mac, 6);
if (esp_now_add_peer(&p) != ESP_OK) {
return;
}
memmove(s_peers[1], s_peers[0], s_npeers * 6);
memcpy(s_peers[0], mac, 6);
s_npeers++;
}
// The P4 starts and stops Wi-Fi over esp-hosted; ESP-NOW follows it
static void on_wifi(void *arg, esp_event_base_t base, int32_t id, void *data)
{
(void)arg;
(void)base;
(void)data;
if ((id == WIFI_EVENT_STA_START || id == WIFI_EVENT_AP_START) && !s_now_up) {
if (esp_now_init() == ESP_OK) {
esp_now_register_send_cb(on_sent);
esp_now_register_recv_cb(on_recv);
s_npeers = 0;
s_now_up = true;
uint8_t ch;
wifi_second_chan_t sc;
esp_wifi_get_channel(&ch, &sc);
ESP_LOGI(TAG, "ESP-NOW up on channel %u", ch);
} else {
ESP_LOGE(TAG, "esp_now_init failed");
}
} else if (id == WIFI_EVENT_STA_STOP && s_now_up) {
s_now_up = false;
esp_now_deinit();
ESP_LOGI(TAG, "ESP-NOW down (Wi-Fi stopped)");
}
}
static void tx_task(void *arg)
{
(void)arg;
pkt_t p;
for (;;) {
xQueueReceive(s_txq, &p, portMAX_DELAY);
if (!s_now_up) {
s_tx_fail++;
continue;
}
ensure_peer(p.mac);
xSemaphoreTake(s_sent, 0);
if (esp_now_send(p.mac, p.data, p.len) != ESP_OK) {
s_tx_fail++;
continue;
}
s_tx++;
xSemaphoreTake(s_sent, pdMS_TO_TICKS(SEND_WAIT_MS));
}
}
// Everything heard, packed into as few peer-data messages as the queue allows
static void rx_task(void *arg)
{
(void)arg;
static uint8_t batch[RADIO_BATCH_MAX];
pkt_t p;
for (;;) {
xQueueReceive(s_rxq, &p, portMAX_DELAY);
size_t n = 0;
do {
memcpy(batch + n, p.mac, 6);
batch[n + 6] = p.len;
memcpy(batch + n + RADIO_ENTRY_HDR, p.data, p.len);
n += RADIO_ENTRY_HDR + p.len;
} while (n + RADIO_ENTRY_HDR + BRIDGE_PKT_MAX <= sizeof(batch) && xQueueReceive(s_rxq, &p, 0) == pdTRUE);
if (eh_cp_feat_peer_data_send(RADIO_MSG_RX, batch, n) != ESP_OK) {
s_drop++;
}
}
}
/* ---- the P4's messages -------------------------------------------------------------------------- */
static void put_u32(uint8_t *p, uint32_t v)
{
p[0] = v & 0xFF;
p[1] = (v >> 8) & 0xFF;
p[2] = (v >> 16) & 0xFF;
p[3] = (v >> 24) & 0xFF;
}
static void send_info(void)
{
uint8_t b[BRIDGE_INFO_LEN] = { 0 };
uint8_t ch = 0;
wifi_second_chan_t sc;
b[0] = BRIDGE_PROTO_VERSION;
esp_read_mac(b + 1, ESP_MAC_WIFI_STA);
if (esp_wifi_get_channel(&ch, &sc) == ESP_OK) {
b[7] = ch;
}
put_u32(b + 8, s_tx);
put_u32(b + 12, s_tx_fail);
put_u32(b + 16, s_rx);
put_u32(b + 20, s_drop);
eh_cp_feat_peer_data_send(RADIO_MSG_INFO, b, sizeof(b));
}
// Runs in the RPC receive context: only queue, no waiting
static void on_tx(uint32_t id, const uint8_t *data, size_t len, void *ctx)
{
(void)id;
(void)ctx;
size_t off = 0;
while (off + RADIO_ENTRY_HDR <= len) {
pkt_t p;
memcpy(p.mac, data + off, 6);
p.len = data[off + 6];
if (p.len == 0 || p.len > BRIDGE_PKT_MAX || off + RADIO_ENTRY_HDR + p.len > len) {
break;
}
memcpy(p.data, data + off + RADIO_ENTRY_HDR, p.len);
off += RADIO_ENTRY_HDR + p.len;
if (xQueueSend(s_txq, &p, 0) != pdTRUE) {
s_tx_fail++;
}
}
}
static void on_ctl(uint32_t id, const uint8_t *data, size_t len, void *ctx)
{
(void)id;
(void)ctx;
if (len < 1) {
return;
}
if (data[0] == BRIDGE_MSG_SET_CHANNEL && len >= 2 && data[1] >= 1 && data[1] <= 13) {
esp_wifi_set_channel(data[1], WIFI_SECOND_CHAN_NONE);
ESP_LOGI(TAG, "channel %u", data[1]);
}
if (data[0] == BRIDGE_MSG_SET_CHANNEL || data[0] == BRIDGE_MSG_HELLO) {
send_info();
} else if (data[0] == RADIO_CTL_VERSION) {
const char *v = esp_app_get_description()->version;
eh_cp_feat_peer_data_send(RADIO_MSG_VERSION, (const uint8_t *)v, strlen(v));
}
}
void app_main(void)
{
esp_err_t ret = nvs_flash_init();
if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {
ESP_ERROR_CHECK(nvs_flash_erase());
ret = nvs_flash_init();
}
ESP_ERROR_CHECK(ret);
ESP_ERROR_CHECK(esp_event_loop_create_default());
s_txq = xQueueCreate(TX_QUEUE_LEN, sizeof(pkt_t));
s_rxq = xQueueCreate(RX_QUEUE_LEN, sizeof(pkt_t));
s_sent = xSemaphoreCreateBinary();
ESP_ERROR_CHECK(s_txq && s_rxq && s_sent ? ESP_OK : ESP_ERR_NO_MEM);
ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, on_wifi, NULL));
ESP_ERROR_CHECK(eh_cp_feat_peer_data_register_callback(RADIO_MSG_TX, on_tx, NULL));
ESP_ERROR_CHECK(eh_cp_feat_peer_data_register_callback(RADIO_MSG_CTL, on_ctl, NULL));
xTaskCreate(tx_task, "now_tx", 3072, NULL, 6, NULL);
xTaskCreate(rx_task, "now_rx", 3072, NULL, 5, NULL);
ESP_LOGI(TAG, "radio-c6 %s ready", esp_app_get_description()->version);
}
+7
View File
@@ -0,0 +1,7 @@
# ESP-Hosted shared partition table — 4 MB flash, dual OTA (1.75 MB per slot)
# Name, Type, SubType, Offset, Size
nvs, data, nvs, 0x9000, 0x4000
otadata, data, ota, 0xd000, 0x2000
phy_init, data, phy, 0xf000, 0x1000
ota_0, app, ota_0, 0x10000, 0x1C0000
ota_1, app, ota_1, 0x1D0000, 0x1C0000
1 # ESP-Hosted shared partition table — 4 MB flash, dual OTA (1.75 MB per slot)
2 # Name, Type, SubType, Offset, Size
3 nvs, data, nvs, 0x9000, 0x4000
4 otadata, data, ota, 0xd000, 0x2000
5 phy_init, data, phy, 0xf000, 0x1000
6 ota_0, app, ota_0, 0x10000, 0x1C0000
7 ota_1, app, ota_1, 0x1D0000, 0x1C0000
+16
View File
@@ -0,0 +1,16 @@
# ESP32-C6 on the Waveshare ESP32-P4-Nano: esp-hosted co-processor over SDIO for the P4, plus ESP-NOW
CONFIG_IDF_TARGET="esp32c6"
CONFIG_ESP_HOSTED=y
CONFIG_ESP_HOSTED_CP=y
CONFIG_ESP_HOSTED_CP_FOR_MCU=y
CONFIG_ESP_HOSTED_CP_RPC_V2=y
CONFIG_ESP_HOSTED_CP_FEAT_WIFI=y
CONFIG_ESP_HOSTED_CP_FEAT_PEER_DATA=y
CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT=n
CONFIG_BT_ENABLED=n
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_eh_cp_ota_4m.csv"
CONFIG_FREERTOS_HZ=1000
CONFIG_ESP_WIFI_NVS_ENABLED=y
CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7
+100
View File
@@ -0,0 +1,100 @@
# 1. CPU
#--------
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_160=y
# 2. BT Configuration
#---------------------
CONFIG_BT_ENABLED=n
CONFIG_BT_CONTROLLER_ONLY=y
CONFIG_BT_BLUEDROID_ENABLED=
CONFIG_BT_LE_SLEEP_ENABLE=y
# 3.1 BLE over SPI/SDIO
#-----------------------
CONFIG_BT_LE_HCI_INTERFACE_USE_RAM=y
# 3.2 BLE over UART
#-------------------
# Enable below config, delete sdkconfig, build/ and rebuild
# CONFIG_BT_LE_HCI_INTERFACE_USE_UART=y
# CONFIG_BT_LE_HCI_UART_TX_PIN=5
# CONFIG_BT_LE_HCI_UART_RX_PIN=12
# CONFIG_BT_LE_HCI_UART_FLOWCTRL=n
# # 4 pin solution is not working yet for c6
# #CONFIG_BT_LE_HCI_UART_RTS_PIN=9
# #CONFIG_BT_LE_HCI_UART_CTS_PIN=13
# 4. Partition Table
#--------------------
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_eh_cp_ota_4m.csv"
# 5. Mempool
#------------
CONFIG_ESP_CACHE_MALLOC=y
# # 6.1 LWIP split
# #---------------
#
# CONFIG_ESP_HOSTED_CP_FEAT_NW_SPLIT=y
# CONFIG_LWIP_TCP_LOCAL_PORT_RANGE_START=61440
# CONFIG_LWIP_TCP_LOCAL_PORT_RANGE_END=65535
# CONFIG_LWIP_UDP_LOCAL_PORT_RANGE_START=61440
# CONFIG_LWIP_UDP_LOCAL_PORT_RANGE_END=65535
#
#
# # 6.2 LWIP split examples
# #-------------------------
# 7. Transport config
#---------------------
# ESP_HOSTED_TRANSPORT_CP_SDIO_NSEND_PSAMPLE=y
# ESP_HOSTED_TRANSPORT_CP_SDIO_DEFAULT_SPEED=y
#ESP_HOSTED_TRANSPORT_CP_SDIO_STREAMING_MODE=y
# For SPI Full duplex C6 on ESP32-P4-Function-EV-Board, please uncomment below
#CONFIG_ESP_HOST_DEV_BOARD_P4_FUNC_BOARD=y
#CONFIG_ESP_HOSTED_TRANSPORT_CP_SPI=y
# 8. Wifi config
#----------------
CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM=20
CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=64
CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER_NUM=64
CONFIG_ESP_WIFI_AMPDU_TX_ENABLED=y
CONFIG_ESP_WIFI_TX_BA_WIN=32
CONFIG_ESP_WIFI_AMPDU_RX_ENABLED=y
CONFIG_ESP_WIFI_RX_BA_WIN=32
CONFIG_ESP_WIFI_RX_IRAM_OPT=y
CONFIG_ESP_WIFI_IRAM_OPT=y
# # 9. LWIP config
# #----------------
# CONFIG_LWIP_TCP_SND_BUF_DEFAULT=65535
# CONFIG_LWIP_TCP_WND_DEFAULT=65535
# CONFIG_LWIP_TCP_RECVMBOX_SIZE=64
# CONFIG_LWIP_UDP_RECVMBOX_SIZE=64
# CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=64
# CONFIG_LWIP_TCP_SACK_OUT=y
# #CONFIG_LWIP_TCPIP_CORE_LOCKING=y
# #CONFIG_LWIP_TCPIP_CORE_LOCKING_INPUT=y
# 10. Optimizations
#-------------------
CONFIG_COMPILER_OPTIMIZATION_PERF=y
# 11. Stats
#-----------
#CONFIG_ESP_HOSTED_FUNCTION_PROFILING=y
#CONFIG_ESP_PKT_STATS=y
# # 12 iperf task
# #--------------
+18 -11
View File
@@ -1,27 +1,32 @@
CONFIG_IDF_TARGET="esp32s3" # Waveshare ESP32-P4-Nano (docs/P4_NANO.md)
# XIAO ESP32S3 USB-C is wired to the native USB Serial/JTAG CONFIG_IDF_TARGET="esp32p4"
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y # Console on UART0: the board's USB-C port is a CH343 USB-UART
CONFIG_ETH_USE_SPI_ETHERNET=y CONFIG_ESP_CONSOLE_UART_DEFAULT=y
CONFIG_ETH_SPI_ETHERNET_W5500=y CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=n
# XIAO ESP32S3 Plus: 16 MB flash and 8 MB octal PSRAM (ESP32-S3R8) # Ethernet: the P4's own EMAC to the IP101 PHY over RMII
CONFIG_ETH_USE_SPI_ETHERNET=n
CONFIG_ETH_USE_ESP32_EMAC=y
# 16 MB flash, 32 MB PSRAM
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
CONFIG_SPIRAM=y CONFIG_SPIRAM=y
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_SPIRAM_SPEED_80M=y
CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
# Wi-Fi on the ESP32-C6 over SDIO (esp-hosted 3.1, the C6 runs radio-c6/), with peer data for ESP-NOW
CONFIG_SLAVE_IDF_TARGET_ESP32C6=y
CONFIG_ESP_HOSTED_SDIO_HOST_INTERFACE=y
CONFIG_ESP_HOSTED_HOST_FEAT_PEER_DATA=y
CONFIG_ESP_HOSTED_HOST_FEAT_PEER_DATA_MAX_CUSTOM_MSG_HANDLERS=8
CONFIG_COMPILER_OPTIMIZATION_SIZE=y CONFIG_COMPILER_OPTIMIZATION_SIZE=y
CONFIG_FREERTOS_HZ=1000 CONFIG_FREERTOS_HZ=1000
CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7 CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7
CONFIG_ESPNOW_CHANNEL=11 CONFIG_ESPNOW_CHANNEL=11
CONFIG_BEAT_TEST_GPIO=44
# A new OTA image must confirm itself (ota_confirm_later) or the bootloader goes back to the old one # A new OTA image must confirm itself (ota_confirm_later) or the bootloader goes back to the old one
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y
# /ws (browser websocket) # /ws (browser websocket)
CONFIG_HTTPD_WS_SUPPORT=y CONFIG_HTTPD_WS_SUPPORT=y
CONFIG_HTTPD_WS_POST_HANDSHAKE_CB_SUPPORT=y CONFIG_HTTPD_WS_POST_HANDSHAKE_CB_SUPPORT=y
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=8192 CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=10240
CONFIG_LWIP_TCP_SND_BUF_DEFAULT=16384 CONFIG_LWIP_TCP_SND_BUF_DEFAULT=16384
CONFIG_LWIP_TCP_WND_DEFAULT=16384 CONFIG_LWIP_TCP_WND_DEFAULT=16384
CONFIG_LWIP_TCP_RECVMBOX_SIZE=12 CONFIG_LWIP_TCP_RECVMBOX_SIZE=12
@@ -30,4 +35,6 @@ CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=64
CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER_NUM=64 CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER_NUM=64
CONFIG_ESP_WIFI_TX_BA_WIN=16 CONFIG_ESP_WIFI_TX_BA_WIN=16
CONFIG_ESP_WIFI_RX_BA_WIN=16 CONFIG_ESP_WIFI_RX_BA_WIN=16
CONFIG_LWIP_MAX_SOCKETS=16 # The rig page at /sim/ loads its drivers over several connections, beside the UI's own (main.c max_open_sockets)
CONFIG_LWIP_MAX_SOCKETS=40
CONFIG_LWIP_MAX_ACTIVE_TCP=32
+17 -4
View File
@@ -5,9 +5,12 @@
#include "sim_net.h" #include "sim_net.h"
#include <errno.h> #include <errno.h>
#include <fcntl.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/select.h>
#include <unistd.h>
#include "esp_log.h" #include "esp_log.h"
#include "esp_timer.h" #include "esp_timer.h"
#include "freertos/FreeRTOS.h" #include "freertos/FreeRTOS.h"
@@ -43,8 +46,10 @@ typedef struct {
} ddp_t; } ddp_t;
static SemaphoreHandle_t s_mu; static SemaphoreHandle_t s_mu;
static universe_t s_uni[MAX_UNIVERSES]; static universe_t *s_uni; // [MAX_UNIVERSES]. These are 130 KB together: on the heap, so in PSRAM on the board
static ddp_t s_ddp[SIM_NET_MAX_DDP_PORTS]; static ddp_t *s_ddp; // [SIM_NET_MAX_DDP_PORTS]
static uint8_t *s_frame; // flush's frame to the page
#define FRAME_CAP (1 + 6 + SIM_NET_DDP_PIXELS * 3)
static uint16_t s_want[SIM_NET_MAX_DDP_PORTS]; // the ports the room asks for static uint16_t s_want[SIM_NET_MAX_DDP_PORTS]; // the ports the room asks for
static int s_nwant; static int s_nwant;
static bool s_want_changed; static bool s_want_changed;
@@ -237,7 +242,7 @@ static void sync_ddp(void)
// Send what changed since the last tick to the page // Send what changed since the last tick to the page
static void flush(void) static void flush(void)
{ {
static uint8_t frame[1 + 6 + SIM_NET_DDP_PIXELS * 3]; uint8_t *frame = s_frame;
for (int i = 0; i < MAX_UNIVERSES; i++) { for (int i = 0; i < MAX_UNIVERSES; i++) {
xSemaphoreTake(s_mu, portMAX_DELAY); xSemaphoreTake(s_mu, portMAX_DELAY);
bool send = s_uni[i].uni >= 0 && s_uni[i].dirty; bool send = s_uni[i].uni >= 0 && s_uni[i].dirty;
@@ -330,13 +335,21 @@ void sim_net_start(void)
if (s_mu) { if (s_mu) {
return; return;
} }
s_mu = xSemaphoreCreateMutex(); s_uni = calloc(MAX_UNIVERSES, sizeof(*s_uni));
s_ddp = calloc(SIM_NET_MAX_DDP_PORTS, sizeof(*s_ddp));
s_frame = malloc(FRAME_CAP);
SemaphoreHandle_t mu = xSemaphoreCreateMutex();
if (!s_uni || !s_ddp || !s_frame || !mu) {
ESP_LOGE(TAG, "no memory: Art-Net and DDP fixtures stay dark");
return;
}
for (int i = 0; i < MAX_UNIVERSES; i++) { for (int i = 0; i < MAX_UNIVERSES; i++) {
s_uni[i].uni = -1; s_uni[i].uni = -1;
} }
for (int i = 0; i < SIM_NET_MAX_DDP_PORTS; i++) { for (int i = 0; i < SIM_NET_MAX_DDP_PORTS; i++) {
s_ddp[i].fd = -1; s_ddp[i].fd = -1;
} }
s_mu = mu;
const char *env = getenv("LED_SIM_ARTNET_PORT"); const char *env = getenv("LED_SIM_ARTNET_PORT");
if (env && env[0]) { if (env && env[0]) {
s_art_port = atoi(env); s_art_port = atoi(env);
+70 -15
View File
@@ -46,6 +46,12 @@
#include "esp_log.h" #include "esp_log.h"
#include "freertos/FreeRTOS.h" #include "freertos/FreeRTOS.h"
#include "freertos/semphr.h" #include "freertos/semphr.h"
#if !CONFIG_IDF_TARGET_LINUX
#include "freertos/idf_additions.h"
#include "freertos/queue.h"
#include "freertos/task.h"
#include "lwip/sockets.h"
#endif
#include "sim_net.h" #include "sim_net.h"
#include "store.h" #include "store.h"
@@ -126,7 +132,7 @@ static esp_err_t send_file(httpd_req_t *req, const char *path)
if (!find_file("index.html", &data, &len)) { if (!find_file("index.html", &data, &len)) {
httpd_resp_set_type(req, "text/plain"); httpd_resp_set_type(req, "text/plain");
return httpd_resp_sendstr(req, "The simulated rig is not in this build: run `make sim-wasm`, then rebuild " return httpd_resp_sendstr(req, "The simulated rig is not in this build: run `make sim-wasm`, then rebuild "
"(make sim-web, or make desktop)."); "(make build, make sim-web or make desktop).");
} }
return httpd_resp_send_404(req); return httpd_resp_send_404(req);
} }
@@ -669,7 +675,10 @@ static cJSON *room_names(void)
{ {
char dir[300]; char dir[300];
snprintf(dir, sizeof(dir), "%s/sim/rooms", db_root()); snprintf(dir, sizeof(dir), "%s/sim/rooms", db_root());
char names[64][41]; char (*names)[41] = malloc(64 * sizeof(*names)); // 2.6 KB: too much for the board's task stacks
if (!names) {
return cJSON_CreateArray();
}
int n = 0; int n = 0;
DIR *dp = opendir(dir); DIR *dp = opendir(dir);
struct dirent *e; struct dirent *e;
@@ -691,6 +700,7 @@ static cJSON *room_names(void)
for (int i = 0; i < n; i++) { for (int i = 0; i < n; i++) {
cJSON_AddItemToArray(a, cJSON_CreateString(names[i])); cJSON_AddItemToArray(a, cJSON_CreateString(names[i]));
} }
free(names);
return a; return a;
} }
@@ -802,7 +812,7 @@ static const cJSON *fixture_by_mac(const cJSON *room, const char *mac12)
/* ------------------------------------------------------------------ the page's link */ /* ------------------------------------------------------------------ the page's link */
static httpd_handle_t s_hd; static httpd_handle_t s_hd;
static int s_page_fd = -1; static volatile int s_page_fd = -1;
static SemaphoreHandle_t s_tx_mu; // one frame at a time to the page static SemaphoreHandle_t s_tx_mu; // one frame at a time to the page
static bool page_open_locked(void) static bool page_open_locked(void)
@@ -815,13 +825,9 @@ static bool page_open_locked(void)
bool sim_rig_page_open(void) bool sim_rig_page_open(void)
{ {
if (!s_tx_mu) { // Without s_tx_mu: a page that stopped reading holds it for seconds, and bridge.c asks with its own lock held
return false; int fd = s_page_fd;
} return s_hd && fd >= 0 && httpd_ws_get_fd_info(s_hd, fd) == HTTPD_WS_CLIENT_WEBSOCKET;
xSemaphoreTake(s_tx_mu, portMAX_DELAY);
bool open = page_open_locked();
xSemaphoreGive(s_tx_mu);
return open;
} }
static bool send_frame(int fd, httpd_ws_type_t type, const uint8_t *data, size_t len) static bool send_frame(int fd, httpd_ws_type_t type, const uint8_t *data, size_t len)
@@ -845,9 +851,40 @@ bool sim_rig_page_send(const uint8_t *frame, size_t len)
return ok; return ok;
} }
#if !CONFIG_IDF_TARGET_LINUX
// On the board the C6 radio shares bridge_send with the page, so a slow page must not hold it up: the frames go
// through a queue, and a full queue loses them, as on air
#define TX_QUEUE_LEN 64
typedef struct {
uint16_t len;
uint8_t data[1 + 6 + 250];
} tx_frame_t;
static QueueHandle_t s_txq;
static void tx_task(void *arg)
{
(void)arg;
tx_frame_t f;
for (;;) {
xQueueReceive(s_txq, &f, portMAX_DELAY);
sim_rig_page_send(f.data, f.len);
}
}
#endif
// Called by bridge.c for the "browser" bridge: dst_mac(6) + packet, sent to the page behind a 0 byte // Called by bridge.c for the "browser" bridge: dst_mac(6) + packet, sent to the page behind a 0 byte
bool sim_rig_tx(const uint8_t *frame, size_t len) bool sim_rig_tx(const uint8_t *frame, size_t len)
{ {
#if !CONFIG_IDF_TARGET_LINUX
tx_frame_t f;
if (!s_txq || s_page_fd < 0 || len + 1 > sizeof(f.data)) {
return false;
}
f.len = (uint16_t)(len + 1);
f.data[0] = 0;
memcpy(f.data + 1, frame, len);
return xQueueSend(s_txq, &f, 0) == pdTRUE;
#else
uint8_t buf[1 + 6 + 256]; uint8_t buf[1 + 6 + 256];
if (len + 1 > sizeof(buf)) { if (len + 1 > sizeof(buf)) {
return false; return false;
@@ -855,6 +892,7 @@ bool sim_rig_tx(const uint8_t *frame, size_t len)
buf[0] = 0; buf[0] = 0;
memcpy(buf + 1, frame, len); memcpy(buf + 1, frame, len);
return sim_rig_page_send(buf, len + 1); return sim_rig_page_send(buf, len + 1);
#endif
} }
// The receiver listens on the DDP ports the room's DDP fixtures use // The receiver listens on the DDP ports the room's DDP fixtures use
@@ -889,6 +927,10 @@ static esp_err_t ws_open(httpd_req_t *req)
return ESP_FAIL; return ESP_FAIL;
} }
int fd = httpd_req_to_sockfd(req); int fd = httpd_req_to_sockfd(req);
#if !CONFIG_IDF_TARGET_LINUX
int one = 1; // small frames: do not let Nagle hold them for the page's delayed ACK
setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &one, sizeof(one));
#endif
xSemaphoreTake(s_tx_mu, portMAX_DELAY); xSemaphoreTake(s_tx_mu, portMAX_DELAY);
int old = page_open_locked() ? s_page_fd : -1; int old = page_open_locked() ? s_page_fd : -1;
s_page_fd = fd; s_page_fd = fd;
@@ -999,8 +1041,10 @@ static esp_err_t flash_get(httpd_req_t *req, const char *mac_in)
sim_path(p, sizeof(p), "flash", h, ".json"); sim_path(p, sizeof(p), "flash", h, ".json");
cJSON *room = load_room(s_room, err, sizeof(err)); cJSON *room = load_room(s_room, err, sizeof(err));
const cJSON *f = room ? fixture_by_mac(room, h) : NULL; const cJSON *f = room ? fixture_by_mac(room, h) : NULL;
cJSON *nvs = read_json(p); char *before = read_text(p, FLASH_MAX);
if (!nvs) { cJSON *nvs = before ? cJSON_Parse(before) : NULL;
if (!cJSON_IsObject(nvs)) {
cJSON_Delete(nvs);
nvs = cJSON_CreateObject(); nvs = cJSON_CreateObject();
} }
cJSON *led = cJSON_GetObjectItem(nvs, "led"); cJSON *led = cJSON_GetObjectItem(nvs, "led");
@@ -1027,9 +1071,14 @@ static esp_err_t flash_get(httpd_req_t *req, const char *mac_in)
NVS_SET("espnow_ch", "i64", cJSON_CreateNumber(WIFI_CHANNEL)); NVS_SET("espnow_ch", "i64", cJSON_CreateNumber(WIFI_CHANNEL));
NVS_SET("espnow", "str", cJSON_CreateString("on")); NVS_SET("espnow", "str", cJSON_CreateString("on"));
#undef NVS_SET #undef NVS_SET
xSemaphoreTake(s_mu, portMAX_DELAY); char *after = cJSON_PrintUnformatted(nvs);
write_json(p, nvs, false); if (after && (!before || strcmp(before, after))) { // only a change is written: every page load asks for every bar
xSemaphoreGive(s_mu); xSemaphoreTake(s_mu, portMAX_DELAY);
write_text(p, after);
xSemaphoreGive(s_mu);
}
free(before);
free(after);
cJSON_Delete(room); cJSON_Delete(room);
return api_json(req, "200 OK", nvs, true); return api_json(req, "200 OK", nvs, true);
} }
@@ -1250,6 +1299,12 @@ esp_err_t sim_rig_register(httpd_handle_t server)
if (!s_mu || !s_tx_mu) { if (!s_mu || !s_tx_mu) {
return ESP_ERR_NO_MEM; return ESP_ERR_NO_MEM;
} }
#if !CONFIG_IDF_TARGET_LINUX
s_txq = xQueueCreateWithCaps(TX_QUEUE_LEN, sizeof(tx_frame_t), MALLOC_CAP_SPIRAM);
if (!s_txq || xTaskCreate(tx_task, "sim_tx", 4096, NULL, 4, NULL) != pdPASS) {
return ESP_ERR_NO_MEM;
}
#endif
load_active(); load_active();
sim_net_start(); sim_net_start();
active_room_ports(); active_room_ports();
+1 -1
View File
@@ -1424,7 +1424,7 @@ async function tlInitTarget() {
} }
try { try {
const r = await fetch('/sim/api/config', { cache: 'no-store' }); const r = await fetch('/sim/api/config', { cache: 'no-store' });
seqTl.simAvail = r.ok; // the board: no simulator seqTl.simAvail = r.ok;
} catch (_) { } catch (_) {
seqTl.simAvail = false; seqTl.simAvail = false;
} }
Loaded 100 of 101 files, more files were not shown because too many files have changed in this diff. Show more