I am trying to getting data from mi scale V2. I am getting service data like this: “serviceData”: {“0000181b-0000-1000-8000-00805f9b34fb”: “BiTlBwcZFgsYAAAmAg==”}(5.15kg) and I decode the base64 string to array like this [66, 105, 84, 108, 66, 119, 99, 90, 70, 103, 115, 89, 65, 65, 65, 109, 65, 103, 61, 61] But I can not retrieve the correct result. How can I get the weight data?
React Native Mi Scale Weight Data
869 views Asked by AudioBubble AtThere are 2 answers
ukBaz
On
UUIDs with the format of 0000xxxx-0000-1000-8000-00805f9b34fb are an officially adopted Bluetooth SIG UUID and can be looked up online.
If you look at the following URL:
https://www.bluetooth.com/specifications/assigned-numbers/
there is a document with the title "16-bit UUIDs". I can see from that document that 0x181b is Body Composition GATT Service.
According to the "Body Composition Service 1.0" document at: https://www.bluetooth.com/specifications/specs/ there should be a Body Composition Feature (0x2A9B) and a Body Composition Measurement (0x2A9C) characteristic available for that service.
It will be the Body Composition Measurement characteristic that will contain the weight value.
A generic Bluetooth Low Energy scanning and exploration tool like nRF Connect can be useful when exploring and understanding the data on a device.
Related Questions in REACT-NATIVE
- ussd reader in Recket Native module
- I can't make TextInput to auto expand properly in Android
- expo config plugin use import instead of require
- Custom Sound for Expo Push Notifications Only Works in Foreground
- run RTK dispatch on gesture start with React Native
- Should I set Back-End for my React Native application?
- using infoPlist in app.json for expo project seems to not be working
- Anyone have success configuring react-native-home-indicator?
- KeyboardAvoidingView makes a messy the flexbox
- I am getting lots of errors when building react native app in Xcode
- Search and highlight text of current text in PDFKit Swift
- Flatlist Sometimes Capped at 10 Items Bug
- Is there any way to page transition in react native (stack navigation)
- Screen inside Stack.Navigator not visible in React-Native
- React Native stopwatch implementation slow on iOS
Related Questions in BLUETOOTH-LOWENERGY
- How to receive Bluetooth value in Android app
- provision failed and giving null pointer exception in android using ESP provisioning Library
- Need the decoded data while from server esp32 send and Receiving in react native cli
- python script using bluetooth running on windows 11 vs raspberry pi4
- How to make sure only one client connect to the BLE server on ESP32?
- Samsung SM-A546E Bluetooth in background odd behaviour
- Android OnCharacteristicChanged - Continuous stream of bytes from Bluetooth Stethoscope
- ESP32 BLE Arduino And getting a compile error of 'ringbuf_type_t' has not been declared
- (corebluetooth didUpdateValueFor) data is not being sent properly between my peripheral arduino 33 nano and iOS app
- Constructing a script using a 3rd party library
- BLE SMP packets sniffing using scapy python
- Error in Bluetooth specification? Heading field of Location and Speed
- How to understand the Sensor Setting Property ID in the SIG Mesh model
- Problem with mapping of BLE 5.1 ATT protocol stack with winsock & winsock2 arcitechture
- Plot ecg graph in flutter
Related Questions in SCALE
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Merge Azure mp4 blobs via API (Preferred Azure)
- Colorbar and contour plot seem to not match data; individual/custom scale to emphasize data of interest
- Weight measurement with real-time time stamping using the Kern KB 3600-2N precision balance
- Highcharts Spider Chart with different scale for each category
- GKE cluster shutdown
- Prevent blocking the event loop on sync operations
- How to keep original x-axis after utilizing a custom scaling for the geom_rect in ggplot?
- ESP32 attachInterrupt causing (Interrupt wdt timeout on CPU1)
- How to fix SVG being cut off when using as background?
- How to move the background image by clicking and dragging the mouse smoothly?
- How to use pyplot to show data with no scale on xaxis and allow to pan (shift) via mouse
- Page scales down on mobile when width is below 980px
- signalr - programatically scaling up (from azure function)
- Getting scale offset inside tkinter canvas
Related Questions in REACT-NATIVE-BLE-PLX
- Need the decoded data while from server esp32 send and Receiving in react native cli
- React Native BLE Advertising
- react-native-ble-plx library is not working
- Using mobile phones as BLE central and peripheral device in react native
- How to send data between two phones with Bluetooth and React Native?
- react native ble plx monitorCharacteristicForService not working just quite
- build fails after installing react-native-plx
- How to read/write data with BLE and `react-native-ble-plx`?
- react-native-ble-plx read stops working after setting state
- com.bleplx.BlePlxModule.state (BlePlxModule.java:2)
- React Native + react-native-ble-plx. Writing to a BLE device
- npm package for BLE in react native
- How to get different characteristic UUIDs (distance, calories, heart rate, etc) from the connected BLE device
- React Native app cannot detect simulated BLE device, how can I test functionality?
- Getting "value": null while trying to react data using characteristicsForService() function with react-native-ble-plx
Related Questions in MI
- Micro Integrator 4.2.0 maven build - error - Invalid CEN header
- Predict a predictor in a non-linear model
- Why is read() blocking in FIFO loop for GDB/MI process
- How to execute DDL SQL Scripts on Azure Managed instance using Azure portal CLI
- CIM Abstract class can still be instantiated on Windows?
- WSO2 MI deploy main sequence
- Broadcast Receiver not receiving the the message after Boot/Reboot on Oneplus devices
- WSO2 MI 4.1.0 SFTP protocol: How to construct URI from Environment variables
- How to impute a three-level dataset with ordered and continuous variables with non-normal distribution in R using `mi` in R
- Error in creating complex survey design object with imputed data using mi and survey packages in R
- Mp4Parser audio video merged output not playing in all devices
- Multiple imputation with R mice/miceadds for repeated-measures data set - predictor matrix set-up and imputation method
- Bluetooth connection like wearable devices
- How to properly check installed GooglePlayServices is working or not?
- aregImpute function in R package Hmisc
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The UUID
0000181b-0000-1000-8000-00805f9b34fbbelongs to the pre-defined Body Composition Service (BCS). You can download the specification from here.It should have the two characteristics Body Composition Feature and Body Composition Measurement.
The Features characteristic shows you the features supported by your scale, the measurement characteristic returns the actual measurement.
Take a look at this answer where I explain the process of decoding a sample weight measurement.