iPhone boiler plate or open source elm327 or tty term

Disassembly, Reassembly, Tools and devleopment. Going deep with Hardware and Software.
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

iPhone boiler plate or open source elm327 or tty term

Post by 04colyZQ8 »

Looking for some way to connect to wifi elm327 using iPhone to send my own custom commands, ideally I could write it in Java C or python. Looks like iPhone uses swift, cocoa not familiar with those languages.

Any recommendations?

-Jamie
ironduke
Posts: 583
Joined: Thu Feb 13, 2020 11:32 pm
cars: Mainly GM trucks, a Cruze and an Equinox for dailys..

Re: iPhone boiler plate or open source elm327 or tty term

Post by ironduke »

This is not the correct way to do it I imagine, but...
I created a web page that the esp hosts and simply created a bookmark do it so it shows up on my Iphone like an app.. It's just for my garage door htough and it is password protected but the esp holds all the code.. Might not be what you had in mind though..
User avatar
Tazzi
Posts: 3429
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: iPhone boiler plate or open source elm327 or tty term

Post by Tazzi »

Not really elm related. But the template I built which works on iOS and Android using MAUI with the ODBX could be a solution?

All the hard work for dealing with the low level communication to the scantool is handled already. Just gotta set filters and send/receive data as you see fit.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: iPhone boiler plate or open source elm327 or tty term

Post by 04colyZQ8 »

Actually yes! That should work does the obdx communicate via wifi?

I turned some obdx code into elm code before it was really simple!
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: iPhone boiler plate or open source elm327 or tty term

Post by 04colyZQ8 »

ironduke wrote:This is not the correct way to do it I imagine, but...
I created a web page that the esp hosts and simply created a bookmark do it so it shows up on my Iphone like an app.. It's just for my garage door htough and it is password protected but the esp holds all the code.. Might not be what you had in mind though..
What language is that in then? Java script?
User avatar
Tazzi
Posts: 3429
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: iPhone boiler plate or open source elm327 or tty term

Post by Tazzi »

04colyZQ8 wrote:Actually yes! That should work does the obdx communicate via wifi?

I turned some obdx code into elm code before it was really simple!
Yes, our example code includes communication via:
-On Android, USB, BLE, Classic Bluetooth and WIFI
-On iOS, BLE and WIFI

The WIFI communication on iOS needs more developers to test. I have 4 other developers which can use the WIFI option perfectly fine but I still seem to be the only one that cannot access WIFI due to some weird wifi routing issue.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: iPhone boiler plate or open source elm327 or tty term

Post by 04colyZQ8 »

Ok, would it be possible to access some of your code so I can modify it to work with a elm 327??

Or would you be willing help me write my own low level code?

I would assume it’s done in swift, coco, objective C? I don’t know either of those
or how to compile it.

I know C quite well especially low level. Love function oriented programming

I know a Java, but didn’t get good marks do not like object oriented programming

I know python decently

I have a very basic knowledge of C#
User avatar
Tazzi
Posts: 3429
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: iPhone boiler plate or open source elm327 or tty term

Post by Tazzi »

04colyZQ8 wrote:Ok, would it be possible to access some of your code so I can modify it to work with a elm 327??

Or would you be willing help me write my own low level code?

I would assume it’s done in swift, coco, objective C? I don’t know either of those
or how to compile it.

I know C quite well especially low level. Love function oriented programming

I know a Java, but didn’t get good marks do not like object oriented programming

I know python decently

I have a very basic knowledge of C#
All the coding I have done is using the OBDX Pros "DVI" protocol which is all byte based.
Basically the purpose of the template was to have all the hard coding pre-done, so that developers just had to simply use the premade functions and create their applications. Typically I find young/early developers get stuck at the stage of trying to make basic functions t read/write data reliably, this takes this complexity aware by providing proven functions which I personally use to flash entire computers.

MAUI is microsofts cross platform system which allows compiling for both Android and iOS using C# code. Hence you do not need to learn Swift or Java, you can just use MAUI and develop for both at the same time.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: iPhone boiler plate or open source elm327 or tty term

Post by 04colyZQ8 »

Sweet!! Love that to be able to write it for my wife’s phone as well!
04colyZQ8
Posts: 380
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: iPhone boiler plate or open source elm327 or tty term

Post by 04colyZQ8 »

Tazzi wrote:
04colyZQ8 wrote:Ok, would it be possible to access some of your code so I can modify it to work with a elm 327??

Or would you be willing help me write my own low level code?

I would assume it’s done in swift, coco, objective C? I don’t know either of those
or how to compile it.

I know C quite well especially low level. Love function oriented programming

I know a Java, but didn’t get good marks do not like object oriented programming

I know python decently

I have a very basic knowledge of C#
All the coding I have done is using the OBDX Pros "DVI" protocol which is all byte based.
Basically the purpose of the template was to have all the hard coding pre-done, so that developers just had to simply use the premade functions and create their applications. Typically I find young/early developers get stuck at the stage of trying to make basic functions t read/write data reliably, this takes this complexity aware by providing proven functions which I personally use to flash entire computers.

MAUI is microsofts cross platform system which allows compiling for both Android and iOS using C# code. Hence you do not need to learn Swift or Java, you can just use MAUI and develop for both at the same time.
What do you mean by byte baised?

The python I seen before was just a few
Commands difference:)

Are you still working on your code or is it pretty much finished?

Is there a library in C# for connecting over wifi? Is this a server client relationship?

In C# and python we use serial imports and just so something
Simple like
open.elm
Write.elm
Read.elm

:)
Post Reply