0

A week ago we asked how to get the data from the arduino to our application. We then used the information you send us to make this kind of connection, we specifically used this artical: https://www.electroniclinic.com/how-to-create-android-app-for-arduino-sensor-monitoring-over-bluetooth/#AndroidManifest_xml_code

But at the last step we wanted to connect the arduino to our phone in our settings that is when the arduino asked for a code and it wouldn't accept 1234 or 0000. So that way it didn't come up in the list of devices found in the application... enter image description here So is it not possible to make this connection, do we need a different code or should we use another terminal application and then just let the players copy the information themselves?

With kind regards, Eva Vogelezang

Share a link to this question (includes your user id)
| edit | | close | delete |
0

The default passkey does not work, the insecuremode also does not work because of the newer versions of android. I tried many things and followed multiple tutorials, but everything just seems not to work or i just get stuck. Do you know a good tutorial to connect to the arduino and extract location data?

The method "startLeScan" and "stopLeScan" are also deprecated in the versions used nowadays. With the knoledge I have now, I'm not able to solve this.

Share a link to this answer (includes your user id)
| edit | | delete |
0

Mmm... that is a pity. It looks like the example you used only works with regular Bluetooth connections, and not with BLE.

I was able to get this example App working which uses a BLE connection and it has full Android Studio code. Maybe you can compare that to your code, or use it as a base.

Share a link to this answer (includes your user id)
| edit | delete |

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.