Application Callback IDs
Following a List of available Callback IDs:
GOAL_MB_CB_ID_APPL_READY
application setup doneGOAL_MB_CB_ID_DATA_READ
data to readGOAL_MB_CB_ID_DATA_WRITE
data to writeGOAL_MB_CB_ID_CONNECT_REQUEST
connection establishedGOAL_MB_CB_ID_CONNECT_RELEASE
connection releasedGOAL_MB_CB_ID_LED_CHANGED
LEDs changed
The passed callback data contains ID specific data, for accessing objects:
GOAL_MB_CB_ID_DATA_READ
pCb->data[0].dataType
: containing data type, likeGOAL_MB_DATA_COIL
pCb->data[1].index
: index of objectpCb->data[2].value
: returned value of objectpCb->data[3].flgValid
: use value set by the application
GOAL_MB_CB_ID_DATA_WRITE
pCb->data[0].dataType
: containing data type, likeGOAL_MB_DATA_DISC_INPUT
pCb->data[1].index
: index of objectpCb->data[2].value
: returned value of objectpCb->data[3].flgValid
: application does support this object