Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
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
Service Desk
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
cm-projects
RIOT
Commits
a95bea6c
Commit
a95bea6c
authored
6 years ago
by
Jose Alamos
Browse files
Options
Downloads
Patches
Plain Diff
ieee802154: add brief tag to configuration macros
parent
f50a239f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sys/include/net/ieee802154.h
+16
-1
16 additions, 1 deletion
sys/include/net/ieee802154.h
with
16 additions
and
1 deletion
sys/include/net/ieee802154.h
+
16
−
1
View file @
a95bea6c
...
@@ -116,24 +116,39 @@ extern const uint8_t ieee802154_addr_bcast[IEEE802154_ADDR_BCAST_LEN];
...
@@ -116,24 +116,39 @@ extern const uint8_t ieee802154_addr_bcast[IEEE802154_ADDR_BCAST_LEN];
* @ingroup config
* @ingroup config
* @{
* @{
*/
*/
/**
* @brief IEEE802.15.4 default sub-GHZ channel
*/
#ifndef IEEE802154_DEFAULT_SUBGHZ_CHANNEL
#ifndef IEEE802154_DEFAULT_SUBGHZ_CHANNEL
#define IEEE802154_DEFAULT_SUBGHZ_CHANNEL (5U)
#define IEEE802154_DEFAULT_SUBGHZ_CHANNEL (5U)
#endif
#endif
/**
* @brief IEEE802.15.4 default channel
*/
#ifndef IEEE802154_DEFAULT_CHANNEL
#ifndef IEEE802154_DEFAULT_CHANNEL
#define IEEE802154_DEFAULT_CHANNEL (26U)
#define IEEE802154_DEFAULT_CHANNEL (26U)
#endif
#endif
/**
* @brief IEEE802.15.4 default sub-GHZ page
*/
#ifndef IEEE802154_DEFAULT_SUBGHZ_PAGE
#ifndef IEEE802154_DEFAULT_SUBGHZ_PAGE
#define IEEE802154_DEFAULT_SUBGHZ_PAGE (2U)
#define IEEE802154_DEFAULT_SUBGHZ_PAGE (2U)
#endif
#endif
/**
* @brief IEEE802.15.4 default PANID
*/
#ifndef IEEE802154_DEFAULT_PANID
#ifndef IEEE802154_DEFAULT_PANID
#define IEEE802154_DEFAULT_PANID (0x0023U)
#define IEEE802154_DEFAULT_PANID (0x0023U)
#endif
#endif
/**
* @brief IEEE802.15.4 default TX power (in dBm)
*/
#ifndef IEEE802154_DEFAULT_TXPOWER
#ifndef IEEE802154_DEFAULT_TXPOWER
#define IEEE802154_DEFAULT_TXPOWER (0)
/* in dBm */
#define IEEE802154_DEFAULT_TXPOWER (0)
#endif
#endif
/** @} */
/** @} */
...
...
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