code wiki / (root) / nx_tuya_smartconfig_gate.nx

nx_tuya_smartconfig_gate.nx

buildroot/runtime/nx_tuya_smartconfig_gate.nx

1434 B29 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic tuya
docsdependenciesstructsconstsfunctions

about

nx_tuya_smartconfig_gate.nx -- KAT for the sovereign Tuya broadcast encoder vs tuya-convert reference vectors (generated from the cited broadcast.py+crc.py). expect_exit: 0 CRC-8: crc_8([1])=94, [10]=126, [255]=53, ["abc"]=66, [0]=0 body("a","b","c") = [16,37,51,79,194,128,257,353,257,355,218,129,354,256] license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_tuya_smartconfig.nx nx_tuya_smartconfig_gate.nx

imports: nx_tuya_smartconfig.nx

imported by: nobody (leaf or entry point)

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

main nx_tuya_crc8 nx_tuya_crc8_byte nx_tuya_bcast nx_tuya_crc8 ↻ nx_tuya_crc8_byte ↻

structs

none

consts

none

functions

8func main() -> i64