Skip to content
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

PIDs: Add support for compute-friendly API (NSUnit and NSNumber) #12

Open
mickeyl opened this issue Mar 18, 2018 · 3 comments
Open

PIDs: Add support for compute-friendly API (NSUnit and NSNumber) #12

mickeyl opened this issue Mar 18, 2018 · 3 comments
Milestone

Comments

@mickeyl
Copy link
Owner

mickeyl commented Mar 18, 2018

Right now, the main command class LTOBD2Command provides the formattedResponse call that returns an NSString for displaying the result of a command.

To allow more sophisticated processing of the returned value (like, putting values into a database, comparing different runs, drawing graphs, etc.), it would be beneficial to add API that returns the actual units and values of a command, e.g.:

+(NSUnit)unit;
-(NSNumber)value;

Subsequently, the implementation of formattedResponse would then be rewritten to utilize these functions leveraging a (customizable?) NSUnitFormatter.

@mickeyl mickeyl added this to the 2.0 milestone Feb 19, 2021
@lygialiem
Copy link

Hi Mickey, is this feature available now?

@mickeyl
Copy link
Owner Author

mickeyl commented Feb 9, 2023

Unfortunately not. What was planned as 2.0 didn't emerge, much because of this. Hence, this library has been put into critical-bugfixes-only mode.

There has been an enormous amount of work done on an async-Swift-first successor library which features many protocols (UDS, KWP, CCP, XCP, HSFZ, …), but unfortunately economic reasons have dictated that this is going to be a proprietary closed source library. A corresponding commercial SDK is planned to be offered in the near future.

@lygialiem
Copy link

Hi Mickey. Thank you for your response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants