Once the device and service have been established, you can connect to the remote service and start using it.
Connect to the device through the
You can read and write data using the socket in whatever format the target service expects (AT commands, text, HTTP, PPP etc).
Example
Notes
For both the RFCOMM and L2CAP protocols, no data can be sent or received in the
RFCOMM uses sockets of the stream socket (
L2CAP uses sockets of the sequenced packet (
This tutorial set takes you through all the steps involved in setting up and communicating over a Bluetooth connection.
Connecting and Transferring Data to a Remote Device - This document
Connect
+to the device through the
You can read and write +data using the socket in whatever format the target service expects (AT commands, +text, HTTP, PPP etc).
Example
Notes
For both the RFCOMM
+and L2CAP protocols, no data can be sent or received in the
RFCOMM uses sockets
+of the stream socket (
L2CAP uses sockets of
+the sequenced packet (
This tutorial set takes you through +all the steps involved in setting up and communicating over a Bluetooth connection.
Connecting and Transferring +Data to a Remote Device - This document