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
da0866a6
Unverified
Commit
da0866a6
authored
6 years ago
by
Koen Zandberg
Browse files
Options
Downloads
Patches
Plain Diff
cc2538_rf: Remove PAN ID initialization from reset
parent
16785807
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cpu/cc2538/include/cc2538_rf.h
+0
-1
0 additions, 1 deletion
cpu/cc2538/include/cc2538_rf.h
cpu/cc2538/radio/cc2538_rf.c
+0
-1
0 additions, 1 deletion
cpu/cc2538/radio/cc2538_rf.c
cpu/cc2538/radio/cc2538_rf_netdev.c
+0
-3
0 additions, 3 deletions
cpu/cc2538/radio/cc2538_rf_netdev.c
with
0 additions
and
5 deletions
cpu/cc2538/include/cc2538_rf.h
+
0
−
1
View file @
da0866a6
...
...
@@ -57,7 +57,6 @@ extern "C" {
#define CC2538_RF_POWER_DEFAULT (IEEE802154_DEFAULT_TXPOWER)
/**< Default output power in dBm */
#define CC2538_RF_CHANNEL_DEFAULT (IEEE802154_DEFAULT_CHANNEL)
#define CC2538_RF_PANID_DEFAULT (IEEE802154_DEFAULT_PANID)
#define OUTPUT_POWER_MIN (-24)
/**< Min output power in dBm */
#define OUTPUT_POWER_MAX (7)
/**< Max output power in dBm */
...
...
This diff is collapsed.
Click to expand it.
cpu/cc2538/radio/cc2538_rf.c
+
0
−
1
View file @
da0866a6
...
...
@@ -88,7 +88,6 @@ void cc2538_init(void)
cc2538_set_tx_power
(
CC2538_RF_POWER_DEFAULT
);
cc2538_set_chan
(
CC2538_RF_CHANNEL_DEFAULT
);
cc2538_set_pan
(
CC2538_RF_PANID_DEFAULT
);
cc2538_set_addr_long
(
cc2538_get_eui64_primary
());
/* Select the observable signals (maximum of three) */
...
...
This diff is collapsed.
Click to expand it.
cpu/cc2538/radio/cc2538_rf_netdev.c
+
0
−
3
View file @
da0866a6
...
...
@@ -353,7 +353,6 @@ static int _init(netdev_t *netdev)
cc2538_rf_t
*
dev
=
(
cc2538_rf_t
*
)
netdev
;
_dev
=
netdev
;
uint16_t
pan
=
cc2538_get_pan
();
uint16_t
chan
=
cc2538_get_chan
();
uint16_t
addr_short
=
cc2538_get_addr_short
();
uint64_t
addr_long
=
cc2538_get_addr_long
();
...
...
@@ -361,8 +360,6 @@ static int _init(netdev_t *netdev)
netdev_ieee802154_reset
(
&
dev
->
netdev
);
/* Initialise netdev_ieee802154_t struct */
netdev_ieee802154_set
(
&
dev
->
netdev
,
NETOPT_NID
,
&
pan
,
sizeof
(
pan
));
netdev_ieee802154_set
(
&
dev
->
netdev
,
NETOPT_CHANNEL
,
&
chan
,
sizeof
(
chan
));
netdev_ieee802154_set
(
&
dev
->
netdev
,
NETOPT_ADDRESS
,
...
...
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