mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-09 21:55:52 +00:00
plug obk-specific commands to the interface
This commit is contained in:
@ -693,6 +693,14 @@ int JSON_ProcessCommandReply(const char *cmd, const char *arg, void *request, js
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!wal_strnicmp(cmd, "GetChannel", 10) || !wal_strnicmp(cmd, "SetChannel", 10) || !wal_strnicmp(cmd, "AddChannel", 10)) {
|
||||
// OBK-specific
|
||||
int i = atoi(arg);
|
||||
i = CHANNEL_Get(i);
|
||||
|
||||
printer(request, "%i",i);
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user