i am planning to work on a Bluetooth project for a public navigation and information system (in malls, exhibits etc.). i have to use a standalone device called Kuro box that is running on MontaVista Linux (Kernel 2.4.17) with 266Mhz ppc processor,128 MB RAM and 80GB hdd. i am going to use it as both a Bluetooth access point and a database server.
Can someone tell me what sort of Bluetooth driver is present in this kernel and functionality that i need to code to get atleast a piconet network between it as a master and other user mobile devices as slaves. i'v looked at a lot of resources but i'm still confused about exactly where to start.
also can i code for it on my present Fedora 6 Linux box with cross-compiling tools or something, or do i need to install a Linux 2.4 kernel flavour(which i don't really want coz i'd prefer to be in 2.6 system most of the time).
i'm new to linux so plz any suggestions.
Contact MontaVista
I'd recommend asking MontaVista. It's an old kernel that'll have a lot of things backported and changed. I doubt a kernel as old as 2.4.17 includes the bluez stack unless it's been backported, for example, and you'll need that. If the kernel doesn't have the bluez stack or some alternative you may have to build it yourself, which will quite likely involve some backporting work. If you have to do this, you might want to see how hard it'd be to bring the system up to a modern kernel and libc (again, MontaVista can probably give you some idea what your options - without arm porting experience - are here).
As for cross-compilation:
It's reasonably likely that you can cross-compile for this target using an x86 host. You'll probably want a toolchain from MontaVista that's customized for the libraries on the target. If you can't get a full canned cross-compilation environment, I expect you can use a standard x86-hosted arm-targeting gcc and copy the headers & static libs from the target into a target tree on your host.
An alternative to obtaining a target toolchain is to compile on the target using DistCC's cross compilation features:
http://www.gentoo.org/doc/en/cross-compiling-distcc.xml
(ugh, I just linked to the Gentoo website!) . I'm pretty sure that distcc preproceses the source before sending it to the compile helpers, so you should get acceptable results. It'll be quite a bit slower than a full cross-compilation toolchain though, since a lot of work is still performed on the target.
check out:
http://kegel.com/crosstool/
http://sourceware.org/ml/crossgcc/
http://google.com/
Comment flagged as spam
I replied in detail but this forum flagged it as spam. Maybe the admin can help.
thnx
thanx for ur advice. lets see where it takes me.is ur reply at the top the one ur referring to or is there another.
Also there's this thing called OpenBT which was popular during the 2.4 days. Can u tell me if i could use it and if so How?
Programming sample for bluetooth
Check it out at google/codesearch website:
http://www.google.com/codesearch?q=bluetooth&hl=en&btnG=Search+Code
You can try Stonestreet One
You can try Stonestreet One .