Skip to content

Releases: rostislav-nikitin/Plugin.BluetoothClassic

The minor release that fixes some method, enumeration item names

08 Aug 02:47
Compare
Choose a tag to compare
  1. The IBluetoothAdapter method IBluetoothConnection CreateConnectionAsync(BluetoothDeviceModel bluetoothDeviceModel); name was changed to the:
    IBluetoothConnection CreateConnection(BluetoothDeviceModel bluetoothDeviceModel); one.
    The Async suffix was removed because it is not awaitable method
  2. The NuGet package description was updated
  3. The ConnectionState.ErrorHappend was updated to the ConnectionState.ErrorOccured

The new lightweight, short life-time connection interface/implementation was introduced

08 Aug 01:52
Compare
Choose a tag to compare

Updates:
1. The IBluetoothConnection was moved to the IBluetoothManagedConnection
2. The new IBluetoothConnection was introduced

The IBluetoothConnection interface can be used to implement a lightweight Bluetooth connections types which instances designed to have a short life-time. Such types of connections can be used for short data exchange transactions in opposite to the types that implements IBluetoothManagedConnection interface which life-times are equal to the application life-time.
Currently Plugin.BluetoothClassic.BluetoothConnection implements this interface.

Read documentation and examples for more details.

Now it supported managed connections

07 Aug 16:47
Compare
Choose a tag to compare

Now it supported managed connections. Managed means that internally connection manager try to reconnect if connection lost etc. You don't need to care about this. You simple need to create connection and transmit/receive data through it. And any connection issues internal connection managed will try to solve.