PreviousNext
setNonetMode
Help > OS functions > Networking > setNonetMode

Function

 

Select Peer-to-peer mode

Purpose

 

Switch from IQMESH to Peer-to-peer

Syntax

 

void setNonetMode()

Parameters

 

  –

Return value

 

  –

Output values

 

Flag _networkingMode (userInterface.7) = 0

Preconditions

 

  –

Remarks

 

     The default OS mode is Peer-to-peer.

     This setting affects RFRXpacket and RFTXpacket features.

     PIN is not affected immediately but it is cleared after subsequent RFRXpacket or RFTXpacket.

     Flag _networkTwo (userInterface.6) is not changed.

Side effects

 

  –

See also

 

setCoordinatorMode, setNodeMode

Example

 

setNetworkOne();    // TR communicates in IQMESH networking mode here

    ...

setNonetMode();     // Switch to Peer-to-peer mode

   ...              // Now TR communicates without networking support