Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hn70ap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
hn70ap
Commits
5cd6b986
Commit
5cd6b986
authored
6 years ago
by
f4grx
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/beacon/beacon_main.c
+5
-1
5 additions, 1 deletion
apps/beacon/beacon_main.c
build/beacon/defconfig
+1840
-0
1840 additions, 0 deletions
build/beacon/defconfig
with
1845 additions
and
1 deletion
apps/beacon/beacon_main.c
+
5
−
1
View file @
5cd6b986
...
...
@@ -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.
Click to expand it.
build/beacon/defconfig
0 → 100644
+
1840
−
0
View file @
5cd6b986
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment