Comments (8)
Hi, you should write only one of the addresses to the dst
and flash both the devices with the same code!
So, write, for example:
linkaddr_t dst = {{0xd4, 0x1f}}
Flash both the devices and you'll see that device 0x16AE will start ranging with 0xD41F.
Let us know how it goes!
from contiki-uwb.
Did it work? Can I close the issue?
from contiki-uwb.
Hi, can you copy and paste here several first lines of the serial output of a node after you reset it?
from contiki-uwb.
from contiki-uwb.
Sorry, rebuild the program with the new file you upload, and get new information.
Here is the output shows on Tera Tern after I push the reset button.
Device1:
DW1000 Radio Configuration:
Channel: 4
PRF: 2
PLEN: 20
PAC Size: 0
TX Pre Code: 17
RX Pre Code: 17
Non-std SFD: 0
Data Rate: 2
PHR Mode: 0
SFD Timeout: 129
Smart TX power: 1
PG Delay: 95
TX Power: 3a5a7a9a
RX ant delay: 16455
TX ant delay: 16455
Short address: 0x16ae
I am 16ae dst 16ae
Device2:
Starting Contiki-3.x-3345-g32b5b17
Network stack: Rime over UWB
DW1000 Radio Configuration:
Channel: 4
PRF: 2
PLEN: 20
PAC Size: 0
TX Pre Code: 17
RX Pre Code: 17
Non-std SFD: 0
Data Rate: 2
PHR Mode: 0
SFD Timeout: 129
Smart TX power: 1
PG Delay: 95
TX Power: 3a5a7a9a
RX ant delay: 16455
TX ant delay: 16455
Short address: 0xd41f
I am d41f dst d41f
My new question is about the short address, should I edit Device1's code, on 'rng.c' , linkaddr_t dst = {{0xdd, 0x37}}; to linkaddr_t dst = {{0xd4, 0x1f}};
And Device2's code, on 'rng.c', to linkaddr_t dst = {{0x16, 0xae}};
Or I misunderstand the information. Sorry to bother you, and thanks again!!
from contiki-uwb.
Sorry, because itβs Chinese New Year now, I will try it as soon as possible(Maybe 1/27), and tell you the result!
from contiki-uwb.
from contiki-uwb.
Great!
from contiki-uwb.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contiki-uwb.