Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtMultimedia, RadioData object
Forum Updated to NodeBB v4.3 + New Features

QtMultimedia, RadioData object

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 809 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    spectrum
    wrote on last edited by
    #1

    Hi all,

    i am trying to use this QML object on a linux based system using an fm radio chip, but no rds data is displayed from the object. If i read rds data using a console tool, seems data are there:

    [system@localhost user]$ rds-ctl -R
    Using device: /dev/radio0

    TP: yes TA: no
    PI: a000
    Area Coverage: Local
    PTY: 10 -> Pop Music
    MS Flag: Music
    Time: Thu Aug 20 10:59:00 2015

    Language: 21 -> Italian
    Time: Thu Aug 20 10:59:00 2015

    Time: Thu Aug 20 10:59:00 2015

    Error reading from device (no RDS data available)

    Summary of valid RDS-fields:
    PI: a000
    Area Coverage: Local
    PTY: 10 -> Pop Music
    Time: Thu Aug 20 10:59:00 2015

    TP: yes TA: no
    MS Flag: Music
    Language: 21 -> Italian

    Enhanced Other Network information: 1 channels
    PI(ON 00) = 0000
    PS(ON 00) =
    TP(ON 00): no

    RDS Statistics:
    received blocks / received groups: 100 / 25
    block errors / group errors: 0 (0.00%) / 0
    corrected blocks: 0 (0.00%)
    Group 00: 10
    Group 01: 3
    Group 02: 2
    Group 03: 0
    Group 04: 4
    Group 05: 0
    Group 06: 0
    Group 07: 0
    Group 08: 0
    Group 09: 0
    Group 10: 0
    Group 11: 0
    Group 12: 0
    Group 13: 0
    Group 14: 3
    Group 15: 3
    [system@localhost user]$

    I am wondering how the RadioData object interact with v4l2 library, and how i could debug the issue.

    Many thanks
    angelo

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by SGaist
      #2

      Hi and welcome to devnet,

      Did you also check the Radio Overview Chapter ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        spectrum
        wrote on last edited by
        #3

        Hi,

        well, from that page:

        Radio Implementation Details

        The actual level of support depends on the underlying system support. It should be noted that only analog radio is supported, and the properties of the radio data component will only be populated if the system radio tuner supports RDS.

        This is not totally true. My driver supports RDS and rds-ctl tool reads the data. While RadioData object is not accessing the driver fops_read at all (checked with some printk at driver level).
        So, mainy, in linux at least, even using v4l2 support, radioData seems to do nothing.
        Investigating.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved