mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-07 09:18:01 +08:00
ggwave : add mono-tone protocols
This commit is contained in:
@@ -279,6 +279,11 @@ int main(int argc, char ** argv) {
|
||||
printf("Testing: protocol = %s, in = %d, out = %d\n", txProtocol.second.name, formatInp, formatOut);
|
||||
|
||||
for (int length = 1; length <= (int) payload.size(); ++length) {
|
||||
// mono-tone protocols with variable length are not supported
|
||||
if (txProtocol.second.extra == 2) {
|
||||
break;
|
||||
}
|
||||
|
||||
// variable payload length
|
||||
{
|
||||
auto parameters = GGWave::getDefaultParameters();
|
||||
|
||||
Reference in New Issue
Block a user