-
Hello, potentially a silly question but how do I get the services from the peripheral using the |
Beta Was this translation helpful? Give feedback.
Answered by
carillem
Aug 28, 2024
Replies: 1 comment 4 replies
-
Do you want to put a pull request in and i can have a look. Usually when a device is 'discovered' then
iOS will expose a peripherial with the services already populated. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Reedyuk, I figured out what I was missing after some fiddling last night. What I was doing was storing the connected device information immediately after connection and wasn't waiting for the
discoverServices
to be completed. So what I did was:DeviceEvent
with a new data class:didDiscoverServices
function inDelegate
to pass in thebluetoothPeripheral
:ViewModel
, added a new case for the new event: