The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Coders Corner

Reply
 
Thread Tools Display Modes
Old 09-26-2006, 04:06 AM   #16
Constant Bitrate
 
Jeep's Avatar
 
Join Date: May 2004
Location: Sweden
Vehicle: 2003 Jeep Grand Cherokee w.22" rims
Posts: 151
My Photos: (0)
Sure I get the concept, it's a good idea to handle the "RDS decoding" in a separate class/dll so it can be used for more than one hardware. (if the hardware gives you raw RDS data).

I stil havent hade time to connect by HQCT yeat but will do soon, then I will dive into this and start testing/codeing.
Jeep is offline   Reply With Quote
Sponsored Links
Old 10-03-2006, 03:07 PM   #17
Evo
Low Bitrate
 
Evo's Avatar
 
Join Date: May 2005
Location: UK
Vehicle: 2003 Mitsubishi Evo VIII
Posts: 85
My Photos: (0)
Fmode can you make your code available in a Zip please, especially the RadioHal and RDSInterpreter

For people to develop radio.dll's that comply with your RadioHal interface you need to really issue a compiled version of your RadioHal, so that namespaces remain consistent so that consuming applications e.g. centrafuse plugins can safely late bind to the objects.

I'll take a look at doing a Silabs radio.dll in C#.

Cheers
__________________
Life moves fast, so don't get left behind, buy a fast car!
Evo is offline   Reply With Quote
Old 10-06-2006, 03:37 PM   #18
Constant Bitrate
 
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
My Photos: (0)
Quote: Originally Posted by Evo View Post
Fmode can you make your code available in a Zip please, especially the RadioHal and RDSInterpreter

For people to develop radio.dll's that comply with your RadioHal interface you need to really issue a compiled version of your RadioHal, so that namespaces remain consistent so that consuming applications e.g. centrafuse plugins can safely late bind to the objects.

I'll take a look at doing a Silabs radio.dll in C#.

Cheers

This is the best posting in the complete forum !


Can you PM me your Email so that I can send you the newest build ?
(this interface (especially RDS Interpreter) is still "fluctuating")

Maybe we have to go on a developing platform like CVS if more people start developing.... So that we can check out the files...

and:
My Interface is a proposal so: discussion welcome...

I am unsure about the namespaces... may be we (the Frontends) can also query the objects if it implements the interface...
I don't know which advantage this has.... may be its useful if the dual-tuner-switching-layer (Senario 4 from my Drawing) has to generate 2 instances of objects with the same interface (FMRadioHal_HQCT and FMRadioHAL_SILABS - to name one example) from 2 different assemblies...

And I hope Centrafuse will consume this interface directly .... instead of its "ICFRadio Interface" which is nearly the same but only 10% of the RDS (FMRadioHAL, RDS Interpreter) functionality.

Last edited by FMode : 10-06-2006 at 03:40 PM.
FMode is offline   Reply With Quote
Old 10-14-2006, 04:06 PM   #19
Constant Bitrate
 
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
My Photos: (0)
so nearly all RDS (expect TMC) features are now included....

My TestGUI represents the object-model inside more or less nice
Attached Images
 
FMode is offline   Reply With Quote
Old 11-02-2006, 03:01 PM   #20
Newbie
 
Join Date: Jul 2005
Posts: 12
My Photos: (0)
and the heavens will shine on it and we shall call it "n-tier architecture"

I'm in... let me know how I can get involved.
CSharper is offline   Reply With Quote
Sponsored Links
Old 11-02-2006, 04:05 PM   #21
Constant Bitrate
 
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
My Photos: (0)
I converted it to an offical open source project with open tasks waiting for unbusy developers (and non developers!) !!!

http://developer.berlios.de/projects/fmradiohal/

TMC interpretation coming soon !

n-tier architecture !
nice word !
So FMRadioHAL is an n-tier architecture driver !
FMode is offline   Reply With Quote
Old 07-07-2007, 10:41 AM   #22
FLAC
 
TheLlama's Avatar
 
Join Date: Jul 2004
Location: All over the world
Vehicle: 2001 Paper Airplane Standard Edition
Posts: 984
My Photos: (0)
Hey

SO, where is the current RDS implementation?
TheLlama is offline   Reply With Quote
Old 07-08-2007, 07:26 AM   #23
Constant Bitrate
 
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
My Photos: (0)

digging out an old thread

I thought nobody is interested in it....
nobody joined and it was only work to care the SVN repository so I stopped uploading..

Linux:
much better than Windows (embedded) IMHO (more cheaper, opener, flexible)...
I don't know much about Linux but I talked to a Linux professional about the Linux counterpart of ActiveX/COM and he said that there is none. This breaks Linux's neck IMHO especially for car usage (where COMponents have to work with each other -> see Centrafuse). Yes I know MONO - and I think this could be the break-through-the-wall for Linux....

