Added Maglink RTK GNSS receiver integration with correct BLE UUIDs and device name filtering (ML-* prefix). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
565 B
C#
27 lines
565 B
C#
using FieldLogger.ViewModels;
|
|
|
|
namespace FieldLogger.Views;
|
|
|
|
public partial class DeviceScanPage : ContentPage
|
|
{
|
|
private readonly DeviceScanViewModel _viewModel;
|
|
|
|
public DeviceScanPage(DeviceScanViewModel viewModel)
|
|
{
|
|
InitializeComponent();
|
|
BindingContext = _viewModel = viewModel;
|
|
}
|
|
|
|
protected override async void OnAppearing()
|
|
{
|
|
base.OnAppearing();
|
|
await _viewModel.ScanAsync();
|
|
}
|
|
|
|
protected override void OnDisappearing()
|
|
{
|
|
_viewModel.StopScan();
|
|
base.OnDisappearing();
|
|
}
|
|
}
|