Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NRF.updateServices() needs fixing for ESP32 #2292

Closed
MaBecker opened this issue Nov 21, 2022 · 3 comments
Closed

NRF.updateServices() needs fixing for ESP32 #2292

MaBecker opened this issue Nov 21, 2022 · 3 comments
Labels
ESP32 This is only a problem on ESP32-based devices

Comments

@MaBecker
Copy link
Contributor

NRF.setServices({
  0xBCDE : {
    0xABCD : {
      value : "Hello",
      maxLen : 20,
      notify: true
    }
  }
});


NRF.updateServices({
  0xBCDE : {
    0xABCD : {
      value : "World",
      indicate: true
    }
  }
});

/*
FIXME
Uncaught Error: Unable to find service with UUID 0xabcd
 at line 8 col 2
});
 ^

*/
@MaBecker MaBecker added the ESP32 This is only a problem on ESP32-based devices label Nov 21, 2022
@gfwilliams
Copy link
Member

Thanks! I'm not 100% sure if this actually worked before - I don't think it's one of the things I tested.

@MaBecker
Copy link
Contributor Author

It did not work before

@MaBecker
Copy link
Contributor Author

see #1730

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ESP32 This is only a problem on ESP32-based devices
Projects
None yet
Development

No branches or pull requests

2 participants