static javax.microedition.io.Connection | getL2CAPConnection(java.lang.String name)Creates and opens btl2cap connection for using by SDP.
BluetoothUrl url = new BluetoothUrl(BluetoothUrl.L2CAP, name, systemToken);
Protocol l2cap = new Protocol();
return l2cap.openPrim(internalSecurityToken, url, Connector.READ_WRITE);
|