RM_UNAVAILABLE_REASON (Compact 7)
3/12/2014
This enumeration represents detailed codes of the primary reason a resource is unavailable or revoked.
Syntax
typedef enum RM_UNAVAILABLE_REASON {
RMUR_NO_SPECIFIC_REASON = 0,
RMUR_RESOURCE_NOT_READY,
RMUR_EXTERNAL_IN_USE,
RMUR_ALL_RESOURCES_IN_USE,
RMUR_RESOURCE_REVOKE,
RMUR_RSP_SPECIFIC
} RM_UNAVAILABLE_REASON ;
Element Definitions
- RMUR_NO_SPECIFIC_REASON
There is no specific cause.
- RMUR_RESOURCE_NOT_READY
There are problems in the underlying hardware. For example, the hardware is powered off or is not attached to a network.
- RMUR_EXTERNAL_IN_USE
There is another activity occurring on the device. For example a voice call or Circuit Switched Data connection is active.
- RMUR_ALL_RESOURCES_IN_USE
All instances of the resource have already been acquired.
- RMUR_RESOURCE_REVOKE
The resource is being revoked so that it can be acquired by another request.
- RMUR_RSP_SPECIFIC
Start of the reserved section for Resource Service Provider specific causes.
Remarks
For RMUR_RESOURCE_REVOKE, the client is expected to disconnect and clean up all associated details of the resource, before returning from the RM_CALLBACK function.
Requirements
Header |
rmnet.h |
See Also
Reference
Resource Manager Enumerations
RM_CALLBACK
RM_UNAVAILABLE_SPECIFIC_CAUSE
Resource Manager Reference