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

The setting of the device and the READ value of the application do not match(gls)

GLS is implemented using Nordic(S110_7.0_SDK6.1).

When set to Control solution function.

The setting of the device and the READ value of the application do not match. Type and sample_location are replaced. what is right? (device or application?)

// in device rec.meas.type = BLE_GLS_MEAS_TYPE_CONTROL ;//=> 10 rec.meas.sample_location = BLE_GLS_MEAS_LOC_CONTROL ;//=> 4

// in application => type= Venous Plasma // 4 location = reserved // 10

UUID 0x2A18 Value 0x0B 00 00 E0 07 02 0E 0E 00 0C 00 00 88 B1 4A 00 00

Parents
  • The problem is that the Type and Location set by the device and the values read from the application are opposite to each other.

    Is the device wrong? Is the application wrong? I want to know.

    ------------------------------------------------------------------------------------------------------------------
    // in device soure code
    rec.meas.flags                          = BLE_GLS_MEAS_FLAG_TIME_OFFSET   |
                                                  BLE_GLS_MEAS_FLAG_CONC_TYPE_LOC |
                                                  BLE_GLS_MEAS_FLAG_SENSOR_STATUS;
                                                  
    rec.meas.type = BLE_GLS_MEAS_TYPE_CONTROL;         // 10
    rec.meas.sample_location = BLE_GLS_MEAS_LOC_CONTROL;  // 4
    -------------------------------------------------------------------------------------------------------------------
    
    // in old version apple phone & current version android
    type= Venous Plasma // 4 
    location = reserved // 10
    -------------------------------------------------------------------------------------------------------------------
    // The value read from the application.
    UUID 0x2A18 Value 0x0B 00 00 E0 07 02 0E 0E 00 0C 00 00 88 B1 4A 00 00
    
    ----------------------------------------------------------------------------------------------------------------------
    

    In addition, I checked other mobile phones. It was normal in the latest version of apple phone.(nrf toolbox) But there is a problem with the latest version of the Android phone.(nrf toolbox)

    In addition, when the meal(rec.context.meal) is set, the application dies.( apple phone ) I did not check it on Android.

    I think it is not a problem with the device I think it as a problem of the application. Is my judgment correct?

  • This is not an answer. Please edit your question and include the information or add it as a comment to your question.

Reply Children
No Data
Related