Skip to content

Commit

Permalink
Add example command for docs (#3708)
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss authored May 8, 2020
1 parent 5e5b744 commit be55626
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iot/api-client/manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ def send_command(
device_path = client.device_path(
project_id, cloud_region, registry_id, device_id)

# command = 'Hello IoT Core!'
data = command.encode('utf-8')

return client.send_command_to_device(device_path, data)
Expand Down

0 comments on commit be55626

Please sign in to comment.