Other Parts Discussed in Thread: CC2538, CC2630, CC2650, CC1310, CC1200
hi team,
Currently, the channel is defined on project-conf.h . It's hard-coded. Is it possible to use API to dynamically change RF channel on Edge-router, node ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Sounds like Contiki to me. On most platforms you are able to, during run-time, change radio channel using the netstack API, eg NETSTACK_RADIO.set_param()... The question is why you want to do this. Are you considering to build a hopping protocol? If so, also consider how you get all devices in the network to change channel at the same time so that there are no devices left behind without ability to communicate. How do you get fresh (ie newly rebooted) devices to find the right channel? How do you handle transmissions close to a channel hop? And so on, and so on. There's a lot that goes into a robust channel hopping protocol, we know that allright... :)
Yeah, that's the API.
By the way, even for large networks, switching channels may be a total disaster (on many levels).
So, advice to your customer to consider this twice.
We have a network of 100 nodes (Contiki based, but not a 6LoWPAN) on the same channel and PAN ID and it works
just fine. The HW in our case is for nodes and a gateway is cc2538 (we have 2 gateways for the entire network).
We support CC2538 or cc2650 for 2.4 GHz, and cc2538+cc1200 or cc1310 for sub-GHz. Some others too, but I think those are the most interesting for you. Feel free to pass my contact information along to them or to loop me into the discussion. I'd be happy to tell you and them more about our system.