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.

Unpairing Single Connections with Multiple Targets and Multiple Remotes

Other Parts Discussed in Thread: REMOTI

Hi,

In my application, I am planning to have multiple remote controllers connect to multiple targets. 

i.e. a many-to-many pairing:

CONTROLLER1 paired to TARGET1 and TARGET2

 CONTROLLER2 paired to TARGET1 and TARGET2

I would ideally like users to unpair a controller and a target similar to the method used for pairing i.e. press a special "unpair" button on both the target and the controller to unpair that pair only.

i.e.

press unpair on CONTROLLER1 and press unpair on TARGET1.  This will unpair this link only and leave:

CONTROLLER1 paired to TARGET2

CONTROLLER2 paired to TARGET1 and TARGET2

My end-user can't look at the pairing table and select an index into the table to unpair with this application.

Is there a mechanism to handle unpairing similar to pairing in the RemoTI implementation?

Thank you

 

 

  • Dieter,

    RF4CE nwk layer specifies a mechanism to unpair two nodes, and we implement this with the RTI_UnpairReq() API. This unpair mechanism doesn't require a "push-button" activation on both nodes like we do with CERC (ZRC) pairing.  Calling RTI_UnpairReq() will send the unpair command frame over-the-air to the specified node and also remove the local pairing entry.   It may happen than the receiving node is not in RX mode and hence misses the unpair command frame. However, the local pairing entry is removed independent of this.

    It seems to me you are looking for a different scheme that requires “push-button” activation on both the target and controller node. Here's a suggestion that could possibly work for you:

    1. Pressing the unpair button on the target sends a vendor specific frame to notify the controllers it's in unpair mode. Repeat this frame on each channel at a certain interval for a certain time (like the pairing scheme).

    2. Pressing the unpair button on the controller puts the radio in RX mode to receive the vendor specific unpair message from the target node.

    3. The controller node knows the pairing index upon reception of the message from the target node.

    4. Call RTI_UnpairReq() with the index from step 3 to remove the pairing.  The target will now be in RX mode so the pairing entry will be removed on both nodes.

    5. On the controller, turn off RX mode in RTI_UnpairCnf().

    Hope this helps.

    Thanks,
    Stig