code wiki / (root) / nx_escl_test.nx

nx_escl_test.nx

buildroot/runtime/nx_escl_test.nx

4003 B63 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_escl_test.nx -- offline gate for the eSCL scan protocol layer (nx_escl). Unique exit codes per invariant: 1-5 ScanSettings emit carries the requested resolution / region / color mode / format / source 10-14 ScannerCapabilities parse extracts MaxWidth/MaxHeight + sees the advertised color modes & formats 15-16 negative controls: a format NOT advertised -> 0 ; an absent tag -> -1 (no fabricated value) expect_exit: 0 ; license_tier: ORIGINAL ; genealogy_id: project-printer-management-ipp-sclass-2026-06-20

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_escl.nx nx_escl_test.nx

imports: nx_syscalls.nxnx_escl.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

10func t_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
calls 1: sys_write
13func build_caps(buf: *u8) -> i64
calls 1: ex_puts
38func main() -> i64