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

ParameterDescription
[in] opcodeopcode specific to the profile
[in] p_cmdpointer to the command Response buffer APP_TRPS_CmdResp_T
[in] p_ntfypointer to the Notify Data buffer APP_TRPS_NotifyData_T
[in] cmdRspSizeCommand Response Size
[in] ntfySizeNotify Size

Return values

Return valueDescription
APP_RES_SUCCESSSuccessfully initialized Transparent service.
MBA_RES_FAILFail to initialize Transparent service.