This version has almost full feature: supports seek/tune events and RDS events. all properties are supported except FMPROP_AFJUMP, FMPROP_DEEMPHASIS and FMPROP_CARRIER_DETECT. AFJUMP and Deemphasis are not supported by hardware. Carrier detect will be implemented later.
I added a menu for RDS log on/off.
Please provide RDS log for one minute under strong signal.
And tell me what is the name of that station.
For example, in the built-in FM radio displays "BBC R4", I shall be able to find ASCII code of "BB", "C " and "R4" from RDS log. Otherwise there might be a bug.
It is time to make it working perfect. I will write more test plan tomorrow.
Reference:
Code:
FMPROP_AFJUMP = 0, // enable (dwVal = 1)/disable (dwVal=0) automatically AF jump when RSSI is lower than FMSET_MIN_SEEK_RSSI.
FMPROP_AUDIOPATH , // Set audio path: 0: loud speaker; 1: wired headset;
FMPROP_BAND , // Set Radio Band. See enum FMRadioBand.
FMPROP_DEEMPHASIS , // De-emphasis mode. 0 = off; 1= on
FMPROP_FREQUENCY , // current frequency
FMPROP_MIN_SEEK_RSSI , // the minimum signal strength required for seeking a channel. 0-255 devce dependant.
FMPROP_MONO , // mono mode. 0 = stereo; 1 = mono
FMPROP_MUTE , // set mute state: 0 = Unmute; 1 = Mute
FMPROP_RSSI , // radio signal strength. 0 - 255. Read Only
FMPROP_STEREOBLEND , // enable (dwVal = 1)/disable (dwVal=0) stereo blend for improving sound quality when signal is poor
FMPROP_VOLUME , // set FM audio volume in percentage. 0 - 100
FMPROP_CARRIER_DETECT , // bitmasked carrier detection for current frequency: 0x0001 FM, 0x0002: Stereo, 0x0004: RDS. Read Only
FMPROP_POWER , // current power state. 0 = power off; 1 = power on. Read Only