OpenWrt Forum Archive

Topic: Good projects using operwrt..?

The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Can you give some good projects i can build on openwrt.. i am a student looking for a project in adm5120 board/openwrt.

I have an idea like communicating adm board with mobile phone via blue tooth.. is it complex..?

advances thanks for any input..

Well, I have a project that is currently pending due to lack of time... I would like to build a 'remote control' system for my router. The current product so far is a piece of software on the router that listens on the Bluetooth dongle connected to the USB port, and another piece of software on my Symbian S60 Nokia telephone that connects to it and receives a welcome messege. Only you know how elaborate project you can imagine for yourself (and implement). From querying basic information to executing arbitrary command on the shell and observing the result you have quite many options. The Bluetooth part of the communication is not difficult to code at all - at least nothing more complex than a simple TCP/IP socket application.

Thanks for your reply..  I have some more doubts.. as far as i know adm 5120 board support only usb 1.0 .Whic blue tooth dongle r u using..? is it usb 1.0 based?

In your project how will you send messages from mobile phone to board(router)..? r u using any j2me or similiar client for that?


thanks Justin

I didn't find bluetooth to be as easy as neutron is making out, so I wrote this page mainly for my own benefit:
http://www.biffer.talktalk.net/bluetooth/

Last time I tried this I couldn't get it to work with the Edimax though.  It's not a problem with the USB 1.0 port, it seemed to be something else.

cheers,
Biff.

how did u tried?  did u use latest kernal 2.6? which company dongle u used?

justinjose12002 wrote:

Whic blue tooth dongle r u using..? is it usb 1.0 based?

I am using a TECOM BT-3035 dongle. I think it is USB2.0-based, but I am not sure.

justinjose12002 wrote:

In your project how will you send messages from mobile phone to board(router)..? r u using any j2me or similiar client for that?

I write my own client for the Symbian platform (I have never coded in J2ME, but maybe I will give it a try in the future. There are some things I hate in Symbian, e.g. handling of strings). The client will use sockets to communicate. Actually, once you have a socket that represents a connection, sending data is a piece of cake. You can consult an arbitrary TCP/IP socket tutorial to learn more. The problematic part is always the process through which you obtain the socket. For these issues, I consulted my 'Software development for mobile devices' lecture slides for the Symbian side, and a BlueZ tutorial for the OpenWRT side.

Regards
Adam

Before I forget: before starting to code, be sure to check that the Bluetooth dongle is recognised by the box. HCID must be running and the command hcitool dev must show your device.

Thanks again for thre inputs... actually i have tired bluez libs with my ubuntu 8.09 (i wrote a c program to communicate with my desktop bluetooth using bluez libs ... i could able to find the bluetooth devices surrounding me..)... is bluez libs are available for edimax board?..  if i use bluz libs ...desktop inbuilt bluetooth  devices access and usb dongle access are same..?

justinjose12002 wrote:

is bluez libs are available for edimax board?

Erm... what? smile The BlueZ stack is included in OpenWRT as a package, so you can build it for yourself or download it from the repository (I remember using the pre-built package on Kamikaze 7.09 kernel 2.4). I see no reason why your Edimax box wouldn't run it...

justinjose12002 wrote:

if i use bluz libs ...desktop inbuilt bluetooth  devices access and usb dongle access are same..?

Well, I have never tried to code anything Bluetooth-related for an x86 PC with on-board Bluetooth, but I don't think that anything would justify any substantial difference between the two scenarios - at least not from the application developer's point of view.

Regards
Adam

The discussion might have continued from here.