bjeanes / go-lifx

Go implementation of the LIFX bulb protocol, including a command line client, a client library, and a debug-oriented traffic snooper
18 stars 8 forks source link

Add missing documented packet types, add "unknown" types to catch common but unknown packets, add ip address "from" to messages #21

Open joshproehl opened 8 years ago

joshproehl commented 8 years ago

Initially I forked this to simply add the missing types that are documented on the lifx API docs, but I've added a couple of other things which are useful to a project I'm working on, but are probably also useful in general.

The only thing I haven't added to keep things up to spec is tests for the new packet types. (Happy to figure that out if it blocks merging and you want this PR. Or I can submit a second PR when I get to it.)