I was wondering if someone could help me out? I am currently running the phonegap desktop and mobile apps. I currently have a BLE board for an a tinyduino. The board is discoverable by BLE discovery applications such as lightblue. In order to achieve this I have used the example HERE
Note the Tinyduino uses the same IDE as Arduino
Along with the BLE board i have 3 sensors attached to my Arduino which are all working fine in the serial monitor.
I would like to use phonegap to create a basic application that receives and displays the serial data from the sensors.
Does anyone know how I would go about doing this?
You can try one of those plugins for Cordova/Phonegap:
Cordova BLE Plugin
https://github.com/evothings/cordova-ble
Bluetooth LE Cordova Plugin
https://github.com/randdusing/BluetoothLE
Have in mind that the target device should support Bluetooth LE
Related
I am developing the smart home app using react native platform. In that, I want to configure my IoT device from a mobile app over Bluetooth.
My device Bluetooth specification is,
BLE;v4.2 BR/EDR
I am using
react-native-ble-plx
library in react native for the Bluetooth operations so I am trying to scan the Bluetooth for the connection but my IoT device is not scanned by this library. Please help me to solve this issue.
I want to get two values from arduino board via Bluetooth in my android application. The arduino board is already paired to my device. How can i receive those values. Anyone ??
You need to write two applications. one on android and the other on Arduino board. you can refer the following tutorial to connect to bluetooth device from android app.
communicating with bluetooth device from android app
I am working on a project that including an android phone that sends simple serial messages to a picaxe microcontroller(14m2) like '1','2','a' etc.
I searched alot on the web, and I only found a way that the android smartphone first "connecting" to the device and "discover" it, the problem is that PICAXE microcontroller is NOT a 'USB' device, and it can't be discoverd by the android, that means the android will not be able to send serial messages to the PICAXE.
if theres any way to send simple pulses from android to PICAXE, please let me know about it.
EDIT: There's any way to do that by connecting the AXE027 download cable with OTG?
I do some project with communicating over serial port. You can use chineese bluetooth adapters (see on ebay arduino bluetooth), those communicate with controllers via Usart and connect to phone by bluetooth. There is sample project Bluetooth chat from google about how to use bluetooth on android. On hardware iside, you can use arduino for receiving data by bluetooth and converting it in format of your controller. You wont have to use any wires
I know we cannot transfer data between android and iOS devices through bluetooth. But, can the iOS device scan and "see" the android bluetooth device (get the list with name of bluetooth), in both cases normal bluetooth and BLE?
An app running on iOS cannot discover any Bluetooth 2.1/3.0 devices (excluding MFi devices for which the app is registered, which does not apply to an Android device).
If the Android device is advertising BLE/BT4.0 service(s) then an iOS app can use Core Bluetooth to discover these service(s).
I'm attempting to create an Android and iOS app that utilizes Bluetooth to detect proximity to an object and have the app perform some action. The only thing I need to do is pair so that my app can know you are near the source, not actually perform any additional communication or have the Bluetooth receiver communicate with any hardware.
I was able to flash a BLED112 USB Dongle (BLE) and get that working with the iOS SDK when plugged into a cigarette usb car adapter, but could not find an equivalent Classic Bluetooth Dongle that would allow for the same functionality. Does anyone know of a small classic Dongle that either includes a dummy host controller or allows you to pair without a host controller which would allow for the functionality I'm trying to achieve? I need to support Classic Bluetooth for many Android phones to work since BLE isn't well supported across Android.
Thank you in advance