Version
Appendix A
MSPP Error Summary
Introduction
Alphabetical Error Summary
Numerical Error Summary
Introduction
This appendix provides a summary of MSPP service error codes. The error codes are presented in two tables:
Alphabetical, by error code name, including a description of the problem and a possible solution
Numerical, by hexadecimal value, decimal value, and error name
All MSPP service functions return a status code. If the return code is not
SUCCESS
(0), it is an error code indicating that the function has failed and a reason for the failure.
MSPP service error codes are defined in the include files
mspdef
.
h
and
ctaerr.h
. The error codes are prefixed with
MSPERR_
or
CTAERR_
.
Alphabetical Error Summary
The following table is an alphabetical listing of MSPP errors. All errors are 32 bits.
Error Name
Hex
Decimal
Description
MSPERR_CANNOT_OPEN_SERVICE_
COMPONENT
0x001b0003
1769475
Cannot open a sub-component of the service.
MSPERR_CHANNEL_NOT_CONNECTED
0x001b0006
1769478
MSPP channel is not connected to any endpoints.
MSPERR_CHANNEL_NOT_DEFINED
0x001b0005
1769477
MSPP channel name is not defined.
MSPERR_DRIVER_COMMAND_FAILED
0x001b0008
1769480
SPI command failed.
MSPERR_ENDPOINT_BUSY
0x001b000c
1769484
Command arrived while servicing previous command.
MSPERR_ENDPOINT_NOT_ALLOCATED
0x001b0007
1769479
MSPP endpoint is defined, but not yet allocated on the board.
MSPERR_FILTER_BUSY
0x001b000d
1769485
Command arrived while servicing previous command.
MSPERR_INTERNAL_HANDLE
0x001b0002
1769474
Invalid MSPP channel or endpoint.
MSPERR_INVALID_CONNECTION
0x001b0001
1769473
Connection cannot be found.
MSPERR_INVALID_HANDLE
0x001b0004
1769476
Invalid MSPP channel or endpoint.
MSPERR_SENDCOMMAND_FAILED
0x001b000a
1769482
The
mspSendCommand
function returned an error.
MSPERR_SENDQUERY_FAILED
0x001b000b
1769483
The
mspSendQuery
function returned an error.
MSPERR_UNKNOWN_FILTER_OBJECT
0x001b0009
1769481
The command specified a filter that is not in the channel.
Numerical Error Summary
The following table is a list of MSPP errors in numerical order.
Hex
Decimal
Error Name
0x001b0001
1769473
MSPERR_INVALID_CONNECTION
0x001b0002
1769474
MSPERR_INTERNAL_HANDLE
0x001b0003
1769475
MSPERR_CANNOT_OPEN_SERVICE_COMPONENT
0x001b0004
1769476
MSPERR_INVALID_HANDLE
0x001b0005
1769477
MSPERR_CHANNEL_NOT_DEFINED
0x001b0006
1769478
MSPERR_CHANNEL_NOT_CONNECTED
0x001b0007
1769479
MSPERR_ENDPOINT_NOT_ALLOCATED
0x001b0008
1769480
MSPERR_DRIVER_COMMAND_FAILED
0x001b0009
1769481
MSPERR_UNKNOWN_FILTER_OBJECT
0x001b000a
1769482
MSPERR_SENDCOMMAND_FAILED
0x001b000b
1769483
MSPERR_SENDQUERY_FAILED
0x001b000c
1769484
MSPERR_ENDPOINT_BUSY
0x001b000d
1769485
MSPERR_FILTER_BUSY
Version
Want to send us feedback on our documentation? Email:
Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.