obexapp-1.4
Pav Lucistnik
pav at FreeBSD.org
Fri Dec 10 00:46:14 PST 2004
Maksim Yevmenkin píše v čt 09. 12. 2004 v 15:53 -0800:
> > obex> get Soul.mp3 Soul.mp3
> > Success, response: OK, Success (0x20)
> >
> > obex> get Wazzup.mp3
> > Failure, response: Unautorized (0x41)
> >
> > When I write get with single argument, could obexapp assume it as both
> > remote and local filename?
>
> well, it could. right now i opted for non-intuitive version :) that is
> 'get foo' means get default vcard object and save it locally as foo :)
> funky, huh? :)
>
> i do not like it myself, and i'm not sure how often one wants to pull
> default vcard object. i like your idea better, i.e. 'get foo' should
> mean 'get foo foo'. perhaps adding another command to get default object
> would be better?
Exactly. I see you already implemented this, I will test 1.4.1 in the
evening (I have my bluetooth dongle at home).
> > There's some odity with line breaks, it seems, on my terminal:
> >
> > +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
> > | obex> get Soul.mp3 Soul.mp3 Success, response: OK, Success (0x20) |
> > | obex> get Wazzup.mp3
> > | Failure, response: Unautorized (0x41)
> > +-------------------------------------
> >
> > Should there be so many spaces and shouldn't there be line break before
> > "Success" ?
>
> i'm not really sure what do you mean. could you please provide a sample
> of what you would like output to be?
Well, I would expect it to print Success on the new line, not on the
same line as get Soul.mp3 Soul.mp3 with 200 spaces inbetween.
> > What about autocompletion, like in shell?
>
> autocompletion for the remote filenames would be tricky to do. directory
> listing is required for that. not all devices support 'ls' command.
Perhaps it could try to do 'ls' on first 'tab' keypress, as lftp does
it. I understand this would be a lot of work, probably.
> > What about unicode characters? My cell phones have czech localisation
> > and name of directories visible over OBEX are with czech characters,
> > coded in Unicode. Accessible for me with obexapp but in latin2 charset:
> >
> > obex> ls
> > Access Owner Group Size Modified Name
> > n/a n/a n/a n/a Obrázky/
> > n/a n/a n/a n/a Zvuky/
> > n/a n/a n/a n/a Schémata/
> > n/a n/a n/a n/a Videosoubory/
> > n/a n/a n/a n/a Jiné/
> > Success, response: OK, Success (0x20)
> > obex> cd Jiné
> > Failure, response: Not found (0x44)
> > obex> cd Jiné
> > Success, response: OK, Success (0x20)
>
> well, directory listing is a xml document. i just get it and parse/print
> it with bsdxml(3). does your phone sets xml charset? (hint: use hcidump
> to actually see xml :)
> unicode input is a completely different beast. you actually have to
> switch your console to unicode.
What's interesting is that listing is printed in Unicode, but 'cd'
command reacted on 'iso-8859-2' encoded name, but not on Unicode encoded
name.
I will check with hcidump in the evening.
> > It wanted to pair my cell phone on connect, obexapp-1.3 does not wanted
> > to pair.
>
> obexapp does not care about piring. if you want to authenticate incoming
> connection on freebsd you have to use hccontrol(8). right now there is
> no way to turn authentication on individual connections. its all or none.
It's more about that phone suddenly wanted to pair with my computer.
With obexapp-1.3, it just allowed computer to connect, but did not
allowed to browse any directories, only to upload files into root.
With obexapp-1.4, it want to pair, otherwise it drop the connection, but
now it allows browsing subdirectories and getting files from/to them.
I'm not sure if I dislike the new way, I'm just reporting difference.
--
Pav Lucistnik <pav at oook.cz>
<pav at FreeBSD.org>
On real UNIX, /usr/bin/more prints -More-.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-bluetooth/attachments/20041210/e30d9dee/attachment.bin
More information about the freebsd-bluetooth
mailing list