You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PIDs: Add support for compute-friendly API (NSUnit and NSNumber) #12
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.
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.
Activity
lygialiem commentedon Feb 9, 2023
Hi Mickey, is this feature available now?
mickeyl commentedon 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 commentedon Feb 9, 2023
Hi Mickey. Thank you for your response.