Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is really important. Stops corrupt read messages and half read messages! #6

Merged
merged 2 commits into from Mar 9, 2012

Conversation

garthy
Copy link

@garthy garthy commented Mar 9, 2012

No description provided.

This stops us reading a bit of the message.  eg:-

 received:
 03-09 20:39:02.044: D/MetaWatch(10230):
 MetaWatchService.readFromDevice(): Unknown message : 0x00,
 03-09 20:39:02.044: D/MetaWatch(10230): state: connected
 03-09 20:39:02.044: D/MetaWatch(10230): before blocking read
 03-09 20:39:02.052: D/MetaWatch(10230): packet length: 51
 03-09 20:39:02.075: D/MetaWatch(10230): received: 0x07, 0x33, 0x00, 0x00,
 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 03-09 20:39:02.075: D/MetaWatch(10230):
 MetaWatchService.readFromDevice(): Unknown message : 0x00,
benjymous added a commit that referenced this pull request Mar 9, 2012
This is really important. Stops corrupt read messages and half read messages!
@benjymous benjymous merged commit 1e450af into benjymous:master Mar 9, 2012
@benjymous
Copy link
Owner

Seems to be going ok :)

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

Successfully merging this pull request may close these issues.

None yet

3 participants