Intermec CN70 WWAN Toolkit Programmer's Reference Manual - Page 48

Get Last WWAN Error Code, Description, Method, Return Value

Page 48 highlights

Get Last WWAN Error Code Description: Method: Return Value: Gets the latest error code. DWORD GetLastWWANErrorCode() The method returns a numerical error code. This can be used in a switch statement to determine the cause of the error. Note: Include the header file "WWANErrorCodes.h" in your project. Note: A full list of error code descriptions can be found in "Get Last WWAN Error String" on page 48. Get Last WWAN Error String Description: This functions gets the latest error string. Method: LPCTSTR GetLastWWANErrorString() Return Value: The function returns a description of the error in plain English. Error Code Descriptions Error Code 0 1001 1002 1003 1004 3001 3002 3003 Description WWANERRORCODE_NO_ERROR No error detected. WWANERRORCODE_NOT_SUPPORTED_ON_THIS_DEVICE The operation is not supported on this device. WWANERRORCODE_NOT_IMPLEMENTED_ON_THIS_DEVICE The operation is not implemented on this device. WWANERRORCODE_DEVICE_NOT_SUPPORTED The handheld device and/or wireless WAN radio is not supported by the toolkit. WWANERRORCODE_BAD_RADIO_IMPLEMENTATION Error detected in lower level radio interface. WWANERRORCODE_POWER_OFF The radio has not been powered on. Make sure you power on the radio before calling any other methods. WWANERRORCODE_TOOLKIT_NOT_SETUP The toolkit has not been set up properly. WWANERRORCODE_DLL_NOT_INITIALIZED On occurrence, please report to your Intermec representative. 48 WWAN Toolkit Programmer's Reference Manual

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56

48
WWAN Toolkit Programmer’s Reference Manual
Get Last WWAN Error Code
Description:
Gets the latest error code.
Method:
DWORD GetLastWWANErrorCode()
Return Value:
The method returns a numerical error code. This can be used in a switch statement to
determine the cause of the error.
Get Last WWAN Error String
Description
:
This functions gets the latest error string.
Method:
LPCTSTR GetLastWWANErrorString()
Return Value:
The function returns a description of the error in plain English.
Note:
Include the header file "WWANErrorCodes.h" in your project.
Note
: A full list of error code descriptions can be found in
“Get Last WWAN Error
String” on page 48
.
Error Code Descriptions
Error Code
Description
0
WWANERRORCODE_NO_ERROR
No error detected.
1001
WWANERRORCODE_NOT_SUPPORTED_ON_THIS_DEVICE
The operation is not supported on this device.
1002
WWANERRORCODE_NOT_IMPLEMENTED_ON_THIS_DEVICE
The operation is not implemented on this device.
1003
WWANERRORCODE_DEVICE_NOT_SUPPORTED
The handheld device and/or wireless WAN radio is not supported by the
toolkit.
1004
WWANERRORCODE_BAD_RADIO_IMPLEMENTATION
Error detected in lower level radio interface.
3001
WWANERRORCODE_POWER_OFF
The radio has not been powered on. Make sure you power on the radio
before calling any other methods.
3002
WWANERRORCODE_TOOLKIT_NOT_SETUP
The toolkit has not been set up properly.
3003
WWANERRORCODE_DLL_NOT_INITIALIZED
On occurrence, please report to your Intermec representative.