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

Add support for Lightning Ln882h family #312

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lamauny
Copy link

@lamauny lamauny commented Jan 7, 2025

I'm happy to contribute to this excellent project by adding basic support for Lightning Ln882h family.

Supported features

Wifi AP is only working in Open Auth mode, and Mixed mode (AP+STA) is not supported

More supported features will be added in the future, but this support is sufficient to pilot the relay and handle button of my aliexpress smart light module (kind-of) based on a LN-02 module.

Links to the PR on other repos adding this feature :
ltchiptool
library-freertos
library-freertos-port
lwip
framework-lightning-ln882h

@divadiow
Copy link

have you tested this on LN882x? LN882H is a newer family with a different SDK.

@lamauny
Copy link
Author

lamauny commented Jan 14, 2025

have you tested this on LN882x? LN882H is a newer family with a different SDK.

no, i've only tested on ln882h, but ln882h is from the ln822x family , so it's worth testing.
"LN882H (LN882x family, H series) WiFi&BLE Combo"

@divadiow
Copy link

hmm. I thought that too. I have flashed OpenBeken LN882H builds to LN8825B quite a number of times without success.

Are you building separate LN882X binaries or is the output a single LN882 fw?

@lamauny
Copy link
Author

lamauny commented Jan 14, 2025

Hey, I've had a look to the vector table of the 2 chips and they are different, so these chips are definitely not fully compatible.

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