| File |
Line |
| com/intel/bluetooth/BluetoothStackBlueSoleil.java |
408
|
| com/intel/bluetooth/BluetoothStackMicrosoft.java |
691
|
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2Encrypt(long,long,boolean)
*/
public boolean rfEncrypt(long address, long handle, boolean on) throws IOException {
return false;
}
// ---------------------- Client and Server L2CAP connections
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2OpenClientConnection(com.intel.bluetooth.BluetoothConnectionParams,
* int, int)
*/
public long l2OpenClientConnection(BluetoothConnectionParams params, int receiveMTU, int transmitMTU)
throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2CloseClientConnection(long)
*/
public void l2CloseClientConnection(long handle) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2ServerOpen(com.intel.bluetooth.BluetoothConnectionNotifierParams,
* int, int, com.intel.bluetooth.ServiceRecordImpl)
*/
public long l2ServerOpen(BluetoothConnectionNotifierParams params, int receiveMTU, int transmitMTU,
ServiceRecordImpl serviceRecord) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2ServerUpdateServiceRecord(long,
* com.intel.bluetooth.ServiceRecordImpl, boolean)
*/
public void l2ServerUpdateServiceRecord(long handle, ServiceRecordImpl serviceRecord, boolean acceptAndOpen)
throws ServiceRegistrationException {
throw new ServiceRegistrationException("Not Supported on" + getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2ServerAcceptAndOpenServerConnection(long)
*/
public long l2ServerAcceptAndOpenServerConnection(long handle) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2CloseServerConnection(long)
*/
public void l2CloseServerConnection(long handle) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2ServerClose(long,
* com.intel.bluetooth.ServiceRecordImpl)
*/
public void l2ServerClose(long handle, ServiceRecordImpl serviceRecord) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2GetSecurityOpt(long, int)
*/
public int l2GetSecurityOpt(long handle, int expected) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2Ready(long)
*/
public boolean l2Ready(long handle) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2receive(long, byte[])
*/
public int l2Receive(long handle, byte[] inBuf) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2send(long, byte[])
*/
public void l2Send(long handle, byte[] data) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2GetReceiveMTU(long)
*/
public int l2GetReceiveMTU(long handle) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2GetTransmitMTU(long)
*/
public int l2GetTransmitMTU(long handle) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2RemoteAddress(long)
*/
public long l2RemoteAddress(long handle) throws IOException {
throw new NotSupportedIOException(getStackID());
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothStack#l2Encrypt(long,long,boolean)
*/
public boolean l2Encrypt(long address, long handle, boolean on) throws IOException {
throw new NotSupportedIOException(getStackID());
}
}
|
| File |
Line |
| com/intel/bluetooth/btgoep/Connection.java |
78
|
| com/intel/bluetooth/tcpobex/Connection.java |
67
|
}
public void close() throws IOException {
impl.close();
}
public HeaderSet connect(HeaderSet headers) throws IOException {
return ((ClientSession) impl).connect(headers);
}
public HeaderSet createHeaderSet() {
return ((ClientSession) impl).createHeaderSet();
}
public HeaderSet delete(HeaderSet headers) throws IOException {
return ((ClientSession) impl).delete(headers);
}
public HeaderSet disconnect(HeaderSet headers) throws IOException {
return ((ClientSession) impl).disconnect(headers);
}
public Operation get(HeaderSet headers) throws IOException {
return ((ClientSession) impl).get(headers);
}
public long getConnectionID() {
return ((ClientSession) impl).getConnectionID();
}
public Operation put(HeaderSet headers) throws IOException {
return ((ClientSession) impl).put(headers);
}
public void setAuthenticator(Authenticator auth) {
((ClientSession) impl).setAuthenticator(auth);
}
public void setConnectionID(long id) {
((ClientSession) impl).setConnectionID(id);
}
public HeaderSet setPath(HeaderSet headers, boolean backup, boolean create) throws IOException {
return ((ClientSession) impl).setPath(headers, backup, create);
}
public javax.microedition.io.Connection acceptAndOpen(ServerRequestHandler handler) throws IOException {
return ((SessionNotifier) impl).acceptAndOpen(handler);
}
public javax.microedition.io.Connection acceptAndOpen(ServerRequestHandler handler, Authenticator auth)
throws IOException {
return ((SessionNotifier) impl).acceptAndOpen(handler, auth);
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothConnectionNotifierServiceRecordAccess#getServiceRecord()
*/
public ServiceRecord getServiceRecord() {
return ((BluetoothConnectionNotifierServiceRecordAccess) impl).getServiceRecord();
}
/*
* (non-Javadoc)
*
* @see com.intel.bluetooth.BluetoothConnectionNotifierServiceRecordAccess#updateServiceRecord(boolean)
*/
public void updateServiceRecord(boolean acceptAndOpen) throws ServiceRegistrationException {
((BluetoothConnectionNotifierServiceRecordAccess) impl).updateServiceRecord(acceptAndOpen);
}
}
|
| File |
Line |
| com/intel/bluetooth/BluetoothStackMicrosoft.java |
273
|
| com/intel/bluetooth/BluetoothStackOSX.java |
224
|
return isLocalDeviceFeatureParkMode() ? "255" : "7";
}
if ("bluetooth.sd.trans.max".equals(property)) {
return "7";
}
if ("bluetooth.connected.inquiry.scan".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.connected.page.scan".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.connected.inquiry".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.connected.page".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.sd.attr.retrievable.max".equals(property)) {
return String.valueOf(ATTR_RETRIEVABLE_MAX);
}
if ("bluetooth.master.switch".equals(property)) {
// return isLocalDeviceFeatureSwitchRoles() ? TRUE : FALSE;
return BlueCoveImpl.FALSE;
}
if ("bluetooth.l2cap.receiveMTU.max".equals(property)) {
return String.valueOf(receiveMTUMAX());
|
| File |
Line |
| com/intel/bluetooth/BluetoothStackOSX.java |
228
|
| com/intel/bluetooth/BluetoothStackWIDCOMM.java |
222
|
}
if ("bluetooth.connected.inquiry.scan".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.connected.page.scan".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.connected.inquiry".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.connected.page".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.sd.attr.retrievable.max".equals(property)) {
return String.valueOf(ATTR_RETRIEVABLE_MAX);
}
if ("bluetooth.master.switch".equals(property)) {
return BlueCoveImpl.FALSE;
}
if ("bluetooth.l2cap.receiveMTU.max".equals(property)) {
return String.valueOf(RECEIVE_MTU_MAX);
|
| File |
Line |
| com/intel/bluetooth/BluetoothStackMicrosoft.java |
277
|
| com/intel/bluetooth/BluetoothStackWIDCOMM.java |
222
|
}
if ("bluetooth.connected.inquiry.scan".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.connected.page.scan".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.connected.inquiry".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.connected.page".equals(property)) {
return BlueCoveImpl.TRUE;
}
if ("bluetooth.sd.attr.retrievable.max".equals(property)) {
return String.valueOf(ATTR_RETRIEVABLE_MAX);
}
if ("bluetooth.master.switch".equals(property)) {
return BlueCoveImpl.FALSE;
}
if ("bluetooth.l2cap.receiveMTU.max".equals(property)) {
return String.valueOf(RECEIVE_MTU_MAX);
|
| File |
Line |
| com/intel/bluetooth/ServiceRecordImpl.java |
314
|
| com/intel/bluetooth/ServiceRecordImpl.java |
460
|
for (Enumeration protocolsSeqEnum = (Enumeration) protocolDescriptor.getValue(); protocolsSeqEnum
.hasMoreElements();) {
DataElement elementSeq = (DataElement) protocolsSeqEnum.nextElement();
if (elementSeq.getDataType() == DataElement.DATSEQ) {
Enumeration elementSeqEnum = (Enumeration) elementSeq.getValue();
if (elementSeqEnum.hasMoreElements()) {
DataElement protocolElement = (DataElement) elementSeqEnum.nextElement();
if (protocolElement.getDataType() != DataElement.UUID) {
continue;
}
Object uuid = protocolElement.getValue();
if (elementSeqEnum.hasMoreElements() && (protocolUUID.equals(uuid))) {
|