Skip to content

Commit

Permalink
Merge pull request #15 from LIFX/document_groups
Browse files Browse the repository at this point in the history
Document messages for groups
  • Loading branch information
deepfryed committed Aug 17, 2015
2 parents 7688954 + 6518ebf commit 3de97af
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions messages/device.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
* [GetInfo - 34](#getinfo---34)
* [StateInfo - 35](#stateinfo---35)
* [Acknowledgement - 45](#acknowledgement---45)
* [GetLocation - 48](#getlocation---48)
* [StateLocation - 50](#statelocation---50)
* [GetGroup - 51](#getgroup---51)
* [StateGroup - 53](#stategroup---53)
* [EchoRequest - 58](#echorequest---58)
* [EchoResponse - 59](#echoresponse---59)

Expand Down Expand Up @@ -340,6 +344,38 @@ Provides run-time information of device.
Response to any message sent with _ack\_required_ set to 1.
See [message header frame address](../header.md#frame-address).

### GetLocation - 48

Ask the bulb to return its location information.
No payload is required.
Causes the device to transmit a [StateLocation](statelocation---50) message.

### StateLocation - 50

Device location.

| Field | Type |
|-------|------|
| location | byte array, size: 16 |
| label | string, size: 32 |
| updated_at | unsigned 64-bit integer |

### GetGroup - 51

Ask the bulb to return its group membership information.
No payload is required.
Causes the device to transmit a [StateGroup](stategroup---53) message.

### StateGroup - 53

Device group.

| Field | Type |
|-------|------|
| group | byte array, size: 16 |
| label | string, size: 32 |
| updated_at | unsigned 64-bit integer |

### EchoRequest - 58

Request an arbitrary payload be echoed back.
Expand Down

0 comments on commit 3de97af

Please sign in to comment.