pszklarska / beacon_broadcast

A Flutter plugin for turning your device into a beacon.
https://pub.dartlang.org/packages/beacon_broadcast/
MIT License
81 stars 33 forks source link

Android - X #26

Open Hitbee-dev opened 2 years ago

Hitbee-dev commented 2 years ago

!Please understand that I am not good at English so I am using a translator.

IOS = O Android = X

IOS works fine, but not Android

android

If you look at the logs on Android, it says that it is normally transmitting BLE signals, but it does not transmit actual BLE signals.

-Test Device = Galaxy S7, Galaxy Note9

Running with the sample file provided by the BLE library developer Github results in the same phenomenon

pszklarska commented 2 years ago

Hey @Hitbee-dev how do you check if BLE signal is transmitted? Are you using any app?

Hitbee-dev commented 2 years ago

I'm receiving signals through Arduino, and I checked that the iPhone is receiving signals well. I'm using VS Code.

pszklarska commented 2 years ago

Ok thanks, so what are exactly steps to reproduce and what's the issue? You mentioned that iPhone receives signal correctly, so is the problem with Arduino device receiving signals from the Android device acting as a beacon?

Also, what's the Android system version? Can you give me an example of the code you're using for transmitting as a beacon?

Hitbee-dev commented 2 years ago

To be precise, the smartphone transmits a BLE signal, and Arduino receives a signal.

However, in this library, IOS sends BLE signals, but Android does not.

In fact, when "print" is performed, Android seems to output signals normally, but Arduino does not actually receive signals.

I developed Android separately using Java, and Arduino is good at receiving signals.