code wiki / (root) / nx_iot_local_magic_home_test.nx

nx_iot_local_magic_home_test.nx

buildroot/runtime/nx_iot_local_magic_home_test.nx

10400 B267 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic iot
docsdependenciesstructsconstsfunctions

about

nx_iot_local_magic_home_test.nx -- end-to-end smoke for the Magic Home / Flux LED kind generator. Coverage: - sealed-enum verdict validity gate (full enum) - checksum: sum-mod-256 reference values - frame builders: power on / off / RGBW persist / RGBW transient / RGB-only / warm-white / query / preset. Each verifies byte layout + checksum. - discovery payload + reply parse (well-formed + malformed) - status parser: v9 (14 bytes) + v10 (16 bytes) + bad sentinel + bad checksum + bad length expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls_x86_64.nx nx_iot_local_magic_home.nx nx_iot_local_magic_home_test.n

imports: nx_syscalls_x86_64.nxnx_iot_local_magic_home.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_iot_mh_verdict_is_valid nx_iot_mh_checksum nx_iot_mh_build_power nx_iot_mh_checksum ↻ nx_iot_mh_build_rgbw nx_iot_mh_checksum ↻ nx_iot_mh_build_rgb nx_iot_mh_checksum ↻ nx_iot_mh_build_warm_white nx_iot_mh_checksum ↻ nx_iot_mh_build_query nx_iot_mh_checksum ↻ nx_iot_mh_build_preset nx_iot_mh_checksum ↻ nx_iot_mh_build_discovery nx_iot_mh_parse_discovery_ nx_iot_mh_find_byte nx_iot_mh_parse_status nx_iot_mh_checksum ↻

structs

none

consts

none

functions

21func main() -> i64