Skip to content
Snippets Groups Projects
Commit 5cd6b986 authored by f4grx's avatar f4grx
Browse files

add a dedicated RF beacon config, beacon delay 2s, define default beacon payload

parent 6fd58564
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,10 @@ int beacon_main(int argc, char *argv[])
{
data = argv[1];
}
else if(argc == 1)
{
data = "HELLO 73";
}
else
{
return beacon_usage();
......@@ -138,7 +142,7 @@ int beacon_main(int argc, char *argv[])
printf("write failed, errno=%d\n", errno);
break;
}
sleep(1);
sleep(2);
seqnum += 1;
}
......
This diff is collapsed.
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