mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
introduced send fec command
This commit is contained in:
parent
996de08767
commit
2292898f1a
1 changed files with 7 additions and 0 deletions
|
@ -678,6 +678,13 @@ exports.sendTestFrame = function () {
|
||||||
writeTncCommand(command);
|
writeTncCommand(command);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// SEND FEC
|
||||||
|
exports.sendFEC = function (mode, payload) {
|
||||||
|
command = '{"type" : "fec", "command" : "send_fec", "mode" : "' + mode + '", "payload" : "' + payload + '"}';
|
||||||
|
writeTncCommand(command);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
// RECORD AUDIO
|
// RECORD AUDIO
|
||||||
exports.record_audio = function () {
|
exports.record_audio = function () {
|
||||||
command = '{"type" : "set", "command" : "record_audio"}';
|
command = '{"type" : "set", "command" : "record_audio"}';
|
||||||
|
|
Loading…
Reference in a new issue