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.

[RF4CE=Controller]: Single Channel Pairing Question

Other Parts Discussed in Thread: REMOTI

Hi,

Basically, in RF4CE, target determines which frequency bands (MAC ch15, 20 or 25) the network will operate in ( ->called: frequency agility).

Understand that, In RemoTI this 'frequency agility' feature can be disabled in the 'Target', to enable single channel pairing (by selecting/setting which channel we want the target to operate in). In this case, 'Controller' will send out discovery frames in all three channels, but it will only be paired in the Target's frequency during the pairing/discovery.

 

For testing purposes, 3 Controllers is going to be paired with 3 different Targets (in the same room), to constitute one single channel for each succesful pairing; means all three pairing MUST be in three different channels. eg:

* CONTROLLER 1 paired to TARGET 1 at ch.15.

* CONTROLLER 2 paired to TARGET 2 at ch.20.

* CONTROLLER 3 paired to TARGET 3 at ch.25.

[Q1]: Is it possible to acheive the above scenario (with RemoTI v1.2.x) ?

[Q2]: If possible, please advice how to do it ?   What steps need to be done (on the Controller side) ?

 

Thank you in advance.

Best Regards,

William

  • Hi,

    the target will select the best frequency to operate the NWK according to the measured energy level and switch to next channels at start (when PAN is formed) or regularly according to the so-called frequency agility algorithm. This can be disabled writing an NV item RTI_SA_ITEM_AGILITY_ENABLE through standard RTI_WriteItem RemotTI API call.

    You can then set the target frequency using the same API call by writing the RTI_SA_ITEM_CURRENT_CHANNEL this time, selecting the target channel frequency for PAN formation.

    The target will stay on that channel and transmit discovery rsp as well as pair rsp on that channel.

    By default the controlller will start with RF4CE channel 1 (15) and then round robin on all other and automatically adjust its base frequency depending on the target response channel . The frequency can't be forced on the controller side, unless you modify the NWK libraries. We don't advise to to this as the controller will automatically adapts on target frequency.

    To achieve your scenario, if the 3 pairings do not need to happen at the same time, you could simply first disable agiility and select the fre on the target and time-multiplex the pairing with each controller. As you probably already know the pairing on the target is button-triggered, meaning there's an external intervention (not necessarily a physical button) to trigger the target in discovery mode which will last 30 secs. If you can tolerate 30 secs space between pairing each couple controller and target, then you are fine with this. It works with current 1.2.x RemoTI

    Otherwise if the 3 pairings need to happen at the same time, you can't avoid target on 15 to respond to a second controller unless you modify RTI layer which implements the ZRC profile using some sort of filtering mechanism.

    One way to achieve this: NWK layer through NLME-DISCOVERY-CNF informs RTI layer of the actual logical channel where the response is sent. You could implement a filtering based on that logical channel to issue the NLME-PAIR_REQ based on that logical channel being set to the value you wish. 

    Thanks,

    TheDarkSide