h2zero / NimBLE-Arduino

A fork of the NimBLE library structured for compilation with Arduino, for use with ESP32, nRF5x.
https://h2zero.github.io/NimBLE-Arduino/
Apache License 2.0
672 stars 138 forks source link

Set manufacturer data directly instead of converting from string #529

Closed eighty2fifty1 closed 1 year ago

eighty2fifty1 commented 1 year ago

For my purposes, I found it useful to be able to directly input integers into manufacturer data, so I created this PR to allow me to do so. It works perfectly on my application (ESP32 DEVKIT V1).

h2zero commented 1 year ago

Thank you for this, I will merge it soon.

h2zero commented 1 year ago

@eighty2fifty1 I made some minor changes if you'd like to comment/test before merge?