IPWorks IoT 2020 Python Edition

Questions / Feedback?

send_command Method

This method sends a command to the server.

Syntax

def send_command(command: str) -> None: ...

Remarks

The send_command method will send the Command parameter to the server. The command must be in valid XML format, and must be recognizable to the im_server.

The send_command method should only be used by programmers or users who are connecting to non-standard servers whose command list is not covered by the class. Any responses that are defined in the protocol specification will be returned by the appropriate event. Any non-standard IQ message will be returned by the on_iq event. All other responses will be returned by the on_pi_trail event.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 Python Edition - Version 20.0 [Build 8265]