nx_escl_test.nx
buildroot/runtime/nx_escl_test.nx
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
imports: nx_syscalls.nxnx_escl.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| none |
functions
| 10 | func 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 |
| 13 | func build_caps(buf: *u8) -> i64 calls 1: ex_puts |
| 38 | func main() -> i64 |