ble_peer_session 0.1.2
ble_peer_session: ^0.1.2 copied to clipboard
Offline BLE peer-to-peer sessions for Flutter — discovery, consent handshake, and bidirectional messaging.
0.1.2 #
- Fixed role switching in
BleTransportFacadeImpl: skipdisconnect()when the active session is uninitialized, preventing crashes on firststartClientTransportSession/startServerTransportSession. - Added state-aware
disconnect()for client and server sessions (discovery, awaiting decision, connected). - Added
BleLinkReadinessto verify Bluetooth permissions and powered-on state before discovery/advertising. - Added
BluetoothUnsupportedException,BluetoothPermissionsDeniedException, andBluetoothPeripheralUnavailableException. - Added tests for facade role switching.
0.1.1 #
- Removed unused dependencies (
json_annotation,build_runner,json_serializable). - Updated
flutter_blue_plusandpermission_handler.
0.1.0 #
- Initial release: BLE P2P session transport for Flutter.
- Discovery, invitation/acceptance handshake, bidirectional messaging.
PeerMessageenvelope for app-level payloads.BlePeerSessionModulefactory and Bluetooth permission/state helpers.