bluetooth device emulator for windows or android - bluetooth

My device has spec that can pair with 3 bluetooth devices only.
but i have only one pysical bluetooth device to pair with it.
is there emulator that i can mock up more devices and paired with the real device?
It would be good if it can be triggered from windows 10 or android phone.

Related

How to read PC USB ports in Android emulator?

I have a usb device for transmitting data. the device works perfect in windows OS. I am to use the device in Android 13 the Device acts as Human Interface Device.
I am using Android Emulator for programming. It seems the emulator work only for UI and not for external hardware.
And I achived that in android app, It can able to read that pendrive. When I run that app in Emulator it is not detecting.
Can you suggest how can I make Android emulator detect the usb device.
Thank you for your kind interest.
Regards
I want to connect USB device on Emulator.. and need to view that contents.

Bluetooth GATT send data to BLE device

how can I send Data to BLE device. I already Connected to ble device but don't know how to send and receive data Via Gatt Callback.
Have a look at the following resources that should help you get started:-
Ultimate Guide to Android BLE Development
Building Android Apps to Control Bluetooth LE Devices
Android Lollipop: BLE Matures (video)
Bluetooth LE Send String Data Between Two Devices
How to Use Android BLE to Communicate with Bluetooth Devices

Debugging BLE HID device

I'm trying to make an Android application for Android Things running on raspberry pi that takes USB joystick inputs (including DJI Mavic controller) and passes it over BLE HID as a gamepad.
Windows, Oculus Quest and Mac all recognize it as a gamepad, but when I try to connect to it, they connect and disconnect right away. I'm not sure why
Is there any tool on any OS that logs the BLE HID pairing process to find out what went wrong?
https://github.com/darvin/USBMavicBLEHIDAndroidThing/blob/master/app/src/main/java/jp/kshoji/blehid/HidPeripheral.java

Bluetooth Android and Bluetooth iOS

When I press a button on a device that is connected to iOS or Android via Bluetooth, it should perform some task in an app(app installed on iOS or Android). I am not sure which Bluetooth profile will be best for my job. I think HID profile, but will it work with iOS ? Any suggestions or comments are welcome.
iOS devices can't use standard Bluetooth connection with Android. In this case you should use BLE (Bluetooth Low Energy). This means you should use GATT profile for Android. There is an important issue here: all iOS devices can BLE peripheral or central but for Android some devices only can peripheral.

Problems of finding some devices with Bluetooth Low Energy

I'm trying to implement Bluetooth Low Energy . The fact is, I can find some devices around me, so the scanning seems working, but there are some devices which I can't find ... such as a motorola, which has Android API 19, so since BLE is enabled since API 18, shouldn't it work ?
So my question is, are there some devices not compatible with BLE ? (I can found some devices but not all)
What do you mean by "device"? Motorola what? Phone? Watch? Light bulb?
If your phone can search for and find some ble enabled devices then it got both hw and sw support.
The other "device" must be ble advertising for your phone to hear it during scanning.
A Motorola phone with android api19 can only scan, not advertise. Some android 5 devices can do ble advertise, so they can be scanned by android api19 devices but not the other way round.

Resources