Skip to content

Add support for older F2000/767 firmware version - #64

Open
impala454 wants to merge 4 commits into
flip-dots:mainfrom
impala454:main
Open

Add support for older F2000/767 firmware version#64
impala454 wants to merge 4 commits into
flip-dots:mainfrom
impala454:main

Conversation

@impala454

Copy link
Copy Markdown

This PR adds in support for the older model F2000/767 firmware. This firmware is not upgradable to the latest and has a completely different scheme with no handshakes or negotiation. This PR adds almost all of the functionality the Anker app has to offer to this library. The only minor edit to the base class was just to allow for the different UUIDs needed and still maintain inheritance.

@flip-dots

Copy link
Copy Markdown
Owner

The new constructs in #61 should be able to make the commands and bit mangling a lot cleaner, with any luck that will be merged soon and it will be possible to take advantage of it.

@impala454

Copy link
Copy Markdown
Author

I took a look at #61 and seems like a good change but this older firmware is so completely different I don't think it would change this PR. There is no negotation, no multi part packets, and the parsing is fixed fields, so I would probably still be overriding _process_notification anyways. The only thing I needed to touch in the base was just to allow the different UUID to be recognized. I don't think that would change with #61 merged either. Let me know what you think.

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.

2 participants