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 nRFgo studio and nR8001 when I try to enable advertise Service Data

Hello,

I am working with the nRF8001 device:

When I try to configure the device as a service data broadcaster and go to the nRF8001 Setup -> Generate Source Files (in nRFgo Studio 1.14.1.2369) I get an error:

image description

image description

image description

image description

I always get this error when I check the service data in Connect or Bond or Broadcast tabs.

If anybody can help me with this I will appreciate it.

Regards, Diego.

Note: I am attaching an xml example that will produce this error.

heart_rate_sensor.xml

Parents
  • When you are sending Service Data, you need to enable the broadcast property on the Characteristic within the Service that needs to be broadcast. I see that this was not explained clearly, my apologies for the issue.

    The Service Data tag requires that you have at least 1 Characteristic with the Broadcast property. The Service Data then gets the Service UUID of the Service which is under which the Characteristic is present and the data is the value of the Characteristic

    I have attached a fixed XML file to illustrate the issue and the fix.heart_rate_sensor_added_broadcast.xml

Reply
  • When you are sending Service Data, you need to enable the broadcast property on the Characteristic within the Service that needs to be broadcast. I see that this was not explained clearly, my apologies for the issue.

    The Service Data tag requires that you have at least 1 Characteristic with the Broadcast property. The Service Data then gets the Service UUID of the Service which is under which the Characteristic is present and the data is the value of the Characteristic

    I have attached a fixed XML file to illustrate the issue and the fix.heart_rate_sensor_added_broadcast.xml

Children
Related