This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with nrf51-ble-app-temp

Goodmorning

I have few problem with this project. I took the source file from github.com/.../nrf51-ble-app-temp and I modified the main.c to use with S110 6.0.0, nRF51 SDK version 6.0.0 and nRF51822 Evaluation Kit (PCA10001) version 2.2.0. For temperature with the function sd_temp_get(&temp), I have an error code = 15 (forbidden operation-> Tried to write to or read from protected location). Furthermore, after I have put errorcode = 0, in the place of sd_temp_get(&temp) function and temp = 0, the PCA10001 seems to work, but I can not connect the EK to nRF Temp 2.0 app on my smart phone. So, there is something that I don't understand. Can you help me, please?

I remember you that I use Keil uVision 5.0 for compiling the project. Is there any setup to do in this development tool?

Thanks

P.A.

Parents Reply
  • I have not performed the upgrade to S110 7.0.0 and SDK 6.0.0 but I was able to poke around in the SDK code base. It appears that a 0x3001 error is BLE_ERROR_NOT_ENABLED. Although the comment where sd_ble_gap_device_name_set is defined does not list that as one of the possible return codes. You probably want to look at this question and answer: devzone.nordicsemi.com/.../

Children
No Data
Related