chipweinberger/flutter_blue_plus

[Help]: Device name is broken when reconnecting

tkddbf7348 opened this issue · 0 comments

Requirements

  • I've looked at the README 'Common Problems' section

Have you checked this problem on the example app?

No

FlutterBluePlus Version

1.31.8

Flutter Version

3.3.0

What OS?

Android

OS Version

Android 14, One UI 6.1

Bluetooth Module

BLE 5.0 (Nordic Company)

What is your problem?

Hello.

In the example app you provided, we are trying to test it now,
I'd like to ask for some advice first.

I am currently using version 1.31.8 of flutter_blue_plus as version 3.3.0 of Flutter.

After linking with a Bluetooth device and sending a signal, the name of the device is broken when disconnected from the device and scanned again. (Only Android!!!)

Normal Scan Result :
ID : CompanyName@ID@Battery -> this is our bluetooth device name format.

Crashed Name Scan Result :
ID : �

Have you seen a case like mine, or is there anything you can solve programmatically?

Thank you for reading the short questions.

Logs

[√] Flutter (Channel stable, 3.3.0, on Microsoft Windows [Version 10.0.22631.4169], locale ko-KR)
    • Flutter version 3.3.0 on channel stable at C:\Users\sangyul\fvm\versions\3.3.0
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffccd96b62 (2 years, 1 month ago), 2022-08-29 17:28:57 -0700
    • Engine revision 5e9e0e0aa8
    • Dart version 2.18.0
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\sangyul\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Java\jdk1.8.0_202\bin\java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2022 17.7.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
    • Visual Studio Build Tools 2022 version 17.7.34024.191
    • Windows 10 SDK version 10.0.22621.0

[!] Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to determine bundled Java version.
    • Try updating or re-installing Android Studio.

[!] Android Studio (version 2023.2)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[!] Android Studio (version 2023.3)
    • Android Studio at C:\Program Files\Android\Android Studio2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[√] VS Code (version 1.84.2)
    • VS Code at C:\Users\sangyul\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.98.0

[√] Connected device (4 available)
    • SM G991N (mobile) • R3CR10K9VKT • android-arm64  • Android 14 (API 34)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.22631.4169]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 129.0.6668.70
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 128.0.2739.54

[√] HTTP Host Availability
    • All required HTTP hosts are available



Normal Scan Result :
ID : CompanyName@ID@Battery    -> this is our bluetooth device name format.

Crashed Name Scan Result :
ID :