You know that my RDS Interpreter is an isolated (.NET) component (not baby mashed with radio driver stuff) that I think should run on MONO (because it uses only System Namespace stuff).

My RDSInterpreter component is now around 4000lines of code. Missing is (still) TMC interpretation...

My intention/idea for the future was not to give away the code because I don't want to support baby-mashing-programming (mixing everything) style - copying out my code instead of using the interface. (I have a 2. version with the same interface of the RDS interpreter which feeds its data to a COM(hardware) interface mixing with NMEA from another Port - this is already working - tested with Na..... N.K - this 2. version should be not distributed too public )

And yes I see the Linux/Mac/... community so you can have the code but for windows I don't see a reason why it should be reimplemented again and again (as it also could be used by COM (VB6) Clients).

Last edited by FMode : 07-08-2007 at 07:34 AM.
FMode is offline   Reply With Quote
Old 07-08-2007, 11:56 AM   #24
FLAC
 
TheLlama's Avatar
 
Join Date: Jul 2004
Location: All over the world
Vehicle: 2001 Paper Airplane Standard Edition
Posts: 984
My Photos: (0)
I think your COM or .NET assembly is a good thing -- for Windows users. Even if we could get it to work with MONO or something, may "Linux purists" such as my self would not want to use it. Why download MONO, and have to convert your project to use .NET, etc; when we could just design it for the common denominator: C? That is why I want to port your RDS component to Linux. What we would have in the Linux Universe is this:

HQCT Kernel Module: Runs as a driver in the kernel. Handles Radio Interrupts and sends low-level commands to the module. Written in C and ASM.

HQCT User Library: A C Library that has useful API functions. This library talks to the kernel module. Other language bindings can either wrap the C functions, or just reimplement the C library (talk direct to the driver).

HQCT RDS Library: Used in unison with the User Library. Provide RDS decoding.

Anyways: I already have parts 1 and 2 done. Part 2 (the user library) is a very nice API IMHO. Much better than in Windows where each frontend has it's own redundant code. Part 1 could use some optimizations

Could I get a copy of the latest RDS source code in order to write Part 3? I don't think we can get a single 'universal driver' that will work on all OSes- Mainly because Windows is áss-backwards. However, we can have a similiar interface on all OSes. What we want, at least, is ONE implementation per OS.
TheLlama is offline   Reply With Quote
Old 07-08-2007, 12:43 PM   #25
Constant Bitrate
 
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
My Photos: (0)
Quote: Originally Posted by TheLlama View Post
I think your COM or .NET assembly is a good thing -- for Windows users. Even if we could get it to work with MONO or something, may "Linux purists" such as my self would not want to use it. Why download MONO, and have to convert your project to use .NET, etc; when we could just design it for the common denominator: C?

Because C sucks ... language is something a bit of personal taste... and thats why I like .NET because it frees from the language...

I must agree MONO needs some development before it could be used 100% on Linux.... Until then you have to go "Linux native"...

Quote: Originally Posted by TheLlama View Post
That is why I want to port your RDS component to Linux. What we would have in the Linux Universe is this:

HQCT Kernel Module: Runs as a driver in the kernel. Handles Radio Interrupts and sends low-level commands to the module. Written in C and ASM.

HQCT User Library: A C Library that has useful API functions. This library talks to the kernel module. Other language bindings can either wrap the C functions, or just reimplement the C library (talk direct to the driver).

HQCT RDS Library: Used in unison with the User Library. Provide RDS decoding.

Anyways: I already have parts 1 and 2 done. Part 2 (the user library) is a very nice API IMHO. Much better than in Windows where each frontend has it's own redundant code. Part 1 could use some optimizations

Could I get a copy of the latest RDS source code in order to write Part 3? I don't think we can get a single 'universal driver' that will work on all OSes- Mainly because Windows is áss-backwards. However, we can have a similiar interface on all OSes. What we want, at least, is ONE implementation per OS.

agree...
I need your emailadress for this

May be you can convert my VB.NET stuff to C# ? This may help porting...
...and you know SharpDevelop ? (should help you for this job - and has a great converter I use a lot of time)
FMode is offline   Reply With Quote
Old 07-09-2007, 10:39 AM   #26
FLAC
 
TheLlama's Avatar
 
Join Date: Jul 2004
Location: All over the world
Vehicle: 2001 Paper Airplane Standard Edition
Posts: 984
My Photos: (0)
Quote: Originally Posted by FMode View Post
Because C sucks ... language is something a bit of personal taste... and thats why I like .NET because it frees from the language...

I must agree MONO needs some development before it could be used 100% on Linux.... Until then you have to go "Linux native"...



agree...
I need your emailadress for this

May be you can convert my VB.NET stuff to C# ? This may help porting...
...and you know SharpDevelop ? (should help you for this job - and has a great converter I use a lot of time)

