From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 23:53:40 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4348616A4CE; Thu, 9 Dec 2004 23:53:40 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D0F443D54; Thu, 9 Dec 2004 23:53:39 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iB9NrU2f000408; Thu, 9 Dec 2004 17:53:30 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 17:53:28 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 17:53:18 -0600 Message-ID: <41B8E56C.6050409@savvis.net> Date: Thu, 09 Dec 2004 15:53:16 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pav@FreeBSD.org References: <41B8D6D5.6090801@savvis.net> <1102634931.90683.9.camel@hood.oook.cz> In-Reply-To: <1102634931.90683.9.camel@hood.oook.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 09 Dec 2004 23:53:18.0154 (UTC) FILETIME=[41872AA0:01C4DE4A] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@FreeBSD.org Subject: Re: obexapp-1.4 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 23:53:40 -0000 Pav Lucistnik wrote: > Maksim Yevmenkin píše v čt 09. 12. 2004 v 14:51 -0800: > >>Hello, >> >>please help me with testing of obexapp v1.4. it can be downloaded from >> >>http://www.geocities.com/m_evmenkin/obexapp-1.4.tar.gz >> >>the main feature is readline(3) support. it is now possible to repeat >>and edit commands in interactive mode. the command parser also has been >>changed. it is now possible to enter command parameters together with >>commands (for example "cd /" or "get foo bar"). > > > 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? > 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? > 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. > 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. > 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. > Otherwise it works very nice, big step forward in usability. thanks for feedback. max