Skip to content
Snippets Groups Projects
Commit 6fd58564 authored by f4grx's avatar f4grx
Browse files

update beacon payload, add a tx delay

parent d7519bbb
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ int beacon_main(int argc, char *argv[])
while(1)
{
sprintf(buf, "de %s/%d, seq=%u, hn70ap beacon: %s\n", call, ssid, seqnum, data);
sprintf(buf, "DE %s/%d HN70AP TEST BEACON SEQ %u: %s\n", call, ssid, seqnum, data);
printf("%s", buf);
ret = write(fd, buf, strlen(buf));
if(ret < 0)
......@@ -138,6 +138,7 @@ int beacon_main(int argc, char *argv[])
printf("write failed, errno=%d\n", errno);
break;
}
sleep(1);
seqnum += 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment