javax.microedition.io.Connector

Connector.open(String name)

Master/slave switch in URI (such as master=true request in name parameter) is not supported. If master/slave switch is given as a parameter to Connector.open() call, the BluetoothConnectionException is thrown.

The authenticate and encrypt security requests for the connection have to be specified in Connector.open() call. After connection has been established the authentication and encryption state for the connection cannot be changed.