@@ -124,7 +124,7 @@ typedef struct MQTTAgentCommandContext MQTTAgentCommandContext_t;
124
124
* application wants to enqueue command(s) with non-zero blocking time, the
125
125
* callback can notify a different task to enqueue command(s) to the MQTT agent.
126
126
*/
127
- typedef void (* MQTTAgentCommandCallback_t )( void * pCmdCallbackContext ,
127
+ typedef void (* MQTTAgentCommandCallback_t )( MQTTAgentCommandContext_t * pCmdCallbackContext ,
128
128
MQTTAgentReturnInfo_t * pReturnInfo );
129
129
130
130
/**
@@ -473,7 +473,7 @@ MQTTStatus_t MQTTAgent_CancelAll( MQTTAgentContext_t * pMqttAgentContext );
473
473
* MQTTAgentSubscribeArgs_t subscribeArgs = { 0 };
474
474
*
475
475
* // Function for command complete callback.
476
- * void subscribeCmdCompleteCb( void * pCmdCallbackContext,
476
+ * void subscribeCmdCompleteCb( MQTTAgentCommandContext_t * pCmdCallbackContext,
477
477
* MQTTAgentReturnInfo_t * pReturnInfo );
478
478
*
479
479
* // Fill the command information.
@@ -534,7 +534,7 @@ MQTTStatus_t MQTTAgent_Subscribe( const MQTTAgentContext_t * pMqttAgentContext,
534
534
* MQTTAgentSubscribeArgs_t unsubscribeArgs = { 0 };
535
535
*
536
536
* // Function for command complete callback.
537
- * void unsubscribeCmdCompleteCb( void * pCmdCallbackContext,
537
+ * void unsubscribeCmdCompleteCb( MQTTAgentCommandContext_t * pCmdCallbackContext,
538
538
* MQTTAgentReturnInfo_t * pReturnInfo );
539
539
*
540
540
* // Fill the command information.
@@ -593,7 +593,7 @@ MQTTStatus_t MQTTAgent_Unsubscribe( const MQTTAgentContext_t * pMqttAgentContext
593
593
* MQTTPublishInfo_t publishInfo = { 0 };
594
594
*
595
595
* // Function for command complete callback.
596
- * void publishCmdCompleteCb( void * pCmdCallbackContext,
596
+ * void publishCmdCompleteCb( MQTTAgentCommandContext_t * pCmdCallbackContext,
597
597
* MQTTAgentReturnInfo_t * pReturnInfo );
598
598
*
599
599
* // Fill the command information.
@@ -650,7 +650,7 @@ MQTTStatus_t MQTTAgent_Publish( const MQTTAgentContext_t * pMqttAgentContext,
650
650
* MQTTAgentCommandInfo_t commandInfo = { 0 };
651
651
*
652
652
* // Function for command complete callback.
653
- * void cmdCompleteCb( void * pCmdCallbackContext,
653
+ * void cmdCompleteCb( MQTTAgentCommandContext_t * pCmdCallbackContext,
654
654
* MQTTAgentReturnInfo_t * pReturnInfo );
655
655
*
656
656
* // Fill the command information.
@@ -707,7 +707,7 @@ MQTTStatus_t MQTTAgent_ProcessLoop( const MQTTAgentContext_t * pMqttAgentContext
707
707
* MQTTAgentCommandInfo_t commandInfo = { 0 };
708
708
*
709
709
* // Function for command complete callback.
710
- * void pingRequestCompleteCb( void * pCmdCallbackContext,
710
+ * void pingRequestCompleteCb( MQTTAgentCommandContext_t * pCmdCallbackContext,
711
711
* MQTTAgentReturnInfo_t * pReturnInfo );
712
712
*
713
713
* // Fill the command information.
@@ -801,7 +801,7 @@ MQTTStatus_t MQTTAgent_Ping( const MQTTAgentContext_t * pMqttAgentContext,
801
801
* connectArgs.timeoutMs = 500;
802
802
*
803
803
* // Function for command complete callback.
804
- * void connectCmdCallback( void * pCmdCallbackContext,
804
+ * void connectCmdCallback( MQTTAgentCommandContext_t * pCmdCallbackContext,
805
805
* MQTTAgentReturnInfo_t * pReturnInfo );
806
806
*
807
807
* // Fill the command information.
@@ -863,7 +863,7 @@ MQTTStatus_t MQTTAgent_Connect( const MQTTAgentContext_t * pMqttAgentContext,
863
863
* MQTTAgentCommandInfo_t commandInfo = { 0 };
864
864
*
865
865
* // Function for command complete callback.
866
- * void disconnectCmdCallback( void * pCmdCallbackContext,
866
+ * void disconnectCmdCallback( MQTTAgentCommandContext_t * pCmdCallbackContext,
867
867
* MQTTAgentReturnInfo_t * pReturnInfo );
868
868
*
869
869
* // Fill the command information.
@@ -927,7 +927,7 @@ MQTTStatus_t MQTTAgent_Disconnect( const MQTTAgentContext_t * pMqttAgentContext,
927
927
* MQTTAgentCommandInfo_t commandInfo = { 0 };
928
928
*
929
929
* // Function for command complete callback.
930
- * void terminateCallback( void * pCmdCallbackContext,
930
+ * void terminateCallback( MQTTAgentCommandContext_t * pCmdCallbackContext,
931
931
* MQTTAgentReturnInfo_t * pReturnInfo );
932
932
*
933
933
* // Fill the command information.
0 commit comments