7 static const char passwordKey[] = "NtgrSmartSwitchRock";
10 void passwordEndecode (char *buf, unsigned int len)
12 const char *k = passwordKey;
15 if (buf == NULL || len <= 0)
18 for (i = 0; i < len; i++) {
26 int trim (char *txt, int start)
34 while (p >= txt && (*p == ' ' || *p == '\n')) {