11.6.3.5 APP_TRPS_Init
C
uint16_t APP_TRPS_Init(uint8_t opcode, APP_TRPS_CmdResp_T *p_cmd, APP_TRPS_NotifyData_T *p_ntfy,uint8_t cmdRspSize,uint8_t ntfySize);
Description
Initialize App Transparent Service Structure
Parameters
Parameter | Description |
---|---|
[in] opcode | opcode specific to the profile |
[in] p_cmd | pointer to the command Response buffer APP_TRPS_CmdResp_T |
[in] p_ntfy | pointer to the Notify Data buffer APP_TRPS_NotifyData_T |
[in] cmdRspSize | Command Response Size |
[in] ntfySize | Notify Size |
Return values
Return value | Description |
---|---|
APP_RES_SUCCESS | Successfully initialized Transparent service. |
MBA_RES_FAIL | Fail to initialize Transparent service. |