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

nRF8001 DK Apps Docs

I load battery_demo_nrf8200.hex into nRF8200. I can then read battery data on Master Control Panel and watch data change when I change VTG. I then load health_thermometer_application_nrf8200.hex. I can see the service show up on Master Control Panel but I get READ_NOT_PERMITTED error on reading the value, then the link is lost. I then load blink_led_nrf8200.hex. I can see the service in Master Control Panel, but no LEDs are blinking. Is there documentation for these example apps and how to set these up and what errors should be expected? Where is the file services.h? I tried adding a service template to the local gatt services in the nRF8001 configuration. I then searched for a services.h and could find nothing. Is there documentation for what to expect and how to create a service?

Any help appreciated.

Parents
  • Hi,

    The characteristic you are trying to read in the Health thermometer application is probably not readable. A characteristic can have different properties, read, write, notify, indicate, write without response. If the characteristic has a notify or indicate property you will have to enable these by writing to the characteristics CCCD (Enable services in the Master control panel).

    The device might also require security, meaning that you will have to bond to the device before you can read/write characteristic values. I can't remember if this is required by the Health thermometer application, but if it is you can easily do this from the Master control panel by pressing the bond button.

    The different projects are documented in a .chm help file that is located in the documentation folder of the nRF8001 SDK. There is also a user guide that could be helpful. Note that there is also an arduino SDK for the nRF8001. This has an event and command queue, is interrupt driven and should be easier to port then the "8051 SDK". There is already different ports available from technical support upon request.

    The services.h file is generated by nRFgo studio. Each example project has a .xml file with different configurations that the services.h file is generated from. Try using the help function in the studio if you are stuck. And if that doesn't help, just ask again here.

Reply
  • Hi,

    The characteristic you are trying to read in the Health thermometer application is probably not readable. A characteristic can have different properties, read, write, notify, indicate, write without response. If the characteristic has a notify or indicate property you will have to enable these by writing to the characteristics CCCD (Enable services in the Master control panel).

    The device might also require security, meaning that you will have to bond to the device before you can read/write characteristic values. I can't remember if this is required by the Health thermometer application, but if it is you can easily do this from the Master control panel by pressing the bond button.

    The different projects are documented in a .chm help file that is located in the documentation folder of the nRF8001 SDK. There is also a user guide that could be helpful. Note that there is also an arduino SDK for the nRF8001. This has an event and command queue, is interrupt driven and should be easier to port then the "8051 SDK". There is already different ports available from technical support upon request.

    The services.h file is generated by nRFgo studio. Each example project has a .xml file with different configurations that the services.h file is generated from. Try using the help function in the studio if you are stuck. And if that doesn't help, just ask again here.

Children
No Data
Related