did some more. but ..overkill?
- Refactored RF offsets into a single chipset->RF base table and derived CFG as (RF + 0x1000).
- Added RF support guarding for non-Beken/unsupported chipsets (disabled buttons, tooltips, and runtime hard-stops).
- Guarded “Read RF Configuration” to match the restore/write RF button behaviour (same enable/disable logic and messaging).
- Converted “Download RF data” from link to guarded button and implemented it via fetch+Blob download.
- Converted “Download OBK configuration” from link to button (left unguarded) and implemented it via fetch+Blob download.
- Fixed RF download to save as rfdata.bin with application/octet-stream (prevents “text file” saves) and aligned config naming similarly.
- Implemented BK7238 RF read/download auto-detect: try 0x1E3000 first, fall back to 0x1E0000 if the block doesn’t start with TLV\0.
- Added ability to use a full flash dump for RF “TLV restore” by locating TLV\0 and extracting exactly 0x1000 bytes for flashing.
- Added an 8MB max-size rejection for the RF file input to avoid accidental huge uploads.
- Added RF source metadata and logging (filename, whether extracted vs direct TLV-at-0, and extracted offset).
- Added MAC preview logging and read-back verification for RF write (compare written 0x1000 vs device read-back).
- Standardised confirmation prompts via a single promptYes() helper (case-insensitive YES/y handling).
- Improved custom length prompt parsing to accept decimal bytes or hex (0xNNNN / NNNNh) and translate to backend hex length.
- Added a single RF-supported-chipset constant/list reused by enablement logic and tooltip text (reduces drift/duplication).
- Added central fetch helpers (fetchOrThrow/fetchArrayBufferOrThrow/fetchTextOrThrow) and applied them to previously unchecked calls (ensures response.ok is enforced consistently).
- Improved full dump chunk download to enforce response.ok before consuming the body.
- Changed downloadArrayBuffer() to revoke object URLs after a short delay instead of immediately (browser reliability).
- Removed an unused full-dump workflow field (fullDumpFileTag) while keeping dump naming based on chipset/style/shortName.
- Minor copy/tooltip text adjustments (including the BK7238 note and restore-RF MAC wording).
is OBK CFG download/read used? should it stay?
Should I continue to confirm all OK in testing or...?