-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
какая-то магия с таймингами при работе с рациями
* Реализовал доп проверку в приёме пакета, так как обнаружилось, что при передаче голосовых данных мог придти абсолютно ненужный пакет большой длины, поэтому теперь игнорируем такие пакеты; * в приёме байта в случае неудачи возвращаю 0, так 0xffff мог угодить в длину, и тогда мы долго, пытаемся поймать пакет большой длины; * с таймингами нужно разобраться, пока не понял в чем дело, но delay между пустым пакетом и запросом делает то, что нужно, но пауза на отпрвку нет (??);
- Loading branch information
1 parent
2f3037b
commit 7e1a609
Showing
4 changed files
with
148 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters