Files
mayhem-firmware/firmware/common
VasylSamoilov 4dce613172 FLEX TX: pager transmitter with long address support (1600/2FSK) (#3132)
External app for encoding and transmitting FLEX pager frames at
1600bps/2FSK. Supports short (1-1,933,312) and long (2,101,249-
4,297,068,542) addresses across all encoding sets (1-2, 1-3/1-4, 2-3).

Message types:
- Alphanumeric (vector type 5): 7-bit chars, signature, K checksum
- Standard Numeric (vector type 3): 4-bit BCD, K checksum
- Short/tone-only (vector type 2): space-filled BCD in vector word
- Short numeric (vector type 2): BCD digits in vector word (3/8 digits)

Frame structure:
- FIW (Frame Information Word): cycle, frame, roaming flag
- BIW (Block Information Word) support with up to 3 extra words:
  Date, Time, SysInfo/timezone+DST, SSID1 (Simulcast System ID:
  Local ID + Coverage Zone), SSID2 (Country Code)
- BCH(31,21) encoding with bit reversal, block interleaving
- Two frames per TX: message R=1 (new) then R=0 (duplicate)
- Message number N (0-63): random seed from RTC, auto-increments
- ERS (Emergency Re-Sync) burst: configurable N x 42-cycle bursts
  with 8-cycle preamble per frame

UI:
- Capcode info line: address type, computed frame/phase (reference)
- TX status: step counter with ERS/frame progress
- Set params view: Date/Time/TZ/DST, LocID/CovZone, CountryCode,
  Roaming, message number, ERS count
- Date/time auto-populated from RTC with calendar-equivalent year
  mapping for years beyond 2025 (per ARIB STD-43A)
- Year validation with equiv-year popup for out-of-range values
- Capcode and BIW flags persisted via SettingsManager

Serial interface:
- sendflex <capcode> <type> <msglen> + payload
- Types: 0=alpha, 1=numeric, 2=short/tone, 3=short numeric
- FlexTosendMessage (ID 103) for serial-to-app communication
- App must be open to receive serial commands
2026-04-10 11:17:52 +02:00
..
2023-05-19 08:16:05 +12:00
2025-08-27 06:37:57 +00:00
2016-01-31 09:34:24 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2024-10-07 11:55:11 +02:00
2025-10-09 22:29:53 +02:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2025-12-14 11:26:21 +01:00
2025-11-21 09:30:01 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-08-02 21:59:26 +02:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2025-08-27 06:37:57 +00:00
2023-07-17 11:43:37 -07:00
2024-10-07 15:58:37 +02:00
2023-05-14 23:09:43 +02:00
2023-05-19 08:16:05 +12:00
2016-01-31 09:34:24 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2016-01-31 09:34:24 +01:00
2023-05-19 08:16:05 +12:00
2024-12-20 07:55:39 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2019-02-03 18:25:11 +00:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2024-11-08 11:46:27 +01:00
2024-11-08 11:46:27 +01:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2024-11-08 11:46:27 +01:00
2026-02-24 11:23:41 +01:00
2023-05-19 08:16:05 +12:00
2017-02-13 05:35:13 +00:00
2025-06-05 07:08:03 -07:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2025-08-27 06:37:57 +00:00
2023-05-19 08:16:05 +12:00
2026-02-24 11:23:41 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-04-24 13:04:59 +02:00
2025-05-23 00:23:35 +08:00
2016-08-23 08:45:33 +02:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2025-12-14 11:26:21 +01:00
2023-06-11 11:47:13 -07:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2025-11-26 19:13:21 +01:00
2025-11-26 19:13:21 +01:00
2025-12-14 11:26:21 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-06-10 07:50:42 +12:00
2024-10-14 13:07:41 +02:00
2024-10-14 13:07:41 +02:00
2025-12-14 11:26:21 +01:00
2026-02-16 15:50:27 +01:00
2023-05-19 08:16:05 +12:00
2026-02-24 11:23:41 +01:00
2023-06-05 20:09:50 +02:00