Undocumented AT functions

Inquiry and support for Freematics products
jonathan
Posts: 17
Joined: Thu Feb 04, 2016 1:25 pm

Undocumented AT functions

Postby jonathan » Fri Jun 02, 2017 2:02 pm

I've written a python library to control the emulator, but after examining the source for the shipped control program, there are a few things I don't understand, specifically what ATINF0 does, and what ATSET 0101=0x00,0x07,0xff,0x00 (aka pushReadiness()) does.

Found device /dev/ttyUSB1
S> ATE0
R> OK
S> ATINF0
R> OK
S> ATACC1
R> OK
S> ATSET 0101=0x00,0x07,0xff,0x00
R> OK
S> ATCLR DTC
R> OK
S> ATVIN1
R> OK
S> ATSET VIN=44444444444444444
R> OK
S> ATSET 010C=256
R> OK
S> ATGET 010C
R> 010C=04 00
1024

sagar0810
Posts: 6
Joined: Wed Jun 14, 2017 12:30 am

Re: Undocumented AT functions

Postby sagar0810 » Thu Jul 27, 2017 8:42 pm

Hi Jonathan,

Can you share some detail about your library. I have tried to browse about writing script for AT command but not able to figure out proper tutorial. Do you have any reference link where i can read and write script which will execute AT commands on emulator.
I don't have any background on Serial Command Interface.

Thank you.

jonathan
Posts: 17
Joined: Thu Feb 04, 2016 1:25 pm

Re: Undocumented AT functions

Postby jonathan » Thu Aug 10, 2017 3:03 pm

You can view my library here: https://github.com/JonnoFTW/py-obd-ii-emulator

The Emulator AT Commands are listed in full here: http://freematics.com/pages/products/fr ... mmand-set/

sagar0810
Posts: 6
Joined: Wed Jun 14, 2017 12:30 am

Re: Undocumented AT functions

Postby sagar0810 » Tue Sep 05, 2017 9:08 pm

Thanks Jonathan for your response.
I have a query. When we trigger Ignition off from emulator and trigger Ignition On again then dongle are not able to receive Ignition On event. We need to power cycle dongle to trigger Ignition ON event, have you faced similar problem or for you ignition on/off event are working fine without emulator power cycle.

Thanks in advance.

jonathan
Posts: 17
Joined: Thu Feb 04, 2016 1:25 pm

Re: Undocumented AT functions

Postby jonathan » Tue Sep 12, 2017 4:47 pm

Setting ignition off and then on again within the same power cycle of the emulator worked for me. Additionally, the freematics one logger stopped and started logging appropriately.


Return to “Freematics Products”

Who is online

Users browsing this forum: No registered users and 2 guests