I am writing an OBD Simulator and have come to a stop in my development.
I successfully receive messages from your application (via BLE PLX Kiwi3) to which I respond successfully, so far I have received and responded as follows, but after these exchanges I receive no further messages from the iPhone app.
Receive: PIDs mode 0 (2,1,0,0,0,0,0,0)
Respond: 0x7E8, 0, 7, 4, 65, 0, 8, 16, 128, 16
0x7E8 is my own CANid
0 is for standard frame
7 is the length of the message
4 means "answer"
65 is for mode 1 (41h in decimal)
0 is the PID I respond to
8, 16, 128, 16 the flags for the reponse
Receive OBD Standard (2,1,28,0,0,0,0,0)
Response (Same pattern as above): 0x7E8, 0, 4, 4, 65, 28, 3
Receive MIL Light (2,1,1,0,0,0,0,0)
Response: 0x7E8, 0, 7, 4, 65, 1, 0, 0, 0, 0
Receive PIDs mode 9 (2,9,0,0,0,0,0,0)
Response 0x7E8, 0, 7, 4, 73, 0, 192, 192, 0, 0
I suspect one of my responses is missing some information for your application to continue processing ?
Note, it continues to loop asking for PIDs Mode 0, there are no Dynamic Parameters or OBD records in the iOS application after these sequences.
Can you help
Many thanks
Greg