DR-U-USB/DR-E-USB RLMXX0CLASS  GT20171121-1
Modules | Functions
"RLMXXX Firmware Update"

Functions used to upload a firmware image on the RLMXXX module. More...

Modules

 "internal functions"
 Functions used for the module function tests.
 

Functions

quint8 RLMXXXCRC::GetVersion (QByteArray &Serial, quint8 &Version)
 This function determinate the modules serial number and firmware version. More...
 
quint8 RLMXXXCRC::GetHardwareId (QByteArray &HwId)
 This function determinate the modules hardware id. More...
 

Detailed Description

Functions used to upload a firmware image on the RLMXXX module.

Firmware Update Procedure:

Warning
If one of the functions return with an error, the device needs to power-cycle and the procedure must be restart

Implementation example

Function Documentation

◆ GetHardwareId()

quint8 RLMXXXCRC::GetHardwareId ( QByteArray &  HwId)

This function determinate the modules hardware id.

Its called by application.

Parameters
[out]hwid12 byte hardware id
Returns
1 on success, 0 if failed

◆ GetVersion()

quint8 RLMXXXCRC::GetVersion ( QByteArray &  Serial,
quint8 &  Version 
)

This function determinate the modules serial number and firmware version.

Its called by application.

Parameters
[out]Serialmodules Serial number
[out]Versionmodules Firmware version
Returns
1 on success, 0 if failed