Skip to content

Commit

Permalink
Add VALUE to write example
Browse files Browse the repository at this point in the history
  • Loading branch information
MAVProxyUser committed Jun 29, 2017
1 parent f271916 commit 631732e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/websocket_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
print "No read command available in the Websocket API for this service"
if commands.find("write"):
print "Writing to fly_limit_height value over the websocket"
ws.send('{"SEQ":"' + str(uuid.uuid4().get_hex().upper()[0:6]) + '","CMD":"write","INDEX":"fly_limit_height"}')
ws.send('{"SEQ":"' + str(uuid.uuid4().get_hex().upper()[0:6]) + '","CMD":"write","INDEX":"fly_limit_height", "VALUE":111}')
result = ws.recv()
print result
else:
Expand Down

0 comments on commit 631732e

Please sign in to comment.