Codec for <Net3g4gInfo>.
Build a <Net3g4gInfo> element
Build a <Net3g4gInfo> element
import { assertStringIncludes } from "@std/assert"; import { net3g4gInfo } from "@hertzg/reolink-api/protocol/params"; const xml = net3g4gInfo.encode({ sigIntensityLevel: 2, sigIntensityValue: -95, netMode: 3, mobileOperator: 10, }); assertStringIncludes(xml, "<sigIntensityLevel>2</sigIntensityLevel>");
XmlParam<"Net3g4gInfo", Net3g4gInfo>