int writeLevel2Register(uint32_t reg, uint16_t page, uint8_t *pval, cguid& ifGUID, cguid *pdestGUID = NULL, bool bLevel2 = false )
Register to write to (32-bit value for true Level II).
Page at which the register is located.
Pointer to byte that should be written into the register. At exit this byte contains the written value returned from the node where it got written.
GUID for interface this events should be sent on. This is used to read registers of Level I devices.
GUID for remote node.
If true this is a true Level II read operation.
CANAL_ERROR_SUCCESS on success or an error code on failure.
Write a level 2 register.
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).