Welcome to WiFi-Forum

Go Back   WiFi-Forum - Wi-Fi Discussion Forum > Bluetooth Discussion Forums > BlueTooth Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2005, 06:15 AM
k.mohan k.mohan is offline
Junior Member
 
Join Date: Feb 2005
Posts: 3
Default developing application over L2CAP-help needed

Hi all,
I am developing some application layer protocols over
l2cap.
I thought to use Bluez stack as it provides socket
layer interface... Now my question is...
Suppose application wants to establish the l2cap
connection with other bt device using App_Connect_Req
primitive,actually I should create the l2cap socket
using socket() and should call connect() ....but at
the other end application wants to get the l2cap
connect indication event(App_Connect_ind)when the
L2CAP_CONN_REQ event is received at the other end
...so how to give this event to application at the
other end,....which type of socket i should use..
SOCK_RAW or SOCK_SEQPACKET at the sending end as well
as at the listening end....
I heard that we can use raw sockets only for
signalling channel,
actually my aim is to establish the l2cap connection
and then send data on the same connection,then i have
to disconnect the l2cap connection from application
layer..and other end application should know all these
incoming events. so can anybody tell me how to do this
all....
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PSION Series 5 palmtop FAQ Daniel `HB9VBC' Pfund comp.sys.palmtops 0 01-27-2005 10:46 PM
PSION Series 5 palmtop FAQ Daniel `HB9VBC' Pfund comp.sys.palmtops 0 11-27-2004 10:17 PM
PSION Series 5 palmtop FAQ Daniel `HB9VBC' Pfund comp.sys.palmtops 0 08-28-2004 10:29 PM
PSION Series 5 palmtop FAQ Daniel `HB9VBC' Pfund comp.sys.palmtops 0 07-28-2004 10:17 PM
PSION Series 5 palmtop FAQ Daniel `HB9VBC' Pfund comp.sys.palmtops 0 06-28-2004 12:43 PM




All times are GMT -7. The time now is 05:02 AM.

vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. All Contents Copyright © Wifi-Forum.com