Function anjay_binding_mode_valid

Function Documentation

bool anjay_binding_mode_valid(const char *binding_mode)

Checks whether the passed string is a valid LwM2M Binding Mode.

Returns:

true for "U", "S", "US", "UQ", "SQ", "UQS", false in any other case.