PreviousNext
setNodeMode
Help > OS functions > Networking > setNodeMode

Function

 

Set Node mode

Purpose

 

Assign the TR module as a network Node

Syntax

 

void setNodeMode()

Parameters

 

  –

Return value

 

  –

Output values

 

     Flag _networkingMode (userInterface.7) = 1

     Flag _networkTwo (userInterface.6) = 1

     In Node 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. This setting affects both RFRXpacket and RFTXpacket.

Side effects

 

  –

See also

 

setCoordinatorMode, setNonetMode, RFTXpacket

Example

 

  –