Skip to content

Commit

Permalink
Update getSerial.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelrv committed Jun 27, 2017
1 parent 039ae53 commit 89dab35
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions getSerial.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
# Get Serial

Retreives the serial # from the device

## Command
| Key | Value | Comment |
| ------- | ----------- | ------- |
| method | `get_serial_number` | |
| id | [Integer] | is returned in the response used to link the send message to the response. |

` {'method': 'get_serial_number', 'id': 1} `
### Example

`{'method': 'get_serial_number', 'id': 1} `

### Response

{'result': [{'serial_number': '1387100332123'}], 'id': 1}
| Key | Example | Description |
| ------------ |------ |------------------------------ |
| `serial_number` | _1387100330000_ | Serial nr of the robot vacuum |

### Example Response

{'result': [{'serial_number': '1387100330000'}], 'id': 1}

0 comments on commit 89dab35

Please sign in to comment.