How to Make Flutter Bluetooth App (Test LED & Joy Stick & Send Serial) Source Code

แชร์
ฝัง

ความคิดเห็น • 7

  • @bennguyen1313
    @bennguyen1313 3 ปีที่แล้ว

    I'm trying to do something very similar.. an android app that can talk bluetooth (Serial-Port-Profile) to a PC running hyperterminal and a bluetooth dongle. Unfortunately, Android says "Can't communicate with the FSC_BP102" or HC-05, or HC06, etc.
    I've tried several windows bluetooth adapters ( Feasycom FSC-BP102 BT4.2 , Microchip/Roving Networks FireFly RN-240F/41 BT2.1, Iogear GBU421 BT2.1, HC-06-USB (KC-4134?)) but they all behave pretty much the same.
    Just as a test, I tried getting just one PC to talk to another PC via bluetooth SPP, but that seems to work one way only. For example, with one USB FSC-BP102 on a PC, it adds 3 serial ports in the device manager, and a HID Bluetooth HID device. It sees the other Bluetooth (RN-240F) on the other PC, pairs to it successfully, but opening Hyperterminal on both PCs, the FSC-BP102 doesn't get any data!
    Any suggestions on any bluetooth dongles that will allow PCPC and/or PCAndroid Phone? Orico BTA-403-BL, ICP DAS BLE-USB CR (BT 4.0)?
    Ideally, I'd love to debug within Android Studio and have it connect to another PC via bluetooth.. once that works, transition to an Android phone talking to the PC!

  • @konerugeethareddy6438
    @konerugeethareddy6438 2 ปีที่แล้ว

    can we connect to another phone using this code to transfer messages.

  • @omarosama7623
    @omarosama7623 3 ปีที่แล้ว

    I did the same code and every time it gave me this error
    PlatformException(connect_error, read failed, socket might closed or timeout, read ret: -1, java.io.IOException: read failed, socket might closed or timeout, read ret: -1
    could you please help ?

  • @AhmedRaza-nd2ym
    @AhmedRaza-nd2ym 3 ปีที่แล้ว

    Brother can this app also run on IOS device

    • @6thgearup
      @6thgearup 3 ปีที่แล้ว

      No, the library Bluetooth.Serial does not support IOS. You must use Flutter Blue.

    • @riadhossainbhuiyan4978
      @riadhossainbhuiyan4978 2 ปีที่แล้ว

      @@6thgearup did you test with flutter_blue?