I don't want to get into a language war. However, I do not see how C# "frees from the language". If this were true, then I wouldn't need to write a driver for Linux because everything would "Just Work". Your design choices make great sense on the windows platform, but just doesn't make sense in Linux. Designing the C Library in Linux will allow other developers to write bindings for their favorite language (Python, D, Ruby, Perl, C++, Whatever..) because all of these languages can call C code by some means.

I may help you convert to C#, but what does this help with? Don't you just want ONE version of the .NET driver? Besides, C# is nothing like C, so it isn't like changing 1-2 lines. Anyways, I sent you a PM with my email address - I'll let you know how things proceed. Thanks alot!
TheLlama is offline   Reply With Quote
Old 07-09-2007, 02:41 PM   #27
Constant Bitrate
 
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
My Photos: (0)
Quote: Originally Posted by TheLlama View Post
I don't want to get into a language war. However, I do not see how C# "frees from the language". If this were true, then I wouldn't need to write a driver for Linux because everything would "Just Work". Your design choices make great sense on the windows platform, but just doesn't make sense in Linux. Designing the C Library in Linux will allow other developers to write bindings for their favorite language (Python, D, Ruby, Perl, C++, Whatever..) because all of these languages can call C code by some means.

same goes for native Windows DLL's ... they suck (their handling)... datatype troubles (is "Int" 16 or 32bit in this language?) sucks too...
(IMHO)

Quote: Originally Posted by TheLlama View Post
I may help you convert to C#, but what does this help with? Don't you just want ONE version of the .NET driver? Besides, C# is nothing like C, so it isn't like changing 1-2 lines. Anyways, I sent you a PM with my email address - I'll let you know how things proceed. Thanks alot!

No That was a hint from me to use the automatic code converter from SharpDevelop to get "C"-style out of my code....

Don't get me wrong: Micro$oft does a lot of crap IMHO - but .NET I would exclude...
I think I really have to install a Linux and tryout MONO ?

Last edited by FMode : 07-09-2007 at 03:28 PM.
FMode is offline   Reply With Quote
Old 07-10-2007, 10:58 AM   #28
FLAC
 
TheLlama's Avatar
 
Join Date: Jul 2004
Location: All over the world
Vehicle: 2001 Paper Airplane Standard Edition
Posts: 984
My Photos: (0)
Everything has their ups and downs. However, we simply cannot require MONO/.NET for our Linux driver. Simply - MONO just still isn't supported widely enough. Yes: if written for MONO, everyone with MONO should be able to run it. However: I do not want to require that every Frontend on Linux depend on MONO, that just isn't reasonable. In Windows, this would be reasonable because .NET is so widespread.

The analogy would be if I wrote a driver for windows that required KDE. Who uses KDElibs on Windows?? No one! The same is *almost* true on Linux.

So- how about sending the RDS source to my email address. I promise there will be no babymashing
TheLlama is offline   Reply With Quote
Old 07-10-2007, 02:24 PM   #29
Constant Bitrate
 
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
My Photos: (0)
Quote: Originally Posted by TheLlama View Post
Everything has their ups and downs. However, we simply cannot require MONO/.NET for our Linux driver. Simply - MONO just still isn't supported widely enough. Yes: if written for MONO, everyone with MONO should be able to run it. However: I do not want to require that every Frontend on Linux depend on MONO, that just isn't reasonable. In Windows, this would be reasonable because .NET is so widespread.

The analogy would be if I wrote a driver for windows that required KDE. Who uses KDElibs on Windows?? No one! The same is *almost* true on Linux.

this gets a little Off topic...
But I think the users could be "forced" to install a (free) application.



Quote: Originally Posted by TheLlama View Post
So- how about sending the RDS source to my email address. I promise there will be no babymashing

Look into your SPAM folder of your lama_at_gmail Acount
FMode is offline   Reply With Quote
Old 07-18-2007, 06:49 AM   #30
FLAC
 
TheLlama's Avatar
 
Join Date: Jul 2004
Location: All over the world
Vehicle: 2001 Paper Airplane Standard Edition
Posts: 984
My Photos: (0)
FMode, I have 3 gmail addresses (at least). Two of them have llama in the name (at least). I sent you a PM with an email address I check. Thanks again.
TheLlama is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2003 help needed veedubya Off Topic 2 05-31-2006 06:49 PM
"SUPER" (Xenarc repackage) touch screen- can not get the touch drivers working HACKTHS LCD/Display 5 03-25-2006 10:24 PM
Hauppague Wintv/Radio OWNERS- Resuming radio play? live2themaxuk General Hardware Discussion 5 01-29-2005 06:09 PM
Radio causes system to restart Bobby Digital MediaCar 2 05-05-2004 08:02 AM
DOS drivers for TV and Radio pedro General Hardware Discussion 3 01-06-2000 02:08 PM


All times are GMT -5. The time now is 04:29 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics