cwmp_ex v0.2.1 CWMP.Protocol.ParserHelpers

Summary

Functions

Ensures that the passed value is an integer and that it satisfies the restraints layed out by the anon function passed

Returns nil or a “x-y” string extrapolated from the uri if it matches the pattern of a cwmp version

Functions

boolValue(s)
datetimeStructure(timestring)
integerValue(i, fun \\ fn x -> x end)

Ensures that the passed value is an integer and that it satisfies the restraints layed out by the anon function passed.

parse_cwmp_version(uri)

Returns nil or a “x-y” string extrapolated from the uri if it matches the pattern of a cwmp version.

push_handler(state, handler)
update_acc(state, fun)