All of lore.kernel.org
 help / color / mirror / Atom feed
From: Swarup Mohalik <mohalik@india.hp.com>
To: Xavier Garreau <x.garreau@prim-time.fr>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] l2test problem
Date: Mon, 22 Mar 2004 19:09:50 +0530	[thread overview]
Message-ID: <405EECA6.2080407@india.hp.com> (raw)
In-Reply-To: 016701c40ffc$8a07f8d0$b67ba8c0@zaz1

[-- Attachment #1: Type: text/plain, Size: 1661 bytes --]

  Thanks a lot Marcel and Xavier.

Actually I started with a client on the linux PC and a symbian server
on the nokia 3650. I used the API's for l2cap sockets and had set the
psm to 5 (arbitrary choice). Then i got the
    connection refused(111)
message from the PC.

It was now that I wanted to use l2test as a client (just for the 
connection part).
So I changed the psm in l2test.c to 5 and tested. But connection still 
gets refused.
The reason for connect response is always - "psm not supported".

Does this mean that the nokia device may not have l2cap socket support?
I did not find any such information though on the web.

Marcel, please tell me if I am not addressing the forum.

Regards,
Swarup


Xavier Garreau wrote:

>>yes, they are the uint16 numbers besides the uuid16 protocol UUID for
>>L2CAP, but why do you want them? You asked about a mobile phone and most
>>of them are based on the higher layer RFCOMM. So far I haven't seen any
>>phone that support BNEP, HID or HCRP. And this means that in your case
>>only two PSM's are supported. PSM 1 for the SDP requests and PSM 3 for
>>the RFCOMM protocol.
>>    
>>
>
>Symbian Phones like Nokia 3650 allows you to use an L2CAP (or higher) api
>for application programming.
>
>But as with other bluetooth applications, you of course must have a server
>llistening on a given PSM for it to answer "Connection accepted" (0).
>
>mohalik, you should have a look at development papers from Sony Ericcson
>(and maybe nokia) on symbian bluetooth programming (Basically, they also
>provide a socket interface).
>
>http://developer.sonyericsson.com/ (you'll have to create an account first)
>
>BR,
>  
>


[-- Attachment #2: Type: text/html, Size: 2212 bytes --]

  reply	other threads:[~2004-03-22 13:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-22  4:33 [Bluez-users] l2test problem Swarup Mohalik
2004-03-22  6:37 ` Marcel Holtmann
     [not found]   ` <405EBCDD.3090402@india.hp.com>
2004-03-22 10:26     ` Marcel Holtmann
2004-03-22 10:57       ` Xavier Garreau
2004-03-22 13:39         ` Swarup Mohalik [this message]
2004-03-22 13:53           ` Xavier Garreau
2004-03-22 14:23           ` Marcel Holtmann

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=405EECA6.2080407@india.hp.com \
    --to=mohalik@india.hp.com \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=x.garreau@prim-time.fr \
    /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.