Reply
Thread Tools
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#11
Originally Posted by Benson View Post
Looked, and it looks like it's a "high-level o-o language" implemented as a preprocessor to C. Where have I seen that before (and didn't like it then, either...)?
Don't know :-) I've seen some C++ to C translators before in times when writing direct c++ compiler from scratch was considered to be too much work. Also the moc compiler in QT is in some way similar but otherwise quite different.

Vala is layer that finally allows me to start coding for GTK and stay sane. If you look at current code written in C for GTK, D-bus etc, it already looks like autogenerated from some high level oo language like Vala :-) I don't believe anyone would type it all by hand. Certainly not me in my spare time and for free :-) Vala is specific to glib gobject system that needs to be used anyway so one can just save himself the pain and still get same result. Or at least that's the theory. The other alternatives like Python, Mono, Java all come with some price.

BTW, to stay on topic, here is another attempt to solve the PAN issue
http://tabletoid.blogspot.com/2008/0...onnection.html
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post:
Posts: 474 | Thanked: 30 times | Joined on Jan 2006
#12
Hrm. I'm willing to accept failure with libconic, but I didn't change the monitor example script at all

Nice link fanoush!

http://tabletoid.blogspot.com/2008/0...onnection.html is more than enough info for me to spin up a deb that binds in DHCP and automatic phone linking. Disconnect won't be as smart as I'd like, but that can wait until Nokia throws real cycles at the problem
 
Posts: 474 | Thanked: 30 times | Joined on Jan 2006
#13
Here's my first shot at debian integration.

Step one is to install dbus-scripts:
http://repository.maemo.org/extras-d...cripts.install

Step two, install the package.

Step three is to make sure your phone with PAN is set as your phone.

Step four, connect to the BT-PAN IAP.

Step five ought to be profit

I don't have any suitable hardware for this one, but a friend in the area does, so this ought to be final soon: however, it really ought to work as is
Attached Files
File Type: deb panner_0.1_armel.deb (3.1 KB, 128 views)
 

The Following User Says Thank You to aleksandyr For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on Feb 2008
#14
aleksandyr, I tried your .deb file, and it installed properly on my N810, but didn't solve it for me. For one thing, it didn't create a BT-PAN IAP, and when I set up a dummy IAP, I still had no success. But I'll keep watching the garage project, and hope you arrive at a solution. Thanks!
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#15
I want to make this an all-in-one .deb which also creates the IAP for you. Suggestions are welcome on the garage project page.
 
Posts: 474 | Thanked: 30 times | Joined on Jan 2006
#16
In theory, the post-install script will create the IAP for you, put the scripts in the proper places, and start them.

In practice, it appears I've screwed up my package and will have to figure out why it's working on my device, and not for everyone else.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#17
aleksandyr, I could put you on the members list for maemo-pan. Then you can upload your stuff to SVN and we can use this as a basis for further improvements.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#18
Here we go... http://garage.maemo.org/projects/maemo-pan

Thanks to aleksandyr for collecting information and to fanoush for hacking the initial PAN shell script!
maemo-pan doesn't have any dependencies except OS 2008. It consists of a very lightweight daemon written in C and a shell script for starting / stopping PAN.
 

The Following 3 Users Say Thank You to pycage For This Useful Post:
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#19
Can/should this also be used for networking between tablet & PC over BT ?
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#20
Originally Posted by fpp View Post
Can/should this also be used for networking between tablet & PC over BT ?
Not yet but this is planned for the future.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:08.