Replies: 1 comment 1 reply
-
This is a great question and unfortunately, a loaded one since there isn't really a "right answer". The first thing you'll want to understand is truly WHY the peripheral UUID is not a safe id to use. The fact is, it is a temporary ID. Apple specifically changes this because they want to protect the privacy/tracking of a user. If you can read the ID of any device, you can start correlating where a user is with minimal effort. The thinking is that if you "own" the peripherals, you own the firmware, build your IDs into that. With that being said and without knowing the Shelly device myself, you've got a few options you can look into beyond just find devices with a specific service UUID
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm trying to reconnect to a previously connected device (the device is a Shelly Plus 1) on app startup. The idea is to have a way to configure the desired device to use with the app, store the device UUID (which contains the device MAC Address), and connect to this selected device every time the app restarts.
I read the documentation, and I know it says to never use device UUID and instead use service UUID. I'm trying to use known service UUIDs to find all the Shelly devices and then match the device UUID with the one I have previously selected, but the scan results are empty.
Any help it's appreciated. Thanks in advance!
Edit: Missing Info - I'm targeting Android 11 using Shiny 3.3.4, .NET 9.0
Beta Was this translation helpful? Give feedback.
All reactions