Share via


DBR701::IsProtocolInFlashMode

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This method indicates whether the MSN Direct protocol is in flash mode.

Syntax

bool IsProtocolInFlashMode();

Parameters

None.

Return Value

Returns true if the MSN Direct receiver is currently in flash mode.

Remarks

When the MSN Direct receiver is in flash mode, its memory is being flashed with an upgraded version of the firmware.

After a firmware upgrade is requested, you can check for the status of the MSN Direct receiver by querying the IsProtocolInFlashMode method to check whether the firmware upgrade is in progress.

Note that under certain circumstances, the receiver might already be in flash mode when the MSN Direct application connects to the MSN Direct receiver for the first time. For example, the receiver will be in flash mode if a previous firmware upgrade was not completed when the program was closed. You can check for this condition during application startup by calling IsProtocolInFlashMode and then providing the appropriate file for the operation by using UpgradeFirmware, if necessary.

The MSN Direct receiver will not enter regular operation mode until a firmware upgrade is successfully completed.

Requirements

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

See Also

Reference

DBR701::UpgradeFirmware
DBR701 Class
MSN Direct Services Classes