Eases Multiple-Card-Management by providing and locking CIDs.
More...
Eases Multiple-Card-Management by providing and locking CIDs.
§ PH_CIDMANAGER_LAST_CID
#define PH_CIDMANAGER_LAST_CID 14 |
§ phCidManager_GetFreeCid()
phStatus_t phCidManager_GetFreeCid |
( |
void * |
pDataParams, |
|
|
uint8_t * |
pCid |
|
) |
| |
Retrieve the lowest free Card Identifier.
- Returns
- Status code
- Return values
-
- Parameters
-
[in] | pDataParams | Pointer to this layer's parameter structure. |
[out] | pCid | Card Identifier |
§ phCidManager_FreeCid()
phStatus_t phCidManager_FreeCid |
( |
void * |
pDataParams, |
|
|
uint8_t |
bCid |
|
) |
| |
Free an occupied Cid.
Note: This should be called after discarding a card.
- Returns
- Status code
- Return values
-
- Parameters
-
[in] | pDataParams | Pointer to this layer's parameter structure. |
[in] | bCid | Card Identifier |