fluttercommunity / fluttercommunity/plus_plugins

[Request]: Get WiFi frequency info: 2.4 Ghz or 5 Ghz?

Open
#1,860 6 comments 3 reactions 0 assignees View on GitHub
enhancement triage
Dominant language
Dart
Stars
1.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

### Plugin

network_info_plus

### Use case

We're working on provisioning ESP devices, and it is crucial that these devices are only compatible with 2.4 GHz networks. We have to prevent the user from attempting to provision such devices on 5 GHz networks because it will fail.

Currently, I couldn't find any official way in Flutter to check if the device is connected to a 2.4 GHz or 5 GHz network.

### Proposal

This feature could be added to the `network_info_plus` package.

For example:
```dart
final frequency = await NetworkInfo().getWifiFrequency();

print('WiFi frequency: $frequency);
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.