Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TP lora COOC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Monitor
Incidents
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LANGLAIS Charlotte
TP lora COOC
Commits
20971d8c
Commit
20971d8c
authored
1 year ago
by
LANGLAIS Charlotte
Browse files
Options
Downloads
Patches
Plain Diff
Update main_template.py
parent
b9c2ec29
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
OTAA/main_template.py
+1
-1
1 addition, 1 deletion
OTAA/main_template.py
with
1 addition
and
1 deletion
OTAA/main_template.py
+
1
−
1
View file @
20971d8c
...
...
@@ -31,7 +31,7 @@ time.sleep(1)
# configure the parameters of LoRaWAN, authorize adaptive datarate and choose a CLASS C device
lora
=
LoRa
(
mode
=
LoRa
.
LORAWAN
,
region
=
LoRa
.
EU868
,
adr
=
True
,
device_class
=
LoRa
.
CLASS_C
,
adr
=
False
)
lora
=
LoRa
(
mode
=
LoRa
.
LORAWAN
,
region
=
LoRa
.
EU868
,
device_class
=
LoRa
.
CLASS_C
,
adr
=
False
)
print
(
'
DevEUI :
'
,
binascii
.
hexlify
(
lora
.
mac
()).
upper
())
lora
.
nvram_restore
()
#if there is nothing to restore it will return a False
...
...
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