May 31, 2019 at 10:09 pm #65404
I have a use case where I will need to connect two or more different iPads each to a different FloBLE Plus.
I’ve noticed that when I run the FlomioSDK_Example app on one iPad and the Flomio NfcActions app from the App Store on another iPad, only one of them can see the FloBLE Plus at a time (if I force quit one of the apps, the other app immediately sees the FloBLE Plus when it couldn’t before).
In an attempt to solve this, in the sample app I tried setting the configuration’s
specificDeviceUidto an Id that does NOT match my FloBLE Plus. I expected that under this condition, the sample app would no longer connect to my FloBLE Plus (this seems to be true) and the NfcActions app would connect to the FloBLE Plus without my needing to quit the sample app (this seems to NOT be true).
Is there a way that I can have the SDK only connect to a specific FloBLE device, so that it does not interfere with apps on other iPads trying to connect to other FloBLE devices?June 4, 2019 at 10:30 pm #65415
Ok, it seems that if I set
defaultConfiguration.powerOperation = .bluetoothConnectionControlto prevent auto-reconnection, and call
stopDevicewhen the device is connected, I can prevent from connecting (or at least, remaining connected) to a device.
However, this feels like a workaround. Is there a way to filter out what devices become connected in the first place? It seems that setting
defaultConfiguration.specificDeviceUidcan prevent receiving messages from devices that don’t match, but does not prevent connecting to the devices (and thereby tying them up so other iPads cannot connect).June 10, 2019 at 9:47 am #65438
Hi Linda, we don’t support the same FloBLE device connecting to more than one Host device. This may be something we can help with once we understand your use case a bit better. You will need to purchase Flomio Service hours though since this seems to be an edge case.
RichardJune 17, 2019 at 4:20 pm #65462
Thanks for the response. Just to clarify – I don’t want to connect the same FloBLE device to more than one Host device. I want to choose which Host device a FloBLE connects to, and prevent it from connecting to other Host devices that might be present. Would this also fall under Flomio Service edge case? Just making sure.
You must be logged in to reply to this topic.