This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Characteristics values specification

Dear Nordic Semiconductor

I am using device:

NRF51802 bluetooth 4.0

Product Introduction:

Features:

1.Adopt NRF51802 bluetooth 4.0 BLE SOC 

2.ARM CORTEX-M0  

3.Adopt MPU6050 chip 

4.Adopt BMP280 temperature atmospheric pressure sensor chip 

5.Ambient light proximity sensor chip AP3216

6.With power switch 

I struggle with using values that I get from notify services of my device.

This is the output I am getting from all notify services:

  • 1: bmpData 
    • service: "6a800001-b5a3-f393-e0a9-e50e24dcca9e"
    • characteristic: "6a80b280-b5a3-f393-e0a9-e50e24dcca9e"
    • RESULT FROM NOTIFY SERVICE:
    • Uint8Array(8) [0, 1, 135, 124, 0, 0, 0, 23]
  • 2: mpuData 
    • service: "6a800001-b5a3-f393-e0a9-e50e24dcca9e"
    • characteristic: "6a806050-b5a3-f393-e0a9-e50e24dcca9e"
    • RESULT FROM NOTIFY SERVICE:
    • [[Int8Array]]: Int8Array(12) [7, 46, 2, 120, -66, 88, -1, 116, 0, 44, 0, 19]
    • [[Uint8Array]]: Uint8Array(12) [7, 46, 2, 120, 190, 88, 255, 116, 0, 44, 0, 19]
    • [[Int16Array]]: Int16Array(6) [11783, 30722, 22718, 29951, 11264, 4864]
    • [[Int32Array]]: Int32Array(3) [2013408775, 1962891454, 318778368]
  • 3:apData - tu mi pride najviac pravdepodobna vzdialenost
    • service: "6a800001-b5a3-f393-e0a9-e50e24dcca9e"
    • characteristic: "6a803216-b5a3-f393-e0a9-e50e24dcca9e"
    • RESULT FROM NOTIFY SERVICE
    • Uint8Array(2) [0, 0]

I need to see documentations for this values in Arrays and how  to correctly use them for getting :

Acceleration values, Gyro Values and Temperature.

Thank you for answer and your time

Best Regards

Argalas

Parents
  • Hi Argalas,

    I need to see documentations for this values in Arrays and how  to correctly use them for getting :

    Acceleration values, Gyro Values and Temperature.

    Can you elaborate on where these values come from? Is it a Nordic example, or some other example, or your code? In any case, if this is raw data from the various sensors you need to consult the datasheets for the sensors to know how to interpret the data.

    Einar

Reply
  • Hi Argalas,

    I need to see documentations for this values in Arrays and how  to correctly use them for getting :

    Acceleration values, Gyro Values and Temperature.

    Can you elaborate on where these values come from? Is it a Nordic example, or some other example, or your code? In any case, if this is raw data from the various sensors you need to consult the datasheets for the sensors to know how to interpret the data.

    Einar

Children
No Data
Related