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

S120 Adv scan ack payload?

Hi,

I want to get a message to know if the S120 center have had get the adv packs. Is there a way to make a scan respond ack payload pack from the S120 center?

  • A scan response will only be sent out when a scan request is received. Please see this.

    Your question seem very releated to your previous question. The Bluetooth specification doesn't include any standard mechnisms for acking an advertising packet with a scan response, you can try to add an acking mechanism in your application. This could look similar to what RK suggests in his answer:

    I assume you're trying to do something like wait for a scan request to come in before setting the response data to something 'current' instead of keeping the scan response data constantly up-to-date even when nobody is asking for it, for efficiency reasons. If you are, perhaps you could set the scan data to a 'not up to date' marker value in general then, when you receive a scan request report, start keeping it up to date for the next few advertising packets, so the client picks up the data on its next scan. After a short while go back to the default 'not up to date' marker value. The client will have to see a couple of advertising packets to get the data, but that's probably ok.

  • Sure, This time I want to get to know which center get the ADV packet through the SCAN ACK payload which can be added something like center name.

Related