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

Can we write additional services and characteristic of nRF 8001 through iPhone

I am successfully communicating through nrf 8001 chip and i using this module. Now i want to write services and characteristic to this module through iPhone after getting connected to this module. How this can be accomplished? How we can write services and characteristic through iPhone.

  • The services are defined in the setup data that is transmitted to the nRF8001 at startup (if not written to OTP). If you want to change setup, for instance the services and characteristics of the chip, at run-time, you'll have to receive a new setup, write it to flash, and then make sure that the application controller uses the new setup on next reset.

    We don't have any ready-made examples with this, but it should be doable if you absolutely want to. The new setup must be made with nRFgo Studio, and you must then send the contents of the services.h file to your controller, and then use this data on reset. It may not be easy to get this working correclty, but it is technically doable. I would however recommend you to consider if there is another way of achieving what you need.

  • If you want to do such an update, Make sure that you enable the Service Change Characteristic and the Pipe to it using the nRFgo studio -> nRF8001 -> configuration -> GAP Settings -> Advanced GATT Settings.

Related