ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
validation.hpp
Go to the documentation of this file.
1#ifndef LIB_USER_CONFIG_INCLUDE_VALIDATION_HPP
2#define LIB_USER_CONFIG_INCLUDE_VALIDATION_HPP
3
4#include <Arduino.h>
5
14String validateUInt(const String& value, const String& name);
15
24String validateFloat(const String& value, const String& name);
25
34String validateURL(const String& value);
35
36#endif // LIB_USER_CONFIG_INCLUDE_VALIDATION_HPP
String validateFloat(const String &value, const String &name)
Validate a string as a floating-point number.
String validateUInt(const String &value, const String &name)
Validate a string as an unsigned integer.
Definition validation.cpp:3
String validateURL(const String &value)
Validate a string as a URL.