ionic-ble-examples | Ionic Framework Bluetooth Low Energy Examples | Learning library
kandi X-RAY | ionic-ble-examples Summary
kandi X-RAY | ionic-ble-examples Summary
Ionic Framework Bluetooth Low Energy Examples
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ionic-ble-examples
ionic-ble-examples Key Features
ionic-ble-examples Examples and Code Snippets
Community Discussions
Trending Discussions on ionic-ble-examples
QUESTION
i am developing an BLE App in Ionic 4 with Cordova. i was implementing the logic from this GitHub Repository: https://github.com/don/ionic-ble-examples/blob/master/scan/src/pages/home/home.ts
but i want to create an Bluetooth-Service and call the scan function in ngOnInit. i assign the array of found devices in the viewDidLoad-Method.
But i am not sure if this is a clean implementation of BLE. Especially i did not know when to call the different states (scan, assign found Devices to array).
When i run my app on an ios Device i find Bluetooth Devices and they are listet in the array.
My repository could be found here: https://github.com/goodcare/tobimat
thanks for your help!
...ANSWER
Answered 2018-Oct-17 at 18:34I'd suggest this:
Make a BluetoothService as in
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ionic-ble-examples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page