Comments (8)
Fixed and tested.
Sorry for forgetting to update the repository.
For compatibility, I adopted the following fw numbers:
/* Board ID */
#define BOARD_LYWSD03MMC_B14 0
#define BOARD_MHO_C401 1
#define BOARD_CGG1 2
#define BOARD_LYWSD03MMC_B19 3
#define BOARD_LYWSD03MMC_B16 4
#define BOARD_LYWSD03MMC_B17 5
#define BOARD_CGDK2 6
#define BOARD_CGG1N 7 // 2022
#define BOARD_MHO_C401N 8 // 2022
#define BOARD_MJWSD05MMC 9
#define BOARD_LYWSD03MMC_B15 10
#define BOARD_LYWSD03MMC 10
#define BOARD_MHO_C122 11
#define BOARD BOARD_LYWSD03MMC
#define APP_RELEASE 0x99 // BCD app release "9.9"
#define APP_BUILD 0x99 // BCD app build "9.9"
#define STACK_RELEASE 0x30 // BCD stack release 3.0
#define STACK_BUILD 0x01 // BCD stack build 0.1
/*********************************************************************************************
* During OTA upgrade, the upgraded device will check the rules of the following three fields.
* Refer to ZCL OTA specification for details.
*/
#define MANUFACTURER_CODE_TELINK 0x1141 // Telink ID
#define IMAGE_TYPE ((CHIP_TYPE << 8) | BOARD)
#define FILE_VERSION ((APP_RELEASE << 24) | (APP_BUILD << 16) | (STACK_RELEASE << 8) | STACK_BUILD)
from z03mmc.
You can get original or modified Bluetooth firmware here and flash it via USB to UART
from z03mmc.
Added a paragraph about reverting to BLE over UART
from z03mmc.
Zigbee OTA firmware files for recovery in BLE
from z03mmc.
@pvvx Are these firmwares tested? Can I recomment them in the project readme?
from z03mmc.
This is a typical firmware with headers for Zigbee OTA.
from z03mmc.
I made such experiments it they failed in 50%. What would happen if BLE firmware is written to address 0x40000?
from z03mmc.
Thank you !! :)
from z03mmc.
Related Issues (20)
- I don't know HOT 1
- battery voltage? HOT 4
- Unexpected behaviour HOT 4
- Cannot re-pair device HOT 10
- Stuck during OTA flashing HOT 1
- LYWSD03MMC version 2.1.1_0159 HOT 1
- Problem with LYWSD03MMC and Zigbee2Mqtt HOT 1
- Add support for Ruuvi Tags (bluetooth) ?? HOT 3
- Зависают устройства если выключить хаб на несколько часов (Яндекс.станция)
- Bricked 2 devices w no reason HOT 1
- high battery consumption HOT 6
- LYWSD03MMC HW revision going blank after fw reset HOT 2
- Cannot discover Zigbee after flashing HOT 2
- Can't add to HA zigbee2mqtt after successful Flash HOT 2
- Temperature is reported once every 4 hours. What's wrong? HOT 1
- Crashed sensors HOT 6
- Wired Values HOT 2
- Devices using a non existent konverter HOT 1
- Flash via UART? HOT 3
- Device showing up weird cluster endpoints on ZHA HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from z03mmc.