nm
v0.5.0Provides a client to connect to NetworkManager - the service that manages network connections on Linux.
Package archive: https://pubdev.letsnova.ru/api/archives/nm/0.5.0.tar.gz
Install
dart pub add nmReadme
Provides a client to connect to NetworkManager - the service that manages network connections on Linux.
import 'package:nm/nm.dart';
var client = NetworkManagerClient();
await client.connect();
print('Running NetworkManager ${client.version}');
await client.close();
Contributing to nm.dart
We welcome contributions! See the contribution guide for more details.
Changelog
Changelog
0.5.0
- Fix constants not in camel case form.
- Require dbus 0.7.
0.4.4
- Only list as supporting Linux.
0.4.3
- Remove wrong assertions when activating WiFi connections with hidden access points.
0.4.2
- Add NetworkManagerClient.state.
- Fix device state reason.
0.4.1
- Add NetworkManagerClient.addAndActivateConnection().
- Improve test coverage.
0.4.0
- Fix detection of removed device/connection device when they re-appear.
0.3.0
- Add NetworkManagerClient.activate/deactivateConnection().
- Fix typo in NetworkManagerWifiAccessPointFlag, NetworkManagerWifiAccessPointSecurityFlag enum names.
- Reliably detect when an object is removed, rather than just some of its interfaces.
- Add more toString() methods for easier debugging.
- Use dbus 0.5.
- Rename test file so can just run 'dart test'.
0.2.0
- Various new API additions and fixes.
- Make device interface objects null if the interface is not present.
- Add equality operators to public classes.
- Replace setters with methods so they can be async.
- Added many more tests.
0.1.0
- Initial release
