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

Does nrf toolbox (android) work on nrf52 related SD, e.g. S140?

Hello everybody!

Feel free to read this question for more background information:

devzone.nordicsemi.com/.../

I'll give everyone reading this a quick bulletin run down as to what happened to save time:

  • Migrating from nrf51 S110 to nrf52 S120
  • ble_hvx() function on my nrf52840 returns "0x00000008" "INVALID STATE" error.
  • Most likely the cccd handle wasn't set by my android app
  • But it worked flawlessly back in nrf51 S110
  • User Endnode here told me that it's very likely that the old android API function (not to be mistaken with the nrf51 MCU function I mentioned above, the successful establishment of the communication between android device and MCU requires many functions on both sides) setcharacteristicnotification, which use "WRITE" method on the GATT instead of "REQUEST" method, fails to trigger the proper set cccd handle operation, and is likely ignored altogether by the latest S140 SD.

So, I went on trying to find the relevant function, but couldn't. I'm here thinking, shouldn't nrf toolbox be working with S140 on Nrf52 series? If that's the case, I'll just use whatever function they are using from the android API, and mission accomplished?

I'm trying to git the APP source code to local, but at this point, I don't know if the tool box work at all, if it does, then it'll just be monkey see monkey do kind of deal, if not, I'm not going to spend my time on it.

Also, if you are familiar with this, feel free to tell me what function the toolbox use to set the cccd handle.

Cheers.

Related