Drop an assertion that always passes, and reflow a decision
Mirror / push (push) Has been cancelled
Test / lint (pull_request) Successful in 27s
Test / test (18) (pull_request) Successful in 31s
Test / test (20) (pull_request) Successful in 39s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 38s
Test / test (26) (pull_request) Successful in 31s

This commit is contained in:
2026-09-27 15:27:25 +02:00
parent 138464ad0f
commit 58e622143b
2 changed files with 5 additions and 6 deletions
+4 -5
View File
@@ -434,11 +434,10 @@ rule and an index of the titles below.
`writeParams()` ignores it, so an empty one, an absent one and one the wire cannot carry are the
same input rather than three. A `data_coding` on a command that declares no such field is honoured
the other way round, since it is `replace_sm`'s only way to name the alphabet its octets are in.
Rejected: refusing a string
`message_payload` outright and demanding
octets, which contradicts `short_message` on the same PDU. Rejected: guarding every string-valued
field against `data_coding`, which says nothing about them — a text field on the wire has an
alphabet of its own.
Rejected: refusing a string `message_payload` outright and demanding octets, which contradicts
`short_message` on the same PDU. Rejected: guarding every string-valued field against
`data_coding`, which says nothing about them — a text field on the wire has an alphabet of its
own.
- **A GSM 03.38 message declares `data_coding` 0x00, and an inbound 0x01 is still read as GSM.**
Maintainer's call, 2026-09-09: `dataCodingFor()` and `encodeBody()` both resolved an alphabet