0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00

more open rft function

This commit is contained in:
2025-12-29 11:28:05 +01:00
parent 4fdcafc559
commit 640e02f12c
2 changed files with 46 additions and 29 deletions

View File

@@ -369,7 +369,11 @@ function register_oda_rds2(aid, data, file_related) end
function unregister_oda_rds2(oda_id) end
---This function is defined externally
---Loads the file into RFT and initializes it if needed, note that this needs RDR2 mode 2
---@param path string
---@param id integer
function load_station_logo(path, id) end
---Loads the file into RFT and initializes it if needed, note that this needs RDS2 mode 2
---@param aid integer for station logo use 0xFF7F
---@param path string filesystem path on the os
---@param id integer mostly use 0 here
---@param crc integer|boolean false for disabled, true for mode 7, and an integer for any of the modes
---@param once boolean true means that this file will be sent once and then unregistered
---@return boolean interrupted
function send_rft_file(aid, path, id, crc, once) end