BALTECH AG - BEC2 file format
- Authors: Baltech AG [email protected]
- License: MIT
- Compatible with CPython >= 3.10
pip install git+https://github.com/baltech-ag/bec2format.git#v1.01.00
# or
poetry add git+https://github.com/baltech-ag/bec2format.git#v1.01.00
- Compatible with Micropython >= 1.20.0
- Tested with the Unix port on Ubuntu 20.04
import mip
mip.install("github:baltech-ag/bec2format/package.json", version="v1.01.00")
from bec2format.bf3file import Bf3Component, Bf3File
Bf3File(
{"FirmwareId": "1100", "FirmwareVersion": "2.05.01"},
[
Bf3Component(
{
0xC1: bytes([0x11, 0x22, 0x33]),
0xC3: bytes([0x12, 0x33]),
},
bytes(list(range(0x100))),
),
],
)
git clone https://github.com/baltech-ag/bec2format.git
cd bec2format
cd appnotes
py create_bec2file_with_ec_key.py
git clone https://github.com/baltech-ag/bec2format.git
cd bec2format
cd appnotes
micropython install_depepencies.py
micropython create_bec2file_with_ec_key.py