-
Hi Folks, Any suggestions on some correlation mechanism between my device and the user-supplied names that will survive invocations? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This answer depends on many things but it outside of plugin. If you have control of the peripheral, you can broadcast something like a mac address or ID on the manufacturer data. Always advertise a custom service UUID that you can use to discover your BRAND of devices. Whatever you do.... do not save the peripheral UUID anywhere in your code. It will change. That should be used as a temporary pointer and nothing more |
Beta Was this translation helpful? Give feedback.
This answer depends on many things but it outside of plugin. If you have control of the peripheral, you can broadcast something like a mac address or ID on the manufacturer data. Always advertise a custom service UUID that you can use to discover your BRAND of devices. Whatever you do.... do not save the peripheral UUID anywhere in your code. It will change. That should be used as a temporary pointer and nothing more