Groups > Palm OS > Bluetooth Forum > Receiving data using L2CAP




Receiving data using L2CAP

Receiving data using L2CAP
Mon, 3 Dec 2007 04:45:49 -000
Hi all,

I'm new to Palm bluetooth so started reading lots of threads before i started
looking at the samples BtL2CAP & BtLibTest. I think my application needs to
use the methods in BtL2CAP sample.

I'm working with a barcode scanner that uses SPP for communication over
Bluetooth.

When using the BtL2CAP sample i modifed the "BtLibSdpUuidType" to use
SPP and ran the sample on a Treo 680.

Did the following in the BtL2CAP sample -> Discover, Connect ACL, and
Listen.

I got the follwing:  Inquiry complete, Link Established Connectable, and Listner
socket on PSMx1955 Socket advertised via SDP.

When I try to scan a barcode i don't get a "btLibSocketEventData"
event. 

Is this the right steps for making a server and receiving data?

thanks in advance...

Tony
Post Reply
about | contact