VersionMsg Class

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This message represents a firmware-version query message.

Syntax

class VersionMsg : public Msg 

Methods

Method Description

VersionMsg Constructor

Initializes the fields of this class by calling the Init method.

VersionMsg::GetApplicationType

Returns the MSN Direct service type for this firmware-version query message.

VersionMsg::GetBuffer

Returns a pointer to the first byte of this message after the beginning-of-frame.

VersionMsg::GetBufferWithFrames

Returns a pointer to the first byte of this firmware-version query message, including the bytes used for framing.

VersionMsg::GetBuildMajorVersion

Returns the major version of the firmware that belongs to the device that received this firmware-version query message.

VersionMsg::GetBuildMinorVersion

Returns the minor version of the firmware that belongs to the device that received this firmware-version query message.

VersionMsg::GetBuildVersionString

Returns the version of the firmware that belongs to the device that receives this firmware-version query message in a human-readable string.

VersionMsg::GetSize

Returns the size of this message, subtracting the bytes used for framing.

VersionMsg::GetSizeWithFrames

Returns the size of this firmware-version query message by calling RawMessageSize.

VersionMsg::GetSKUID

Returns the firmware Stock Keeping Unit (SKU) ID.

VersionMsg::GetSKUIDString

Returns the firmware Stock Keeping Unit (SKU) ID in a human-readable string.

VersionMsg::GetTransactionId

Returns the transaction ID of this firmware-version query message.

VersionMsg::Init

Initializes the fields of this class.

VersionMsg::IsResponse

Returns true if this firmware-version query message is a response message.

VersionMsg::RawMessageSize

Returns the size of this firmware-version query message.

VersionMsg::SetApplicationType

Sets the MSN Direct service type for this firmware-version query message.

VersionMsg::SetBuildVersion

Sets the build version of the firmware of the device that builds this message.

VersionMsg::SetCRC

Computes and sets the Cyclic Redundancy Check (CRC) value for this firmware-version query message.

VersionMsg::SetErrorCode

Sets the error code for this firmware-version query message.

VersionMsg::SetResponse

Sets the last bit of the transaction ID to indicate whether this firmware-version query message is a response message.

VersionMsg::SetSKUID

Sets the firmware Stock Keeping Unit (SKU) ID of the firmware of the device that builds this message. The SKU ID is used by the host to confirm that the proper SKU is uploaded on the MSN Direct receiver.

VersionMsg::SetTransactionId

Sets the transaction ID of this firmware-version query message.

Remarks

This class inherits from Msg Class.

Either the host device or the MSN Direct receiver can query the firmware version of the other device by initiating this message.

If the MSN Direct service type is GET_VERSION, then the incoming message is a firmware-version query message from the MSN Direct receiver. You can typecast it to a VersionMsg object and fill in the fields by using version information about the host device.

In MSN Direct services for Windows Embedded CE, the host device is the Windows Embedded CE powered device.

Requirements

Header DBRLib.h
Library DBRLib.lib
Windows Embedded CE Windows CE 5.0, Windows Embedded NavReady 2009

See Also

Reference

MSN Direct Services Classes