The command callback function type.
typedef int IotcCommandCb(const IotcCommand *command, IotcCommandResponse *response, void *context)
commandis the command received from the server.
responseis the response data to be sent to the server for the command.
contextis the opaque context data that is supplied by the client during command callback registration.