| CE Gobi SDK 2.7 GobiApi

- Main Page
- Modules
- Classes
- Files

Functions
Card Application Toolkit APIs

## Functions
IMPORTGOBI ULONG GOBICMAPI | SetCATEventCallback (tFNCATEvent pCallback, ULONG eventMask, ULONG *pErrorMask)
IMPORTGOBI ULONG GOBICMAPI | CATSendTerminalResponse (ULONG refID, ULONG dataLen, BYTE *pData)
IMPORTGOBI ULONG GOBICMAPI | CATSendEnvelopeCommand (ULONG cmdID, ULONG dataLen, BYTE *pData)

## Detailed Description

## Function Documentation

IMPORTGOBI ULONG GOBICMAPI CATSendEnvelopeCommand | ( | ULONG | cmdID,
|  | ULONG | dataLen,
|  | BYTE * | pData
| ) |  |

This function sends the envelope command to the device QMI_CAT_SEND_ENVELOPE_CMD_MSG 0x0022

Parameters

  cmdID | [ I ] - Envelope command ID
  dataLen | [ I ] - Envelope command data length
  pData | [ I ] - Envelope command data

Returns
  See GobiErrorCodes.h

IMPORTGOBI ULONG GOBICMAPI CATSendTerminalResponse | ( | ULONG | refID,
|  | ULONG | dataLen,
|  | BYTE * | pData
| ) |  |

This function sends the terminal response to the device QMI_CAT_SEND_TR_MSG 0x0021

Parameters

  refID | [ I ] - UIM reference ID (from CAT event)
  dataLen | [ I ] - Terminal response data length
  pData | [ I ] - Terminal response data

Returns
  See GobiErrorCodes.h

IMPORTGOBI ULONG GOBICMAPI SetCATEventCallback | ( | tFNCATEvent | pCallback,
|  | ULONG | eventMask,
|  | ULONG * | pErrorMask
| ) |  |

This function enables/disables the CAT event callback function QMI_CAT_EVENT_REPORT_IND_MSG 0x0001

Parameters

  pCallback | [ I ] - Callback function (0 = disable)
  eventMask | [ I ] - Bitmask of CAT events to register for
  pErrorMask | [ O ] - Error bitmask

Returns
  See GobiErrorCodes.h