Comments (4)
What I replied:
You can indeed use the RPi as 6LBR host platform, and the Econotag as a SLIP-radio. The application we use for slip-radio is the one in /examples/ipv6/slip-radio and you can build it for the econotag target. Just a small detail - in slip-radio, the border router sends '!C' to the mode to set the 802.15.4 channel number. Setting the channel number isn't part of the Contiki Radio API, and the slip-radio example uses cc2420_set_channel(). We modified the slip-radio example in the 6LBR repository to support another platform, which has an RF230 radio. In slip-radio.c, we select a command handler depending on the platform: #ifdef CONTIKI_TARGET_SKY int cmd_handler_cc2420(const uint8_t *data, int len); #elif CONTIKI_TARGET_NOOLIBERRY int cmd_handler_rf230(const uint8_t *data, int len); #endif /* CONTIKI_TARGET */ An the rest is implemented in target-specific files ( slip-radio-rf230.c and slip-radio-cc2420.c). I haven't tested building slip-radio for econotag, but it should be straightforward to build it, and fairly easy to add an extra #if and source file to implement econotag-specific channel switching. My collegue Laurent who is reading this list couldn't stop himself from testing this modification as we speak, so half of my email is already outdated :) We will let you know when it's ready.
from 6lbr.
implemented by @laurentderu in 06458cc
from 6lbr.
06458cc could be pulled into Contiki as is.
so can 5cca059 (slip radio for nooliberry)
@laurentderu do the top 2 commits on https://github.com/cetic/contiki/tree/slip-radio-platforms look sane to you?
Also, what about modifications in contiki-sky-main.c c67bf67 + 6af36bc ? Do we need this for other slip-radio platforms in 6lbr?
from 6lbr.
How, do you burn slip-radio_econotag.bin to the econotag. I tried using the ./mcburn.sh that i normally use to flash the econotag. Now in the process when I need to reset ship to start program the econotag doesnt reset. Is there a different way i need to flash econotag?
from 6lbr.
Related Issues (20)
- only 210 nodes get found
- Issue "corrupted size vs. prev_size" on Debian with libc6 2.24-11+deb9u4
- Could not ping6 to nodes
- contiki timer
- Web Interface crashes
- Native configuration file: nvm.conf
- Accessing cc1310 nodes from ipv4 public internet
- CC2530 UART module with 6lbr
- Connecting CC2530 to 6LBR HOT 2
- Unable to detect sensor nodes in 6lbr webpage with only BR in Node Tree
- webserver-node-info-export.c doesn't handle 'path' parameter
- Routing mode
- webserver buffer overflow when processing requested url HOT 10
- Setting up 6lbr on Raspberry Pi 4, nvm_tool missing
- Setting up 6lbr on Raspberry Pi 4, nvm_tool missing
- CC2650 SensorTag running cc26xx-web-demo does not connect to 6lbr network!
- 6lbr Raspberry Pi Configuration Bug
- How to build 6lbr-demo with CoAP-DTLS on cc2650 Sensortag
- Native compilation for nRF52840 platform
- not getting ip6 address i.e. bbbb::100
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 6lbr.