I am testing an ESP32 application by provisioning the WiFi credentials over BLE uaing a number of phones and found that in many of them, the ESP32 does not show up in the phone's bluetooth at all. It has worked on these phones: Samsung S9, Samsung S6, iPhone 6s. But it has not worked on Samsung A32, Samsung A72, Xiaomi... and undoubtedly, many more.
The code I'm using is jut the standard ESP Jumpstart example code for unified provisioning, using the BLE selection.
ESP-IDF 4.3.1.
See attached for menu config bluetooth settings:
Is it possible that some phones with Bluetooth 5.0 do not have BLE? My understanding is that BT 5.0 is 100% BLE. The only Bluetooth that is a bit dodgy is 4.2 where it's optional. Even in 4.0 it's all Low Energy.
Related
I am quite new to KaiOS and was wondering if it is possible to build an app that sends / receives serial communications (for instance communicate with Arduino) over a physical cable connected to the phone.
I am currently doing it on Android using this library https://github.com/mik3y/usb-serial-for-android, and would love to do it on KaiOS.
I looked at the permissions and see that there is nothing related (https://developer.kaiostech.com/core-developer-topics/permissions) but I did not find any info saying that it is possible (or not possible) to do it
If not possible, any idea of how to do Serial communication between a feature phone and an Arduino is welcomed !
Thanks for you help !
Nope. KaiOS phones do not support USB Host mode.
I've tried plugging USB mouse and keyboard in Nokia 2720 using USB OTG cable, the phone did not even provide +5V power to the USB port (my keyboard lights up LED if I plug it into USB charger)
Likewise, Bluetooth is limited to headphones, my Bluetooth mouse and Bluetooth gamepad did not work.
I try to connect to a BLE device using Qt. But I don't know why my used tool doesn't find my device.
Used tool: https://github.com/Gawhary/Qt-BLE-Tester
Best regards
Qt don't suport bluetooth BLE on windows. doc.qt.io/qt-5/qtbluetooth-le-overview.html only on mac and linux.
If you want BLE suport look here. https://forum.qt.io/topic/60288/does-qt-support-bluetooth-low-energy-under-windows-10
Qt supports Bluetooth Low Energy on Windows 10 as Central when developing UWP (WinRT) Apps since Qt5.8
There is no Bluetooth Low Energy support for classic Windows applications as specified on their documentation.
According to the documentation, geofencing uses cellular network and wifi signal for detecting a location, but it seems like it doesn't work without a connected companion device.
Does Android Wear work with geofencing without paired handheld?
Update:
Just had a quick play with this, doesn't seem to work yet when BT disconnected and wifi connected.
Original reply:
Not all wear devices have the hardware to support this, though the LG urbane 2 has LTE and quite a few Wear devices support wifi.
I would think this works considering other services work that use location with wifi/gps.
Can you check these items?
Verify your Wear device supports wifi, i.e., it has a wifi chip
When disconnected, check wifi is enabled under settings (this should happen automatically)
Wait some time (even 5 mins) for a signal
More details:
If your wear device has wifi, it should actually turn on if the Wear device becomes disconnected from the phone via bluetooth. You can verify this by looking in the settings as noted above.
I have noticed with the FusedLocationProviderApi it can sometimes take quite a bit of time to switch to the on-board chip when the phone becomes disconnect, so it may be the case with the Geofencing as well. FYI, Google Play Services always uses the phone's hardware first to save battery. It only uses Wear hardware when the phone disconnects.
How can I create an iBeacon on a windows 7 PC with Smart Bluetooth 4.0 integrated with the Wi-Fi, I.e not a separate dongle. I'd rather not look at other OS's as the device also has to run an Adobe air application at the same time.
Thanks
Mike
Sorry, but you cannot natively make a Bluetooth LE-equipped Windows 7/8/8.1 computer broadcast as an iBeacon. The operating system is limited in its BLE support to allowing third party apps to work with a limited number of BLE profiles. More details are available here in this question about Windows phone, but the info also applies to the desktop Windows OS:
iBeacon support for Windows Phone devices. Support is expected to be added in Windows 10 in late 2015.
Until then, your options are limited to a Linux VM or to a hardware dongle with native iBeacon support.
As David pointed out, there is no API available for working with iBeacons until Windows 10.
If you don't need any other Bluetooth connectivity, you can replace the Bluetooth driver with a libusb driver and use your own Bluetooth stack which adds support for iBeacon. You can check out open-source libraries like BlueZ and btstack and make the HCI layer work. On top of that you can implement/port the BLE advertisement and discovery HCI commands and you have all you need for working with iBeacons.
For the needs of a university project I have to connect my Macbook Air to a Bluetooth LE device (an air pollution sensor). When looking for nearby devices my Mac cannot find this sensor device and probably the reason is that it uses Bluetooth LE.
Do you know what kind of drivers or special framework do I need to connect to this device using Bluetooth LE?
You won't be able to find BLE devices in your Bluetooth device search. In order to find the devices you are going to have write code in objective C using the CoreBluetooth framework. Also you need to make sure your Air supports BLE. I believe the early ones don't.