| Electronic Components Datasheet Search |
|
UM1770 Datasheet(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1770 Datasheet(HTML) 22 Page - STMicroelectronics |
|
22 / 56 page ![]() Profile – application interface functions UM1770 22/56 DocID026385 Rev 2 6.1.3 HRProfile_Send_HRM_Value() Description This function or command is called by the application to send the heart rate measurement value to the collector. The procedure to send a heart rate measurement value returns BLE_STATUS_SUCCESS if started successfully or BLE_STATUS_FAILED if not. When the measurement value is sent successfully, the application is notified through the event EVT_HRS_CHAR_UPDATE_CMPLT. Parameters • heartRateVal: The heart rate measurement structure with the following members: 1. valueformat – indicates the format of the heart measurement value. '0' if UINT8 '1' if UINT16 2. sensorContact – this field indicates whether the sensor is in contact with the body '0' is no or poor contact. '1' contact o.k. 3. energyExpendedStatus – indicates whether the EE field is present in the current characteristic value. '0' not present. '1' present. 4. rrIntervalStatus – indicates whether RR interval values are present in the current characteristic value '0' not present. '1' present. 5. heartRateValue – the heart rate measurement value. 6. energyExpended – the energy expended value. 7. numOfRRIntervalvalues – the maximum length of RR interval values allowed is nine. If the maximum is exceeded, then only the last nine will be considered, assuming they correspond to the most recent collected data. 8. rrIntervalValues[9] – the buffer to hold the nine(9) most recent RR interval values provided by the application. 6.1.4 HRProfile_Set_Sensor_Contact_Support_Bit() Description The application should call this function before sending any data to the device in order to enable the sensor contact bit (BODY_SENSOR_LOCATION_SUPPORT_MASK) to include sensor contact information value in the heart rate measurement. It returns BLE_STATUS_SUCCESS when successfully set and BLE_STATUS_FAILED when not set. 6.1.5 HRProfile_Set_Body_Sensor_Location() Description Updates the body sensor location characteristic with the value provided. This should be called by the application when not in a connection; it returns BLE_STATUS_SUCCESS if successful. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |