Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Programming D-Link Radio Interface

  1. #1
    Newbie keegan's Avatar
    Join Date
    Aug 2004
    Location
    Reading, UK
    Posts
    38

    Programming D-Link Radio Interface

    I have just bought a D Link radio of usb and I want to include control of it into a frontend i am designing but cant find any info on how to do this.

    I have tried searching both this site and an others i can find but they only give information about the product, not programming for it.

    If anyone could give me a helping hand with this or even a hint I would appreciate it!


    Keegan

  2. #2
    FLAC jbors's Avatar
    Join Date
    Nov 2003
    Posts
    959
    Quote Originally Posted by keegan
    If anyone could give me a helping hand with this or even a hint I would appreciate it!
    Basically, you didn't write what os you're using or something. If you use libusb( win32 ) it can be as simple as that( locate fm-radio.c ):
    http://www.scyld.com/usb_tuner.html
    You still have to deal with Mixer settings and stuff though.

  3. #3
    Newbie keegan's Avatar
    Join Date
    Aug 2004
    Location
    Reading, UK
    Posts
    38

    Oops

    Sorry, Win2000 and C#

    And here the edit starts!

    Mixer settings have always been an issue as I am planning on using a four channel amp with fader/balance control built into the interface (not sure right not how difficult that will be but it is the plan!).

    I know radio will come in through line in but hopefully some form of normalisation of volume will be made, even if it is manually.

  4. #4
    Maximum Bitrate wi77iam's Avatar
    Join Date
    Jun 2003
    Location
    Chester Springs, PA
    Posts
    605
    The easiest way is to use RC.exe, the command line control program for Radiator that is included with it. You can use it to control just about everything that Radiator can do. So from your front-end, just make Shell commands for whatever you want to do, using the appropriate RC call.
    *******************************
    *******************************

  5. #5
    Newbie keegan's Avatar
    Join Date
    Aug 2004
    Location
    Reading, UK
    Posts
    38
    RC.exe sounds like a good call but if i can, i would prefer to write the interface myself.

    I would like to learn how to do such things rather than using someone elses creation. This may sound egotistical but I haven't found my limit as far as programming goes and I want to know how far I can push myself before using someone elses software on such a project, even though I have used such software in the past which has worked beyond expectations.

    Basically, I don't like not knowing how things work!

  6. #6
    Low Bitrate
    Join Date
    May 2004
    Posts
    56
    This may sound egotistical but I haven't found my limit as far as programming goes and I want to know how far I can push myself before using someone elses software on such a project, even though I have used such software in the past which has worked beyond expectations.

    Basically, I don't like not knowing how things work!
    I totally respect your position however, perhaps your knowledge for learning low level interfacing could be best used elseware (For instance, on developing interfaces with OBDII or something else.)

    I truely believe in not reinventing the wheel. It is not as if passing command line arguments to a console based program is a lazy way to do things. Perhaps you can reconsider and use your time on something groundbreaking

    Of course this is just my opinion, I wish you the best of luck.

    moltensilver

  7. #7
    Newbie keegan's Avatar
    Join Date
    Aug 2004
    Location
    Reading, UK
    Posts
    38
    I can quite easily see myself getting so far into this project and then find myself following your advice!

    Its one thing advancing your own skills but when it comes to having a fully working carputer rather than waiting, I'll choose the easy way every time!

  8. #8
    FLAC jbors's Avatar
    Join Date
    Nov 2003
    Posts
    959
    Quote Originally Posted by moltensilver
    I truely believe in not reinventing the wheel. It is not as if passing command line arguments to a console based program is a lazy way to do things. Perhaps you can reconsider and use your time on something groundbreaking
    Well.
    Sending command to usb port as hard as sending them to the app. So if difficulty is the same, why bother and ask user to install zillions of other apps ?

  9. #9
    Newbie keegan's Avatar
    Join Date
    Aug 2004
    Location
    Reading, UK
    Posts
    38
    Has anyone got a copy of fm-radio.c? I have searched everywhere on the internet for it but can only find sites trying to sell me radios!

    The website given above no longer has it for download, or if it does, it wont let me!
    Project Neville: "The Brain"
    MP3/GPS

  10. #10
    FLAC jbors's Avatar
    Join Date
    Nov 2003
    Posts
    959
    Here you go:
    http://66.159.221.186/fm-radio.c
    Here is the simple prog with libusb:
    http://66.159.221.186/fm-test.c

Page 1 of 2 12 LastLast

Similar Threads

  1. Class 2 Data Bus
    By owenjh in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 35
    Last Post: 10-09-2008, 04:34 AM
  2. Anyone found a new set of drivers for the D Link USB FM Radio ?
    By SAScooby in forum General Hardware Discussion
    Replies: 0
    Last Post: 08-20-2004, 03:21 AM
  3. Fm Radio
    By vicky_obee in forum Media Engine
    Replies: 9
    Last Post: 07-01-2004, 11:52 PM
  4. How do i make Radio working in MediaCar?
    By zvi in forum MediaCar
    Replies: 0
    Last Post: 05-16-2004, 03:38 PM
  5. XM Satellite like Radio for UK, Europe, Africa, Asia, South America, and More!
    By lerandell in forum Software & Software Development
    Replies: 2
    Last Post: 04-09-2004, 07:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •