RadioStatusMsg Class

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This class represents a radio-status message.

Syntax

class RadioStatusMsg : public Msg 

Methods

Method Description

RadioStatusMsg Constructor

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

RadioStatusMsg::GetApplicationType

Returns the MSN Direct service type for this radio-status message.

RadioStatusMsg::GetBuffer

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

RadioStatusMsg::GetBufferWithFrames

Returns a pointer to the first byte of this radio-status message, including the bytes used for framing.

RadioStatusMsg::GetRadioStatus

Returns the status of the FM radio.

RadioStatusMsg::GetRadioStatusString

Returns the current status of the FM radio in a human-readable string.

RadioStatusMsg::GetSizeWithFrames

Returns size of this radio-status message by calling RawMessageSize.

RadioStatusMsg::GetSize

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

RadioStatusMsg::GetTransactionId

Returns the transaction ID of this radio-status message.

RadioStatusMsg::Init

Initializes the fields of this class.

RadioStatusMsg::IsResponse

Returns true if this radio-status message is a response message.

RadioStatusMsg::RawMessageSize

Returns the size of this radio-status message.

RadioStatusMsg::SetApplicationType

Sets the MSN Direct service type for this radio-status message.

RadioStatusMsg::SetCRC

Computes the Cyclic Redundancy Check (CRC) value for this radio-status message.

RadioStatusMsg::SetErrorCode

Sets the error code for this radio-status message.

RadioStatusMsg::SetRadioStatus

Requests that the FM radio be switched ON or switched OFF.

RadioStatusMsg::SetResponse

Sets the last bit of the transaction ID to indicate whether this radio-status message is a response message.

RadioStatusMsg::SetTransactionId

Sets the transaction ID for this radio-status message.

Remarks

This message inherits from Msg Class.

When a radio-status message is initiated by the MSN Direct receiver, it communicates the current status of the FM radio. When a radio-status message is initiated by the host device, it requests to change the status of the FM radio.

If the MSN Direct service type of the incoming message is FM_RADIO_STATUS, then the message is a radio-status message. You can typecast it to a RadioStatusMsg object.

Requirements

Windows Embedded CE Windows CE 5.0, Windows Embedded NavReady 2009

See Also

Reference

MSN Direct Services Classes