pfodParser 5.0.1 The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections

pfodParserUtils.h
Go to the documentation of this file.
1 #ifndef pfodParserUtils_h
2 #define pfodParserUtils_h
6 /*
7 * (c)2014-2017 Forward Computing and Control Pty. Ltd.
8 * NSW Australia, www.forward.com.au
9 * This code is not warranted to be fit for any purpose. You may only use it at your own risk.
10 * This code may be freely used for both private and commercial use
11 * Provide this copyright is maintained.
12 */
13
14 // will always put '\0' at dest[maxLen]
15 size_t strncpy_safe(char* dest, const char* src, size_t maxLen);
16 uint32_t ipStrToNum(const char* ipStr);
17 void getProgStr(const __FlashStringHelper *ifsh, char*str, int maxLen);
18
19 #endif
strncpy_safe
size_t strncpy_safe(char *dest, const char *src, size_t maxLen)
pfodParserUtils for Arduino
ipStrToNum
uint32_t ipStrToNum(const char *ipStr)
getProgStr
void getProgStr(const __FlashStringHelper *ifsh, char *str, int maxLen)