windytan / redsea

Command-line FM-RDS decoder with JSON output.
MIT License
406 stars 38 forks source link

Decoder Identification bits are the wrong way around #86

Closed Zipdox2 closed 1 year ago

Zipdox2 commented 1 year ago

The Decoder Identification bits are the wrong way around. The RDS specification says that the most significant bit (d3) gets transmitted first (Dynamic PTY). This corresponds to segment address 0. Your code interprets this as the stereo bit. image image

windytan commented 1 year ago

You're right, thanks a lot for the fix!