Patch release.
- Fix closing connections which are not
listen
ing toinput
(solved #60), - Add more clear example of detecting which side caused disconnection,
- Add exception on
add
ing tooutput
if connection closed, BluetoothConnection
cancel
is deprecated now, useclose
instead. It was stupid to namecancel
something thatclose
s (it was even documented that way, lol).
Patch release.
- apply patch #48 for some disconnection issues,
- update
ChatPage
to newer API, - fix and update AndroidX declaration.
Two big features packs:
- Bonding (Pairing):
- starting outgoing pairing requests,
- handling incoming pairing requests,
- remove current bondings to devices,
- Discoverability!
- requesting discoverable mode for specified duration,
- example with timeout countdown,
- checking discoverable mode.
And few more features:
- get/set for local (discoverable) device name,
- getting local adapter address (with some hacks to work on newer Androids),
- checking for
isConnected
for discovered or bonded devices, - fixed few broadcast receiver leaks.
- Patch #43 for "Error when meet unknown devices".
Pull request #35 by @PsychoXIVI changes a lot:
- Discovering other devices,
- Multiple connections,
- Interesting example application,
- Enabling/Disabling Bluetooth,
- Byte streams,
- Overall improvements and fixes.
- Upgrade for AndroidX support (thanks @akilinomendez)
- New default constructor (thanks @MohiuddinM)
- Added method write passing byte[] (thanks @rafaelterada)
- Upgrade to Android Studio 3.3.2
- Unsupported value error correction (thanks @rafaelterada)
- Added openSettings, which opens the bluetooth settings screen (thanks @rafaelterada)
- async connection and null exception handled (thanks @MohiuddinM)
- isConnected Implementation (thanks @Riscue)
- Only Android support.