PreviousNext
Set FRC Params
Help > Peripherals > FRC > Set FRC Params

Sets global FRC parameters.

 

Request

 

NADR

PNUM

PCMD

HWPID

0

NADR

0x0D

0x03

?

FrcParams

 

FrcParams                    Value corresponding to the parameter of the setFRCparams macro defined at IQRF-macros.h. See IQRF OS documentation for more details.

 

bit.0-2   Reserved

bit.3      If set, then so-called offline FRC is performed. Offline FRC is missing an individual FRC phase and can be used only with Beaming sensors and repeaters that aggregate data from Beaming sensors. The bit is automatically reset after the FRC is performed or after the startup.

bit.4-6   Specifies FRC response time i.e. a maximum time reserved for preparing return FRC value. See _FRC_RESPONSE_TIME_??_MS constants. The setting is persistent till the next startup.

bit.7      Reserved

Response

 

NADR

PNUM

PCMD

HWPID

ErrN

DpaValue

0

NADR

0x0D

0x83

?

0

?

FrcParams

 

FrcParams                    Previous FrcParams value.

 

The following video depicts a local FRC communication in the IQMESH network.


 3.14.5.1             Source code support

typedef struct

{

  uns8 FrcParams;

} TPerFrcSetParams_RequestResponse;

 

TPerFrcSetParams_RequestResponse _DpaMessage.PerFrcSetParams_RequestResponse;