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

HTS Sample can not connect

I have tried HTS(Health Thremometer Service) sample Program on nRF6310, PCA10006, SEGGER J-Link Lite and iPhone5C.

First time, temperature is displayed on the iPhone5C (Success!!)

After then, I was started the nRFgo application to analysis nRF6310 & PCA10006. (what I did at that time, I don't remember ・・ sorry )

and I have tried HTS sample Program again .. temperature is not displayed on the iPhone5C (Error!!) ( I do not modify HTS source code )

Phenomenon 1) HTS program Start (used Eclipse & J-Link lite) -> LED0 turn to ON 2) I tap the nRF Utility of iPhone5C bluetooth smart > TEMP > CONNECT -> LED0 turn to OFF -> LED1 turn on ON -> Green CONNECT button changes to Red DISCONNECT (iPhone5C)    but Tempaerture is not displayed

  1. set break point and check error code uint32_t ble_hts_measurement_send(ble_hts_t * p_hts, ble_hts_meas_t * p_hts_meas) { : err_code = sd_ble_gatts_hvx(p_hts->conn_handle, &hvx_params);

this err_code=8 (NRF_ERROR_INVALID_STATE)

Why this happens ? Please advice to me

Parents Reply Children
No Data
Related