Error 509 : Unable to accept a connection from a bluetooth device

Thank you for the help, Mr. @ABG , I will try it

I have tried various ways and nothing has worked, I hope the mit app inventor developer can fix this problem. thank you :pray:

Mr. @Taifun I want to ask, why my device having Error 509, is it an error from the bluetooth machine or what?

The 'high level' device can communicate with most other devices, but the low level device might not. It's not necessarily the Android version but the version of Bluetooth.

There is sometimes a difference between what it is claimed Bluetooth can do and what it can actually do in the real world. One device using an old version BT and another using latest BLE can be an issue, especially where custom Apps are concerned as they generally support only a narrow range of BT versions.

Note also that earlier versions of Android had less security requirements but latest versions require 'Locate' to be switched on for successful BT comms. The very latest version (10) may require 'Fine Location' (instead of Coarse Location).

So, what are the specifications for each device?

  1. Manufacturer
  2. Device type (Phone, tablet, microprocessor (e.g. Arduino)
  3. Device OS Name and exact Version
  4. Device Bluetooth exact Version

sorry; I do not know
as already mentioned, in my tests (which are already a few years old) I could just ignore the error... this seems to be not possible anymore

Taifun

It's okay @Taifun, I will try to research this deeper, thank you very much for your help, Mr. @Taifun.

Regards,
Salman Dev

I think you are right Mr.@ChrisWard, is there have a code for that problem?

Are you going to answer my questions? On top of which, what BT are you using in your App? The built-in BT Classic or MIT's BLE extension?

I am using BT Classic in my app

The other details I requested? The devil is in the details.

I'm confused, so if for example there is a code for this problem, I want to make an extension for solve this problem.

is there any code for that?

What details do you want?

And this is the information about my device that cannot be connected to API Level 17 devices :

  • Brand = asus
  • Model = ASUS_Z012DB
  • Android Version = 8.0.0
  • API = 26
  • Codename = Oreo
  • Release = 8.0

Details of the device being connected to.

See

And this is the information about my device that cannot be connected to API Level 17 devices :

  • Brand = asus
  • Model = ASUS_Z012DB
  • Android Version = 8.0.0
  • API = 26
  • Codename = Oreo
  • Release = 8.0

So missing is the same list for the other device.

What do you mean?

There are at least two devices for communication via Bluetooth.

hmm, I am so confused about this problem

I can see numerous errors in your code. Let's start from the beginning. Ignoring how comms is achieved (ignoring Bluetooth), what do you want your App to do? What is the purpose of the App?

it is not my project, it is a modified project made by Taifun.