rfbcGetConfig (Function) |
Top Previous Next |
This function will return the current configuration used when communication with other devices through the RFBC protocol. To change configuration parameters, use rfbcSetConfig. Configuration will be remembered between rfbcClose and rfbcOpen but not through a device reset.
When the interface is first opened, it will have a default configuration based on the serial number of the device.
Input: None.
Output: id : DINT The unique ID used when communicating with other devices to tell who sent the message and whether it is for this device and should be replied. Only messages which are sent to this id or broadcasted will be reported.
serialNumber : STRING Serial number used when processing pairing requests.
pairMode : SINT This defines how incoming pairing requests are handled.
acknowledge : BOOL (default : TRUE) If true, then a confirmation is sent back when a message addressed to the RTCU is received.
Returns: INT
Declaration: FUNCTION rfbcGetConfig : INT;
Example: INCLUDE rtcu.inc |