PreviousNext
setServiceChannel
Help > OS functions > Bonding – Node > setServiceChannel

Function

 

Set the service RF channel

Purpose

 

Select the channel for subsequent receiving of service packets, e.g. for Smart connect

Syntax

 

void setServiceChannel(char W)

Parameters

 

W

  0     Service channel selected automatically

  1     Service channel 1

     2     Service channel 2

     3     Service channel 3

Return value

 

  –

Output values

 

RFchannel      Index of the channel selected

  0     Service channel 1

     1     Service channel 2

     2     Service channel 3

Preconditions

 

  –

Remarks

 

  –

Side effects

 

  –

See also

 

DPA example CustomDpaHandler-Bonding

Example 1

 

setServiceChannel(1)      // Service channel 1 selected

Example 2

 

setServiceChannel(0)      // Service channel is selected automatically