DBR701::GetVersion
10/16/2008
This method requests protocol-version information from the MSN Direct receiver.
This is an asynchronous method.
Syntax
int GetVersion();
Parameters
None.
Return Value
Returns the transaction ID of the request that is sent to the MSN Direct receiver; returns -1 if the request fails.
Remarks
The GetVersion method uses RequestSync to perform the transaction, with GET_VERSION specified in the applicationType parameter.
The firmware version of the receiver is returned as a VersionMsg object instance on a ProcessInMessageFromReceiver call. The MsgFromReceiver::GetApplicationType method must be called to verify for errors. In case of an error, the GetApplicationType method will return PROTOCOL_ERROR. Otherwise, the GetApplicationType method will return GET_VERSION. In this case, the messageFromReceiver parameter of ProcessInMessageFromReceiver must be typecast to VersionMsg and processed accordingly.
Requirements
Header | DBR701.h |
Library | DBRLib.lib |
Windows Embedded CE | Windows CE 5.0, Windows Embedded NavReady 2009 |
See Also
Reference
DBR701::GetSubscriberStatus
DBR701::GetTuningData
DBR701 Class
MSN Direct Services Classes