All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Pizzamiglio <pizzamiglio@cefriel.it>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] At commands not available
Date: Tue, 19 Jul 2005 17:06:56 +0200	[thread overview]
Message-ID: <42DD1710.7030006@cefriel.it> (raw)
In-Reply-To: <20b987f5050716121359298b52@mail.gmail.com>

Hi Dirk. I've tried your code on my system (bt dongle with i-mate SP3
phone), but my phone close the connection during receive.
I'm subsantially sure that the channel is right. When I try DUN channel
I obtain ERROR response, but when I use HF profile, the phone close the
connection. I obtain the same behaviour with HS channel.

Someone could help me to solve this problem?

thx in advance.

Cheers,
Pizza

Dirk Vanden Boer wrote:
> I believe DUN is channel 1, to be sure I tried every channel, nothing
> seems to work
> 
> Dirk
> 
> On 7/16/05, Peter Wippich <pewi@gw-instruments.de> wrote:
> 
>>Try DUN. But maybe the CBC command is only available on the physical port.
>>
>>Ciao,
>>
>>Peter
>>
>>
>>On Sat, 16 Jul 2005, Dirk Vanden Boer wrote:
>>
>>
>>>Thanks for pointing me to that. I was connecting to channel 4 (heaset
>>>service) which was wrong, I think I should be connecting to the serial
>>>port service (channel 1). But the CBC command is still not available.
>>>In fact the available commands listed with AT* are the same for
>>>channel 1 and 4.
>>>
>>>Dirk
>>>
>>>
>>>On 7/16/05, Peter Wippich <pewi@gw-instruments.de> wrote:
>>>
>>>>Hi Dirk,
>>>>
>>>>which service you are connecting to ??? If you connect to the wrong
>>>>service (channel) the phone may (shall !) only make available the AT
>>>>commands belonging to this service.
>>>>
>>>>Ciao,
>>>>
>>>>Peter
>>>>
>>>>
>>>>On Sat, 16 Jul 2005, Dirk Vanden Boer wrote:
>>>>
>>>>
>>>>>On 7/16/05, Fred Schaettgen <bluez-devel@schaettgen.de> wrote:
>>>>>
>>>>>>On Saturday, 16. July 2005 18:32, Dirk Vanden Boer wrote:
>>>>>>
>>>>>>>Hi,
>>>>>>>I'm trying to send AT commands to my mobile phone using an rfcomm
>>>>>>>connection. The connection seems to work because I can exectute some
>>>>>>>commands (like manufacturer name). But a whole bunch of commands are
>>>>>>>not available (eg. battery charge: "AT+CBC\r" returns ERROR). I can
>>>>>>>run the AT* command which lists the available commands but a lot of
>>>>>>>common commands are not in the list. Could it be that there is
>>>>>>>something wrong with my connection?
>>>>>>
>>>>>>Are you sure that this command should be supported at all? If you are
>>>>>>connecting to the handsfree service, then the phone probably does not have to
>>>>>>support it. At least I can't find +CBC in the handsfree spec. Phones are free
>>>>>>to support additional commands though, or at least they do support more in
>>>>>>practice. It works with a Nokia 6230 for instance, without any special
>>>>>>initialization.
>>>>>>
>>>>>>Fred
>>>>>
>>>>>The CBC command is listed in the developers guidelines document of the
>>>>>ericsson t68 phone, so I guess it should be available.
>>>>>
>>>>>Dirk

-------------------------------------------
Luca Pizzamiglio
CEFRIEL - Embedded Systems Design Unit
Via Fucini, 2 - 20133 MILANO (ITALY)
Phone:		+39 02 23954 343
e-mail:		pizzamiglio@cefriel.it
ICQ:		5046978
-------------------------------------------


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2005-07-19 15:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-16 16:32 [Bluez-devel] At commands not available Dirk Vanden Boer
2005-07-16 17:17 ` Fred Schaettgen
2005-07-16 17:26   ` Dirk Vanden Boer
2005-07-16 17:35     ` Peter Wippich
2005-07-16 18:06       ` Dirk Vanden Boer
2005-07-16 18:24         ` Peter Wippich
2005-07-16 19:13           ` Dirk Vanden Boer
2005-07-19 15:06             ` Luca Pizzamiglio [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42DD1710.7030006@cefriel.it \
    --to=pizzamiglio@cefriel.it \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.