I am currently working on a project which is basically showing the Realtime readings from firebase database that are being uploaded by ESP32. I am plotting an ECG graph in the app and the delays are terrible( uploading values to firebase). I want to shift the app to Bluetooth and did some research and found Bluetooth Serial for flutter.. I can connect to a Bluetooth device but I don't know how to receive data from this device. any help would be appreciated. I have 0 knowledge of implementing Bluetooth as I am new to Flutter.
I am using this : https://pub.dev/packages/flutter_bluetooth_serial
currently I am using firebase Realtime Database for fetching values but the delays are huge due to internet delays. here are some screenshots:
whenever this ECG values changes in the firebase, the graph plots. I want to shift this graph to Bluetooth.
Related
I have a Project to send data from flutter to Arduino to do some tasks, I was working with HC -05 and 'serial Bluetooth communication library' but I found that isn't support Low energy Bluetooth, so I have to work with 'flutter_blue' and I can't find exactly how just send data like "1"
if someone has already work with something like that, help me and thanks
method to how can I send data with this library "Flutter blue"
'how can I send data with this library "Flutter blue"?'
There is an example there in flutter blue page (https://pub.dev/packages/flutter_blue) on how to get and send data to a BLE device.
await c.write([0x12, 0x34])
There are initial steps before the app can read and write data to the BLE device. Basically, the steps consists of scanning, connecting, and discovering services. After that, the app can start reading and writing data. Data are written(or read) to (or from) a 'characteristics'. The app can also subscribe to a characteristics so it can receive data from the notification. These are just a general guide for communicating with BLE devices. You must know the details from the documentation of the specific device.
I have made some apps in flutter (pedometer, heart rate, audio recorder) for the moto360 with flutter wear. everything works fine, but I don't know how to save the data on the watch and how to access the data on the smartphone. I have managed to send messages to the watch, but I can't send data from the watch to the phone. I can save my data on the smartphone, but I don't know how to manage it on the smartwatch. can someone show me a tutorial or an example? thank you so much!
how to get smartwatch data, how to retrieve steps count and heart rate etc. from a smartwatch with communicating Bluetooth in flutter so I have received Bluetooth device id and Bluetooth UUID. how to data read and get permission to data show the flutter app
how can i create simulation for the following devices Arduino IDE + NodeMCU ESP8266 + Firebase and android application, soil PH sensor | NodeMCU ESP8266 send & get Data from Firebase Database. the aim is to measure the soil PH as well as displaying favourables crops and type of fertilizer that can used via android app.
you can do that so so you can use cloudeFireStore as a database or RealtimeDB is there , you can use any one of them and you need to find it's end point of a collection refer this ; if you have get that you can call from your iot device and post your data in to firebase; also connect your flutter app with firbase refer this and and use some CRUD operation as you wish
I'd be very grateful if somebody can help me. (I'm absolute beginer with Android).
There's a lot of code in the web, but I couldn't find anything suitable for my application.
I've an installation with some sensors connected to Arduino. All input data are collected in a String, and this String is sent via Bluetooth to an Android device every 1~2 seconds (depending on data availability from sensors). Is to be used for hours.
I made an App that receives the data (via Bluetooth) and shows all data in real time update in one layout, with the Bluetooth code in the MainActivity. Works well.
What I need is an App with three different Activities, all using the same String data from Bluetooth, and real time updated.
My question is how to build the App:
-Bluetooth running in a Service, and Activities connected to it?
-Which is a good way for real time update in any of the three Activities?
A similar example could be a weather station, an Android device receiving data via Bluetooth, showing the same weather data in three different layouts, with continous update.
Thanks in advance
Id like to know if it is currently possible to conduct network scans in Ionic on android and IOS, effectively what id like to know is if its possible to read the 5.2ghz and 2.4ghz networks and return BSSID its signal strength and what channel its using coded under the ionic framework. currently building a network planning tool and its something that I would like to include. I had heard that at one point IOS was not allowing these tools onto the App Store, but ive also heard now that they do allow it.