Open danr777 opened 2 years ago
Can you show the console output?
I also have an LELINK and this works out-of-the-box with the iOS demo. Here is the relevant console output from the point of receiving the first BLE advertisement:
-[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x280bdc420, identifier = 9F4E3B80-5CA4-75A8-5E8F-DD9E24BD7ECB, name = OBDBLE, mtu = 0, state = connecting> (RSSI=-79) w/ advertisement {
kCBAdvDataIsConnectable = 1;
kCBAdvDataLocalName = OBDBLE;
kCBAdvDataRxPrimaryPHY = 129;
kCBAdvDataRxSecondaryPHY = 0;
kCBAdvDataTimestamp = "658856223.379717";
kCBAdvDataTxPowerLevel = 0;
}
-[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x280bdc420, identifier = 9F4E3B80-5CA4-75A8-5E8F-DD9E24BD7ECB, name = OBDBLE, mtu = 23, state = connected>
-[LTBTLESerialTransporter peripheral:didDiscoverCharacteristicsForService:error:] (LTBTLESerialTransporter.m:261) Did see notify characteristic
-[LTBTLESerialTransporter peripheral:didDiscoverCharacteristicsForService:error:] (LTBTLESerialTransporter.m:270) Did see write characteristic
2021-11-17 16:37:04.165129+0100 iOS_Demo[13034:6206782] Unhandeld adapter state OBD2AdapterStateInitializing
2021-11-17 16:37:04.167930+0100 iOS_Demo[13034:6206782] Unhandeld adapter state OBD2AdapterStateInitializing
2021-11-17 16:37:04.168012+0100 iOS_Demo[13034:6206782] Unhandeld adapter state OBD2AdapterStateInitializing
-[LTOBD2AdapterELM327 receivedData:receiveBuffer:] (LTOBD2AdapterELM327.m:154) Received data: ATD\r
-[LTOBD2AdapterELM327 receivedData:receiveBuffer:] (LTOBD2AdapterELM327.m:154) Received data: \rOK\r\r>
-[LTOBD2AdapterInternalCommand didCompleteResponse:protocol:protocolType:] (LTOBD2Adapter.m:58) <LTOBD2Command:0x281ff00f0 = 'ATD'> complete [1008 ms] => 'ATD - OK'
-[LTOBD2AdapterELM327 receivedData:receiveBuffer:] (LTOBD2AdapterELM327.m:154) Received data: ATZ\r
-[LTOBD2AdapterELM327 receivedData:receiveBuffer:] (LTOBD2AdapterELM327.m:154) Received data: \r\rELM327 v1.5\r\r>
Thank you so much for responding to me!!
-[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b8b00, identifier = 08772BDF-2272-6C47-9CA9-FA1C5E2E91AF, name = OBDBLE, mtu = 0, state = disconnected> (RSSI=-61) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataLocalName = OBDBLE; kCBAdvDataManufacturerData = {length = 9, bytes = 0x4d41437cec7969d139}; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataServiceUUIDs = ( FFE0 ); kCBAdvDataTimestamp = "658857009.179781"; kCBAdvDataTxPowerLevel = 0; }
I did also try altering this line with the UUID It showed for the LE link as well:
NSMutableArray<CBUUID> ma = [NSMutableArray array]; [@[ @"FFF0", @"FFE0", @"BEEF" , @"E7810A71-73AE-499D-8C15-FAA9AEF0C3F2"] enumerateObjectsUsingBlock:^(NSString _Nonnull uuid, NSUInteger idx, BOOL _Nonnull stop) { [ma addObject:[CBUUID UUIDWithString:uuid]]; }]; _serviceUUIDs = [NSArray arrayWithArray:ma];
But as requested here's the whole output (I do have alot of BLE devices around me :))
-[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b8b00, identifier = 08772BDF-2272-6C47-9CA9-FA1C5E2E91AF, name = OBDBLE, mtu = 0, state = disconnected> (RSSI=-61) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataLocalName = OBDBLE; kCBAdvDataManufacturerData = {length = 9, bytes = 0x4d41437cec7969d139}; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataServiceUUIDs = ( FFE0 ); kCBAdvDataTimestamp = "658857009.179781"; kCBAdvDataTxPowerLevel = 0; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b8bb0, identifier = 0C636421-F1CF-AEB9-E384-D617D6BBD6E9, name = TS9100 series, mtu = 0, state = disconnected> (RSSI=-88) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataLocalName = "TS9100 seri"; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataServiceUUIDs = ( "00000000-0001-0001-FFFF-D8492FFFA822" ); kCBAdvDataTimestamp = "658857009.186622"; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b8c60, identifier = F66E2CB3-B28E-C962-2B7B-18A13443832C, name = Daniel’s iPad, mtu = 0, state = disconnected> (RSSI=-61) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataTimestamp = "658857009.194998"; kCBAdvDataTxPowerLevel = 12; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b8840, identifier = 78EA01C3-01F8-ABAD-05C1-02EB48CAF574, name = (null), mtu = 0, state = disconnected> (RSSI=-69) w/ advertisement { kCBAdvDataIsConnectable = 0; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataTimestamp = "658857009.198007"; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b8dc0, identifier = B433094E-E785-58B0-A868-591A53D1F0FD, name = (null), mtu = 0, state = disconnected> (RSSI=-99) w/ advertisement { kCBAdvDataIsConnectable = 0; kCBAdvDataRxPrimaryPHY = 1; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataServiceData = { FEF1 = {length = 27, bytes = 0x52876a6c 5b79d441 f9a61452 66bd7fae ... 1b9d2b75 87c3217e }; }; kCBAdvDataTimestamp = "658857009.211091"; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b8e70, identifier = 3DA3DB2B-57D4-CA8C-8573-5CF83AC4E5E8, name = Daniel’s Apple Watch, mtu = 0, state = disconnected> (RSSI=-93) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataTimestamp = "658857009.220183"; kCBAdvDataTxPowerLevel = 24; } -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807b8e70, identifier = 3DA3DB2B-57D4-CA8C-8573-5CF83AC4E5E8, name = Daniel’s Apple Watch, mtu = 293, state = connected> -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:237) Peripheral does not offer requested services -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807bcc60, identifier = B72D1A87-60F2-C77F-D1B8-EF77CDF78F85, name = Dan’s MacBook Pro (2), mtu = 0, state = disconnected> (RSSI=-71) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataTimestamp = "658857009.2553951"; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807bd080, identifier = 88021477-C42F-2D51-B5BC-1880368F3A14, name = Ultimate Ears Speaker, mtu = 0, state = disconnected> (RSSI=-66) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataManufacturerData = {length = 34, bytes = 0x0301010a 64008000 00000000 00000301 ... 0003ec81 93039976 }; kCBAdvDataRxPrimaryPHY = 1; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataServiceUUIDs = ( FE61 ); kCBAdvDataTimestamp = "658857009.269447"; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b02c0, identifier = 79D5EF33-F5E2-AE47-6483-BD4682D5FD73, name = [TV] Samsung Q60 Series (65), mtu = 0, state = disconnected> (RSSI=-78) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataLocalName = "[TV] Samsung Q60 Series (65)"; kCBAdvDataManufacturerData = {length = 26, bytes = 0x75004204 01017eb8 bc5b59de 58babc5b ... 57010000 00000000 }; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataTimestamp = "658857009.298352"; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b00b0, identifier = 8C89B52E-AFC0-63EB-2D95-D5B627875B54, name = OMVR-V190, mtu = 0, state = disconnected> (RSSI=-65) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataLocalName = "OMVR-V190"; kCBAdvDataManufacturerData = {length = 3, bytes = 0x8e0501}; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataServiceUUIDs = ( "Device Information", "81265652-3692-AE93-E711-270F223C83B3" ); kCBAdvDataTimestamp = "658857009.395341"; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807ac000, identifier = 8B545EB8-AA3F-0452-EBB4-61ACCEDC7CC9, name = WPS323112000152, mtu = 0, state = disconnected> (RSSI=-64) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataLocalName = WPS323112000152; kCBAdvDataManufacturerData = {length = 3, bytes = 0xab0235}; kCBAdvDataRxPrimaryPHY = 1; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataServiceUUIDs = ( FFA0 ); kCBAdvDataTimestamp = "658857009.40749"; } -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807b8b00, identifier = 08772BDF-2272-6C47-9CA9-FA1C5E2E91AF, name = OBDBLE, mtu = 23, state = connected> -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b8e70, identifier = 2D3029C0-966A-7C46-90F2-431A5E507FFA, name = (null), mtu = 0, state = disconnected> (RSSI=-65) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataRxPrimaryPHY = 1; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataTimestamp = "658857009.500369"; kCBAdvDataTxPowerLevel = 24; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b02c0, identifier = 79D5EF33-F5E2-AE47-6483-BD4682D5FD73, name = [TV] Samsung Q60 Series (65), mtu = 0, state = connecting> (RSSI=-79) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataLocalName = "[TV] Samsung Q60 Series (65)"; kCBAdvDataManufacturerData = {length = 26, bytes = 0x75004204 01207e19 0f000201 41000000 ... 00000000 00000000 }; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataTimestamp = "658857009.635128"; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b02c0, identifier = 79D5EF33-F5E2-AE47-6483-BD4682D5FD73, name = [TV] Samsung Q60 Series (65), mtu = 0, state = connecting> (RSSI=-78) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataLocalName = "[TV] Samsung Q60 Series (65)"; kCBAdvDataManufacturerData = {length = 26, bytes = 0x75004204 01017eb8 bc5b59de 58babc5b ... 57010000 00000000 }; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataTimestamp = "658857009.6404819"; } -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807b8bb0, identifier = 0C636421-F1CF-AEB9-E384-D617D6BBD6E9, name = TS9100 series, mtu = 23, state = connected> -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b8bb0, identifier = 0C636421-F1CF-AEB9-E384-D617D6BBD6E9, name = TS9100 series, mtu = 23, state = connected> (RSSI=-87) w/ advertisement { kCBAdvDataIsConnectable = 0; kCBAdvDataLocalName = "TS9100 seri"; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataServiceUUIDs = ( "00000000-0001-0001-FFFF-D8492FFFA822" ); kCBAdvDataTimestamp = "658857009.684831"; } -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807b8bb0, identifier = 0C636421-F1CF-AEB9-E384-D617D6BBD6E9, name = TS9100 series, mtu = 23, state = connected> -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b4000, identifier = E8BA412E-A007-C323-9F97-077645986F33, name = (null), mtu = 0, state = disconnected> (RSSI=-86) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataRxPrimaryPHY = 129; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataTimestamp = "658857009.816667"; kCBAdvDataTxPowerLevel = 12; } -[LTBTLESerialTransporter centralManager:didDiscoverPeripheral:advertisementData:RSSI:] (LTBTLESerialTransporter.m:179) DISCOVER <CBPeripheral: 0x2807b0420, identifier = 3D6982AA-556B-01B7-B16E-52CA014364E3, name = Kuna, mtu = 0, state = disconnected> (RSSI=-98) w/ advertisement { kCBAdvDataIsConnectable = 1; kCBAdvDataLocalName = Kuna; kCBAdvDataRxPrimaryPHY = 1; kCBAdvDataRxSecondaryPHY = 0; kCBAdvDataServiceUUIDs = ( FEF1 ); kCBAdvDataTimestamp = "658857009.89191"; kCBAdvDataTxPowerLevel = 8; } -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807ac000, identifier = 8B545EB8-AA3F-0452-EBB4-61ACCEDC7CC9, name = WPS323112000152, mtu = 23, state = connected> -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807b89a0, identifier = 532FEB47-D9D5-C7B4-862F-ADBC599BD577, name = MOBIUS, mtu = 517, state = connected> -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807b89a0, identifier = 532FEB47-D9D5-C7B4-862F-ADBC599BD577, name = MOBIUS, mtu = 517, state = connected>: ( ) -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807b8c60, identifier = F66E2CB3-B28E-C962-2B7B-18A13443832C, name = Daniel’s iPad, mtu = 23, state = connected> -[LTBTLESerialTransporter peripheral:didDiscoverCharacteristicsForService:error:] (LTBTLESerialTransporter.m:261) Did see notify characteristic -[LTBTLESerialTransporter peripheral:didDiscoverCharacteristicsForService:error:] (LTBTLESerialTransporter.m:270) Did see write characteristic -[LTBTLESerialTransporter peripheral:didDiscoverCharacteristicsForService:error:] (LTBTLESerialTransporter.m:270) Did see write characteristic 2021-11-17 10:50:10.169369-0500 iOS_Demo[49597:16709524] Unhandeld adapter state OBD2AdapterStateInitializing 2021-11-17 10:50:10.169462-0500 iOS_Demo[49597:16709524] Unhandeld adapter state OBD2AdapterStateInitializing 2021-11-17 10:50:10.169504-0500 iOS_Demo[49597:16709524] Unhandeld adapter state OBD2AdapterStateInitializing -[LTBTLESerialTransporter peripheral:didWriteValueForCharacteristic:error:] (LTBTLESerialTransporter.m:306) Could not write to characteristic <CBCharacteristic: 0x2814b0900, UUID = FFEE, properties = 0xA, value = (null), notifying = NO>: Error Domain=CBATTErrorDomain Code=13 "The value's length is invalid." UserInfo={NSLocalizedDescription=The value's length is invalid.} -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807bd080, identifier = 88021477-C42F-2D51-B5BC-1880368F3A14, name = Ultimate Ears Speaker, mtu = 23, state = connected> -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807ac000, identifier = 8B545EB8-AA3F-0452-EBB4-61ACCEDC7CC9, name = WPS323112000152, mtu = 185, state = connected>: ( ) -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807b0160, identifier = 5D9B7A4B-7464-C5A6-1EF0-D4D0E38007D0, name = iPad, mtu = 23, state = connected> -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807b8e70, identifier = 2D3029C0-966A-7C46-90F2-431A5E507FFA, name = (null), mtu = 23, state = connected> -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807bd080, identifier = 88021477-C42F-2D51-B5BC-1880368F3A14, name = Ultimate Ears Speaker, mtu = 517, state = connected>: ( ) -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807b8c60, identifier = F66E2CB3-B28E-C962-2B7B-18A13443832C, name = Daniel’s iPad, mtu = 527, state = connected>: ( ) -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807b8bb0, identifier = 0C636421-F1CF-AEB9-E384-D617D6BBD6E9, name = TS9100 series, mtu = 160, state = connected>: ( ) -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807b8bb0, identifier = 0C636421-F1CF-AEB9-E384-D617D6BBD6E9, name = TS9100 series, mtu = 160, state = connected>: ( ) -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807bcc60, identifier = B72D1A87-60F2-C77F-D1B8-EF77CDF78F85, name = Dan’s MacBook Pro (2), mtu = 23, state = connected> -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807b00b0, identifier = 8C89B52E-AFC0-63EB-2D95-D5B627875B54, name = OMVR-V190, mtu = 23, state = connected> -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807b88f0, identifier = ECD59FAC-3240-B243-39C1-D6F19393394D, name = MOBIUS, mtu = 23, state = connected> -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807b8e70, identifier = 2D3029C0-966A-7C46-90F2-431A5E507FFA, name = Apple Watch, mtu = 527, state = connected>: ( ) -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807b0160, identifier = 5D9B7A4B-7464-C5A6-1EF0-D4D0E38007D0, name = iPad, mtu = 185, state = connected>: ( ) -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807b00b0, identifier = 8C89B52E-AFC0-63EB-2D95-D5B627875B54, name = OMVR-V190, mtu = 23, state = connected>: ( ) -[LTBTLESerialTransporter centralManager:didConnectPeripheral:] (LTBTLESerialTransporter.m:187) CONNECT <CBPeripheral: 0x2807ba5d0, identifier = 0C37B868-8F83-013E-D5F5-ED73425734DC, name = Apple TV, mtu = 23, state = connected> -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807bcc60, identifier = B72D1A87-60F2-C77F-D1B8-EF77CDF78F85, name = Dan’s MacBook Pro (2), mtu = 527, state = connected>: ( ) -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807b88f0, identifier = ECD59FAC-3240-B243-39C1-D6F19393394D, name = MOBIUS, mtu = 247, state = connected>: ( ) -[LTBTLESerialTransporter peripheral:didDiscoverServices:] (LTBTLESerialTransporter.m:225) [IGNORING] SERVICES <CBPeripheral: 0x2807ba5d0, identifier = 0C37B868-8F83-013E-D5F5-ED73425734DC, name = Apple TV, mtu = 158, state = connected>: ( ) -[LTBTLESerialTransporter centralManager:didDisconnectPeripheral:error:] (LTBTLESerialTransporter.m:198) Did disconnect <CBPeripheral: 0x2807b8e70, identifier = 2D3029C0-966A-7C46-90F2-431A5E507FFA, name = Apple Watch, mtu = 23, state = disconnected>: Error Domain=CBErrorDomain Code=6 "The connection has timed out unexpectedly." UserInfo={NSLocalizedDescription=The connection has timed out unexpectedly.} -[LTBTLESerialTransporter centralManager:didDisconnectPeripheral:error:] (LTBTLESerialTransporter.m:198) Did disconnect <CBPeripheral: 0x2807ac000, identifier = 8B545EB8-AA3F-0452-EBB4-61ACCEDC7CC9, name = WPS323112000152, mtu = 23, state = disconnected>: Error Domain=CBErrorDomain Code=7 "The specified device has disconnected from us." UserInfo={NSLocalizedDescription=The specified device has disconnected from us.}
@mickeyl Do you think they may have changed something with the latest model (I ordered it from Amazon), some sort of propietory way to make it start talking?
The lelink app itself works fine with it.. maybe ill try another one on your list
Also I am on Xcode 13.1 and on ios15 testing from an iphone 12 pro max
I ended up getting a Vgate device and that worked after altering the Service IDs a bit...
What do you have set for the LELINK?
I have tried:
[@[ @"FFE0", @"FFE1", @"FFEE" , @"D1D634B9-DB8E-5D39-F7BE-07E5D6F69579"] enumerateObjectsUsingBlock:^(NSString _Nonnull uuid, NSUInteger idx, BOOL _Nonnull stop) { [ma addObject:[CBUUID UUIDWithString:uuid]]; }];
using a ble tool: i determined these, but the LELINK not connecting, stuck in initializing:;
Hello, I have tried adjusting the UUID defined in the code to match the LELink device to no avail..
It sees the device for sure but is stuck in the "OBD2AdapterStateInitializing" state
I also adjusted the switch statement to handle the Initializing state to fall through, or also to act like it's connected... but I never get any data to the demo app
Any ideas for help? :) THANK YOU IN ADVANCE