Netdev List
 help / color / mirror / Atom feed
From: Stefano Babic <stefano.babic@babic.homelinux.org>
To: "Sjur Brændeland" <sjur.brandeland@stericsson.com>
Cc: netdev@vger.kernel.org,
	Kim Lilliestierna XX <kim.xx.lilliestierna@stericsson.com>
Subject: Re: [7/8,RFC] CAIF Protocol Stack
Date: Sat, 10 Oct 2009 18:09:55 +0200	[thread overview]
Message-ID: <4AD0B1D3.2060208@babic.homelinux.org> (raw)
In-Reply-To: <61D8D34BB13CFE408D154529C120E07902ED7054@eseldmw101.eemea.ericsson.se>

Sjur Brændeland wrote:
> Hi Stefano.

Hi Sjur,

>> Meanwhile, it seems some bytes are sent now to the physical interface.
>>
>> <caif_chropen:797, TRACE> [caif_chropen:797] WAIT FOR CONNECT
>> RESPONSE <caif_chropen:820, TRACE> caif_open: connect timed out 
>>
>> However, I get no connection, but probably this is another problem....
>>
> 
> Do you have a (ST-)Ericsson modem talking CAIF connected?
> The correct behavior is to wait for the CONNECT_RESPONSE, and time out.

Surely I have the best way to test a CAIF connection, even if I am not
aware of it ;).
I connected my target with an Ericsson Test Device "B26", that seems
suitable for this kind of test. I know very little about it, I can only
turn it on.
It has a debug port and I can see the debug output of the CAIF
connection in unformatted ASCII text (however, minicom formats this
output when I log the traces).

These strings should identify this device:

(00:01.894746) BuildInfo: Label: <CRH109940_R2F015> Variant:
<BRIDGE_CCPU_ACC_B26>
(00:01.894746) BuildInfo: Generated: 2007-08-07 15:00 by EMWJBON
(00:01.901973) Product  : <Ericsson Mobile Platform> Version: 0000
(00:01.908459) HW Setup : NOT SPECIFIED (Id:0xc8) IRDA: 0033 BT: 0035
RS232: 004A
(00:01.914875) Vendor   : <Ericsson> PNP: ERI USB: 0BDB BT: 0000

However, I am now able to start successfully a CAIF connection and I can
see the AT commands I send on the debug output of the B26.
On my target, I can get:

<caif_chropen:853, TRACE> [caif_chropen:853] CONNECTED

I see you sent a newer patchset and I will repeat my test with it.

Stefano

-- 
stefano <stefano.babic@babic.homelinux.org>
GPG Key: 0x55814DDE
Fingerprint 4E85 2A66 4CBA 497A 2A7B D3BF 5973 F216 5581 4DDE

      reply	other threads:[~2009-10-10 16:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23 17:31 [PATCH 7/8] [RFC] CAIF Protocol Stack sjur.brandeland
2009-10-05 16:22 ` [7/8,RFC] " Stefano Babic
2009-10-06 19:41   ` Sjur Brændeland
2009-10-08  9:48     ` Stefano Babic
2009-10-08 14:03     ` Stefano Babic
2009-10-09 12:37       ` Sjur Brændeland
2009-10-10 16:09         ` Stefano Babic [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=4AD0B1D3.2060208@babic.homelinux.org \
    --to=stefano.babic@babic.homelinux.org \
    --cc=kim.xx.lilliestierna@stericsson.com \
    --cc=netdev@vger.kernel.org \
    --cc=sjur.brandeland@stericsson.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox