MSN Direct Error Code Constants

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

The following table shows the application-specific error values that are used in MSN Direct services:

Error code Integer value Description

APP_ERR_SUCCESS

0

Indicates success.

APP_ERR_INVALIDPARAMETER

1

A parameter value is unexpected, such as a character rather than an integer.

APP_ERR_UNEXPECTEDNULLPARAMETER

2

An unexpected Null parameter was received.

APP_ERR_TOOMANYARGUMENTS

3

The message contains too many arguments.

APP_ERR_UNKNOWN

4

An unknown application error occurred.

APP_ERR_NONETWORKTIME

5

The network time is not available.

APP_ERR_LOW_BATTERY

6

The battery level is below 15 percent.

The following table shows the protocol-specific error values that are used in MSN Direct Services:

Error code Integer value Description

ERR_SUCCESS

0

Indicates success.

ERR_TIMEOUT

1

The handler timed out.

ERR_UNKNOWNAPP

2

There is no handler for the application ID in the incoming request.

ERR_UNKNOWNVERSION

3

The protocol version in the message header is not supported.

ERR_CRC

4

The Cyclic Redundancy Check (CRC) value in the header of the message was invalid.

ERR_FRAMING

5

A framing error was detected. The request is ignored.

ERR_UNKNOWN

6

An unknown error occurred.

ERR_OUTOFMEMORY

7

The host device is out of memory. This can occur when the packet data is too large.

Requirements

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

See Also

Reference

DBR701::PrepareSimpleResponseMessage
GenericHostMsg::GetErrorCode
GenericHostMsg::SetErrorCode
ErrorMsg::GetErrorCode
DownloadStatusMsg::GetErrorCode
LocalTimeMsg::GetErrorCode
RegistrationMsg::GetErrorCode
SubscriberStatusMsg::GetErrorCode
MSN Direct Services Constants