-
Notifications
You must be signed in to change notification settings - Fork 39
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
Is there a way to get raw data from request #19
Comments
Hi, i have the same trouble. Could you help if you have found any solution ? |
Hi there, not yet… :’(
… Em 17 de jul de 2018, à(s) 12:12, Skriponj ***@***.***> escreveu:
Hi, i have the same trouble. Did you find any solution ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#19 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AhXMrb7-u3qa_FTDXuqf-e-NlJi6HXcwks5uHf7wgaJpZM4UyVpR>.
|
Hi again, if this trouble is still actual for you, then maybe it can help. I found some solution - you can use buildSupportedSensorList(data : Data, pidGroup : Int) -> Bool method. But for that it have to be marked as public or copied to another place from InitScanerOperation.swift file |
I’ll try that! Thanks a lot, pal!!
Best regards,
Cleverson
Em qua, 18 de jul de 2018 às 13:02, Skriponj <[email protected]>
escreveu:
… Hi again, if this trouble is still actual for you, then maybe it can help.
I found some solution - you can use buildSupportedSensorList(data : Data,
pidGroup : Int) -> Bool method. But for that it have to be marked as public
or copied to another place from InitScanerOperation.swift file
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhXMrc-nIGSBn-krMVupzo3paaQ9hvvxks5uH1wmgaJpZM4UyVpR>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am trying to get the list of available pids by requesting pid 0x00. However, there is no property of Mode01Descriptor or Response that provides the raw data. Is it possible to access raw data from a request using this library? If not, how can I access the list of available pids?
Thanks
let command = Command.Mode01.pid(number: 00)
obd.request(command: command) { [weak self] (descriptor) in
OperationQueue.main.addOperation {
if let response = descriptor?.response {
// Parse response
}
}
}
The text was updated successfully, but these errors were encountered: