Skip to content

Advertising two different services sequentially #31

Description

@trkdgnr

Hello,

We are trying to advertise two different data with a certain delay, our intended workflow looks like this:

  • Create a characteristic and a service
  • Start advertising
  • Stop advertising after 10 seconds
  • Remove previously added service
  • Create another characteristic and service
  • Start advertising again but with different name
  • Stop after 10 seconds again

However, the receiver device receives the old service with the old name. While we are searching for a solution online, we found that it may be caused by the bluetooth cache of the devices. Currently, we do not know if it is due to the cache of the advertising device or the receiver device. Assuming that we have the ability to refresh the cache within the capabilities of React Native, is it possible to implement a workflow such as the above one?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions