@sie-js/serial
v1.7.1
Published
Various serial protocols which are used in the Siemens Mobile Phones.
Readme
Summary
Various serial protocols which are used in the Siemens Mobile Phones.
Install this package with npm:
npm i @sie-js/serialExamples
| Protocol | Example | Description | |----------|----------------------------------------------------------------------------------------------------------|----------------------------------| | BFC | examples/bfc.ts | Siemens Debug protocol | | CGSN | examples/cgsn.ts | ArmDebugger protocol | | AT | examples/atc.ts | Modem AT commadns protocol | | PPP | examples/ppp.ts | PPP over a modem data connection | | BSL | examples/bsl.ts | Serial Bootstrap Loader protocol | | DWD | examples/dwd.ts | APOXI debug protocol (DWDIO) | | CHAOS | examples/chaos.ts | Chaos flasher protocol | | OBEX | examples/obex.ts | FlexMem file system protocol |
Tests
pnpm test # unit tests
pnpm test:obex-emulator # OBEX against an emulated phone
OBEX_E2E_DEVICE=/dev/ttyUSB0 pnpm test:obex-hardware # OBEX against a phone on a cableThe OBEX e2e tests run against a phone firmware in pmb887x-emu or against a real phone, and skip themselves when neither is configured. tests/obex/README.md explains what they need.
AI-assisted contributions
We are not against AI. We are against vibe coding, AI slop, and attempts to offload engineering work to a model. This project prioritizes quality, not development speed or results at any cost.
Do not use AI-generated text in human-to-human communication.
Write comments, discussions, PR descriptions, and responses to reviewers yourself.
Do not let AI submit PRs or commits.
The author must always be a human who has personally reviewed the changes and takes responsibility for them.
Do not submit code primarily designed or written by AI.
Architecture, algorithms, code organization, and the final implementation must be decided by a human. AI may only be used as an auxiliary tool.
You must understand all the code you submit.
You must be able to explain every change, justify your decisions, and fix any problems yourself. If you do not understand the code, open a feature request instead of a PR.
Code must be simple, clear, and tested.
Follow KISS, the project's coding style, and its existing architecture. Do not introduce unnecessary abstractions, dependencies, or untested changes.
AI slop PRs will be closed without review.
