PreviousNext
setCoordinatorMode
Help > OS functions > Networking > setCoordinatorMode

Function

 

Set Coordinator mode

Purpose

 

Assign the TR module as a network Coordinator

Syntax

 

void setCoordinatorMode()

Parameters

 

  –

Return value

 

  –

Output values

 

     Flag _networkingMode (userInterface.7) = 1

     Flag _networkTwo (userInterface.6) = 0

     In Coordinator mode, the _NTWF flag (PIN.7) is automatically set before calling RFTXpacket

Preconditions

 

For IQMESH only.

Remarks

 

Every TR module can work as a Coordinator or a Node. Just one Coordinator in a single network is allowed. Avoid dynamic switching the Coordinator from device to device in a network.

This setting affects both RFRXpacket and RFTXpacket.

Side effects

 

  –

See also

 

setNodeMode, setNonetMode, RFTXpacket

Example

 

  –