-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to iOS 16.6 BLE #556
Comments
Here is one other capture of the log in Xcode: When you see [log] - tx [] - this is code I added to display what is being written to the device the app is connected to. ⚡️Here is one other capture of the log in Xcode: ⚡️ Loading app at capacitor://localhost... Example: For inputs that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the input by using "aria-labelledby". Developers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup. {"s-p":[],"s-rc":[],"ngContext":80,"__zone_symbol__ionBlurfalse":[{"type":"eventTask","state":"scheduled","source":"no.addEventListener:ionBlur","zone":"angular","runCount":0}],"__zone_symbol__ionInputfalse":[{"type":"eventTask","state":"scheduled","source":"no.addEventListener:ionInput","zone":"angular","runCount":0}],"s-cr":{"s-cn":true},"s-sc":"sc-ion-input-ios"} Example: For inputs that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the input by using "aria-labelledby". Developers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup. {"s-p":[],"s-rc":[],"ngContext":80,"__zone_symbol__ionBlurfalse":[{"type":"eventTask","state":"scheduled","source":"no.addEventListener:ionBlur","zone":"angular","runCount":0}],"__zone_symbol__ionInputfalse":[{"type":"eventTask","state":"scheduled","source":"no.addEventListener:ionInput","zone":"angular","runCount":0}],"s-cr":{"s-cn":true},"s-sc":"sc-ion-input-ios"} |
Describe the bug
I updated to iOS 16.6 which was released on 07/24/23.
My app is no longer able to do BLE writes to our device. It is able to perform scans and connect to the device.
This works on previous versions of iOS and on the Android platform.
Expected behavior
To be able to communicate with the device over BLE after connecting to it.
Screenshots
Below is what i captured in Xcode:
To Native -> BluetoothLe connect 34396851
⚡️ BluetoothLe - Connecting to peripheral <CBPeripheral: 0x282610000, identifier = DBC2205A-AB82-D6A5-6D71-4CB132615472, name = Hickory , mtu = 23, state = disconnected>
⚡️ BluetoothLe - Connected to device <CBPeripheral: 0x282610000, identifier = DBC2205A-AB82-D6A5-6D71-4CB132615472, name = Hickory , mtu = 23, state = connected>
⚡️ BluetoothLe - Resolve connect|DBC2205A-AB82-D6A5-6D71-4CB132615472 Successfully connected.
⚡️ BluetoothLe - Connected to peripheral. Waiting for service discovery.
⚡️ BluetoothLe - didDiscoverServices
⚡️ BluetoothLe - didDiscoverCharacteristicsFor 1 2
⚡️ BluetoothLe - didDiscoverCharacteristicsFor 2 2
⚡️ BluetoothLe - Resolve connect Connection successful.
⚡️ TO JS undefined
⚡️ To Native -> BluetoothLe addListener 34396852
⚡️ To Native -> BluetoothLe startNotifications 34396853
⚡️ BluetoothLe - Set notifications true
⚡️ [log] - tx [0x27,0x01,0x01,0x00,0x00,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]
⚡️ BluetoothLe - Resolve setNotifications|832AE7FE-D3C5-11E4-B9D6-1681E6B88EC1|93C7A770-DDFF-11E4-B9D6-1681E6B88EC1 Successfully set notifications.
⚡️ TO JS undefined
⚡️ To Native -> BluetoothLe addListener 34396854
⚡️ To Native -> BluetoothLe startNotifications 34396855
⚡️ BluetoothLe - Set notifications true
⚡️ BluetoothLe - Resolve setNotifications|832AE7FE-D3C5-11E4-B9D6-1681E6B88EC1|C73F5580-91EB-11E5-8994-FEFF819CDC9F Successfully set notifications.
⚡️ TO JS undefined
⚡️ To Native -> BluetoothLe write 34396856
⚡️ BluetoothLe - Resolve write|832AE7FE-D3C5-11E4-B9D6-1681E6B88EC1|737BEA54-D3C5-11E4-B9D6-1681E6B88EC1 Successfully written value.
⚡️ TO JS undefined
⚡️ TO JS {"value":"00 00 00 0b 00 00 00 00 00 00 96 00 00 00 00 00 00 00 00 00 "}
⚡️ TO JS {"value":"00 00 00 0b 00 00 00 00 00 00 96 00 00 00 00 00 00 00 00 00 "}
⚡️ TO JS {"value":"00 00 00 0b 00 00 00 00 00 00 96 00 00 00 00 00 00 00 00 00 "}
⚡️ TO JS {"value":"00 00 00 0b 00 00 00 00 00 00 96 00 00 00 00 00 00 00 00 00 "}
⚡️ [error] - {}
⚡️ To Native -> BluetoothLe removeListener 34396857
⚡️ To Native -> BluetoothLe stopNotifications 34396858
⚡️ BluetoothLe - Set notifications false
⚡️ BluetoothLe - Resolve setNotifications|832AE7FE-D3C5-11E4-B9D6-1681E6B88EC1|C73F5580-91EB-11E5-8994-FEFF819CDC9F Successfully set notifications.
⚡️ TO JS undefined
⚡️ To Native -> BluetoothLe removeListener 34396859
⚡️ To Native -> BluetoothLe stopNotifications 34396860
⚡️ BluetoothLe - Set notifications false
⚡️ [log] - tx [0x2b,0x01,0x01,0x03,0x00,0x04,0x00,0x00,0x00,0x00]
⚡️ BluetoothLe - Resolve setNotifications|832AE7FE-D3C5-11E4-B9D6-1681E6B88EC1|93C7A770-DDFF-11E4-B9D6-1681E6B88EC1 Successfully set notifications.
⚡️ TO JS undefined
⚡️ To Native -> BluetoothLe stopNotifications 34396861
⚡️ BluetoothLe - Set notifications false
⚡️ BluetoothLe - Resolve setNotifications|832AE7FE-D3C5-11E4-B9D6-1681E6B88EC1|C73F5580-91EB-11E5-8994-FEFF819CDC9F Successfully set notifications.
⚡️ TO JS undefined
⚡️ To Native -> BluetoothLe stopNotifications 34396862
⚡️ BluetoothLe - Set notifications false
⚡️ BluetoothLe - Resolve setNotifications|832AE7FE-D3C5-11E4-B9D6-1681E6B88EC1|C73F5580-91EB-11E5-8994-FEFF819CDC9F Successfully set notifications.
⚡️ TO JS undefined
⚡️ To Native -> BluetoothLe write 34396863
⚡️ BluetoothLe - Resolve write|832AE7FE-D3C5-11E4-B9D6-1681E6B88EC1|737BEA54-D3C5-11E4-B9D6-1681E6B88EC1 Successfully written value.
⚡️ TO JS undefined
⚡️ To Native -> BluetoothLe disconnect 34396864
⚡️ BluetoothLe - Disconnecting from peripheral <CBPeripheral: 0x282610000, identifier = DBC2205A-AB82-D6A5-6D71-4CB132615472, name = Hickory , mtu = 23, state = connected>
⚡️ BluetoothLe - Resolve onDisconnected|DBC2205A-AB82-D6A5-6D71-4CB132615472 Disconnected.
⚡️ BluetoothLe - Resolve disconnect|DBC2205A-AB82-D6A5-6D71-4CB132615472 Successfully disconnected.
⚡️ TO JS undefined
⚡️ To Native -> BluetoothLe stopNotifications 34396865
ERROR MESSAGE: {"message":"Not connected to device.","errorMessage":"Not connected to device."}
⚡️ To Native -> BluetoothLe stopNotifications 34396866
⚡️ [error] - {"message":"Not connected to device.","errorMessage":"Not connected to device."}
ERROR MESSAGE: {"message":"Not connected to device.","errorMessage":"Not connected to device."}
⚡️ To Native -> BluetoothLe disconnect 34396867
⚡️ [error] - {"message":"Not connected to device.","errorMessage":"Not connected to device."}
ERROR MESSAGE: {"message":"Device not found. Call 'requestDevice', 'requestLEScan' or 'getDevices' first.","errorMessage":"Device not found. Call 'requestDevice', 'requestLEScan' or 'getDevices' first."}
⚡️ [error] - {"message":"Device not found. Call 'requestDevice', 'requestLEScan' or 'getDevices' first.","errorMessage":"Device not found. Call 'requestDevice', 'requestLEScan' or 'getDevices' first."}
⚡️ To Native -> BluetoothLe disconnect 34396868
ERROR MESSAGE: {"errorMessage":"Device not found. Call 'requestDevice', 'requestLEScan' or 'getDevices' first.","message":"Device not found. Call 'requestDevice', 'requestLEScan' or 'getDevices' first."}
⚡️ [error] - {"errorMessage":"Device not found. Call 'requestDevice', 'requestLEScan' or 'getDevices' first.","message":"Device not found. Call 'requestDevice', 'requestLEScan' or 'getDevices' first."}
Plugin version:
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: