Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

Added submessage parsing for LRespones #3

Merged
merged 2 commits into from
Feb 18, 2017
Merged

Conversation

vogt31337
Copy link
Contributor

Hi,

my python skills aren't that great, but it seems to work. Now there should be submessage parsing for LResponses. But it comes at a small price, I introduced a new class "SingleLResponse" which will contain all the different settings. Also I enhanced the "str" function. Now you can easily see all fields.

Another thing I introduced is a LMessage, to ask the cube for an device_list update (via cube.get_device_list())

Best regards
PS.: I like your project and thanks for the work!

-repaired tests (unfortnately not all...)
-added a better message check in lresponse, a submessage needs to be at least 6 bytes long (everything shorter isn't a valid message)
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.9%) to 92.412% when pulling d4141be on vogt31337:master into 8758b30 on ercpe:master.

3 similar comments
@coveralls
Copy link

coveralls commented Feb 14, 2017

Coverage Status

Coverage decreased (-1.9%) to 92.412% when pulling d4141be on vogt31337:master into 8758b30 on ercpe:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.9%) to 92.412% when pulling d4141be on vogt31337:master into 8758b30 on ercpe:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.9%) to 92.412% when pulling d4141be on vogt31337:master into 8758b30 on ercpe:master.

@ercpe ercpe merged commit 7193bed into ercpe:master Feb 18, 2017
@ercpe
Copy link
Owner

ercpe commented Feb 18, 2017

Thank you very much for your contribution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants