Skip to content

Commit

Permalink
add ver:devis to ZigbeeTLc
Browse files Browse the repository at this point in the history
  • Loading branch information
pvvx committed Feb 5, 2024
1 parent c04d96a commit 436036e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion WinMakeAll.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
make -s -j clean
make -s -j VERSION_BIN=%SWVER% PROJECT_NAME=Z03MMC POJECT_DEF="-DBOARD=BOARD_LYWSD03MMC"
@if not exist "bin\Z03MMC%SWVER%.bin" goto :error
@python3 make/zb_bin_ota.py bin\Z03MMC%SWVER%.bin bin\Z03MMC%SWVER% -m0x1141 -i0x0201 -v0x09993001 -s"Zigbee ver:devis to ZigbeeTLc"
@python3 make/zb_bin_ota.py bin\Z03MMC%SWVER%.bin bin\Z03MMC%SWVER% -m0x1141 -i0x0203 -v0x09993001 -s"Zigbee ver:devis to ZigbeeTLc"
@python3 make/zb_bin_ota.py bin\Z03MMC%SWVER%.bin bin\Z03MMC%SWVER% -m56085 -i0x0203 -v0x09993001 -s"Zigbee ver:devis to ZigbeeTLc"
make -s -j clean
make -s -j VERSION_BIN=%SWVER% PROJECT_NAME=ZCGDK2 POJECT_DEF="-DBOARD=BOARD_CGDK2"
@if not exist "bin\ZCGDK2%SWVER%.bin" goto :error
Expand Down
Binary file added bin/1141-0203-09993001-Z03MMC_v0118.zigbee
Binary file not shown.
Binary file added bin/db15-0203-09993001-Z03MMC_v0118.zigbee
Binary file not shown.
2 changes: 1 addition & 1 deletion make/zb_bin_ota.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def arg_auto_int(x):

def main():
parser = argparse.ArgumentParser(description="Create Zigbee OTA file",
epilog="Reads a firmware image file and outputs an OTA file on standard output")
epilog="Reads a firmware image file and outputs an Zigbee OTA file")
parser.add_argument("filename", metavar="INPUT", type=str, help="Firmware image filename")
parser.add_argument("output", metavar="OUTPUT", type=str, help="OTA filename")
parser.add_argument("-m", "--manufacturer_id", metavar="MANUFACTURER_ID", type=arg_auto_int, required=True, help="Manufacturer ID")
Expand Down

0 comments on commit 436036e

Please sign in to comment.