Simulators for BLE(Bluetooth Lowe energy) - bluetooth-lowenergy

Any simulator available to test BLE(Bluetooth Lowe energy) mobile applications instead of testing with real BLE device?

Yes. You can check BLE Peripheral Simulator available in Play Store.

Related

Is the transmission power on Bluetooth Low Energy an Android configurable?

I have a Bluetooth Low Energy Android app project here which works fine so far for most of my android smartphones. I use my BLE weather thermometer in my app anywhere within my room, it works.
Except for a Huawei P30 Lite deivce: With my Huawei I can not get a connection, except I place the BLE Thermometer on my right upper corner on my Huawei smartphone. I assume the Bluetooth antenna is located there in my smartphone?
Under linux I can configure my wifi transmission power like:
sudo iwconfig wlan0 txpower 30mW
Is there such a possibility to configure my Bluetooth Low Energy Android library?
It is not obvious from your question where the problem is. Typically in Bluetooth you have control of the power the peripheral advertises at, so that would be the BLE weather themometer in your case.
I would suggest looking at the HCI logs on the phones to see if they give more insight as to what the issue is.

How to build an android app that acts as a peripheral bluetooth, so I can discover it from iOS application?

I have built an iOS app that uses corebluetooth, and an android app that starts avertisement via GATT server.
So Android devices only discover other androids and iOS devices.
And iOS devices discovers other iOS' only.
The question is how to advertise data from android so iOS devices can discover it, or is there any way for iOS device to scan regular bluetooth devices except for MFi program?
if you had any experience with connecting these two OS via bluetooth, please let me know the ways on how to do it.

Differentiating Android BLE Channel

When I make a BLE device talk to an Android device, is there a way for the android device to distinguish what advertising channel the BLE device is on? If doing so is impossible in Android, is it possible with Adafruit BLE devices?
No, it's not. The information is discarded before the advertisement packet is sent by the receiving Bluetooth controller to its host (Android) over hci. Why do you want this info anyway?
It seems you can do it on Adafruit though, since it uses nRF softdevice, which gives you this info.

Smartwatches supporting Android 5 BLE peripheral mode

Which Android wear smartwatches return true for the following check:
BluetoothAdapter.getDefaultAdapter().isMultipleAdvertisementSupported();
?
On stackoverflow (Chipsets/Devices supporting Android 5 BLE peripheral mode) there is only a list for Android smartphones and tablets.
Edit: The ASUS ZenWatch 2 returns false.
I read about this article which mentions that Pebble smartwatch contains the sensor for BLE, but the standard has not yet caught on with developers and I also haven't actually checked if it returns true on:
BluetoothAdapter.getDefaultAdapter().isMultipleAdvertisementSupported();
It is, however, mentioned in Android Wireless and Connectivity that
Android 4.3 introduced platform support for Bluetooth Low Energy (Bluetooth LE) in the central role. In Android 5.0, an Android device can now act as a Bluetooth LE peripheral device.
Hope that helps!

Developing an Android app which can broadcast advertisements using Bluetooth Low Energy APIs

I am developing an Android app which can broadcast advertisements using Bluetooth Low Energy APIs(Implemented in Android 5.0 with Nexus 6 & Nexus 9). I am putting my Nexus 9 in peripheral mode & it is broadcasting advertisements.
My question here is:
"Can every other android device with OS having Android 4.3 or greater receive advertisements without installing any third-party apps?"
I'm planning to develop Android app for peripheral mode only, but not for central mode for client devices.
Android 4.3 to 4.4 - Central mode(Device can receive advertisements)
Android 5.0 - Device can work in both central & peripheral mode.(can broadcast as well as receive advertisements).
Is it possible in any version of Android?
The answer is NO. There is no system tools / stock app that receive BLE advertisement (and display it out). You have to make it your own / use the existing third party app to achieve that.

Resources