Commit 6fd58564 authored by f4grx's avatar f4grx

update beacon payload, add a tx delay

parent d7519bbb
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment