# Reason codes

Reason codes are generated when a DONE event is given, but an associated task has failed. Reason codes are in the form MSPRSN_FAILED_TO_function where function is the failed task.

## Alphabetical reason code summary

The following table alphabetically lists MSPP service reason codes and their descriptions:

Reason code | Description
MSPRSN_FAILED_TO_ALLOCATE | The MSPP service is unable to allocate on-board resources.
MSPRSN_FAILED_TO_DEALLOCATE | The MSPP service is unable to de-allocate on-board resources.
MSPRSN_FAILED_TO_INTERCONNECT | The MSPP service is unable to connect the channel to an endpoint.
MSPRSN_FAILED_TO_INTERDISCONNECT | The MSPP service is unable to disconnect the channel from an endpoint.
MSPRSN_FAILED_TO_INTRACONNECT | The MSPP service is unable to connect filters within the channel.
MSPRSN_FAILED_TO_INTRADISCONNECT | The MSPP service is unable to disconnect filters within the channel.
MSPRSN_FAILED_TO_START | The MSPP service is unable to start the on-board resource.
MSPRSN_FAILED_TO_STOP | The MSPP service is unable to stop the on-board resource.

## Numerical reason code summary

The following table lists MSPP reason codes in numerical order:

Hex | Decimal | Event name
0x001B1001 | 1773569 | MSPRSN_FAILED_TO_ALLOCATE
0x001B1002 | 1773570 | MSPRSN_FAILED_TO_DEALLOCATE
0x001B1003 | 1773571 | MSPRSN_FAILED_TO_START
0x001B1004 | 1773572 | MSPRSN_FAILED_TO_STOP
0x001B1005 | 1773573 | MSPRSN_FAILED_TO_INTRACONNECT
0x001B1006 | 1773574 | MSPRSN_FAILED_TO_INTRADISCONNECT
0x001B1007 | 1773575 | MSPRSN_FAILED_TO_INTERCONNECT
0x001B1008 | 1773576 | MSPRSN_FAILED_TO_INTERDISCONNECT