code wiki / (root) / nx_escl_probe.nx

nx_escl_probe.nx

buildroot/runtime/nx_escl_probe.nx

4634 B94 linesdepth 6pulls 9 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

nx_escl_probe.nx -- LIVE, READ-ONLY eSCL probe: does the real Brother speak the open scan standard? Sends an HTTP GET /eSCL/ScannerCapabilities to 192.168.8.127:80 (reusing the sovereign TCP + HTTP-framing primitives from nx_ipp_transport), and feeds the body to the gated nx_escl parser. A NEGATIVE result (no eSCL) is an HONEST finding about this 2015-era MFP -- scan would then need WSD or a vendor path. READ-ONLY (a GET) -> never-brick #26. license_tier: ORIGINAL ; genealogy_id: project-printer-management-ipp-sclass-2026-06-20

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_connect.nx nx_ipp_transport.nx nx_escl.nx nx_escl_probe.nx

imports: nx_syscalls.nxnx_connect.nxnx_ipp_transport.nxnx_escl.nx

imported by: nobody (leaf or entry point)

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

main p sys_write

structs

none

consts

11const K_MAGIC_1024: i64 = 1024
12const K_MAGIC_262144: i64 = 262144

functions

14func p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
15func pn(v: i64) -> i64
26func main() -> i64
calls 1: p