How to initialize and read OBD-II data over bluetooth?
Posted: Sat Aug 01, 2015 3:14 pm
Hi, I'm connecting to the data logger over bluetooth and see service ffe0 with charactertistic ffe1 and descriptors 2901 and 2902. I've done some research and it seems to start reading OBD data I need to initialize it with a series of commands such as ATZ etc. Some questions:
1. What do I write ATZ and other commands to? I've tried writing to ffe1 but I get this error
{"serviceUuid":"ffe0","name":"HMSoft","error":"write","message":"Error Domain=CBErrorDomain Code=0 \"Unknown error.\" UserInfo=0x14d76d90 {NSLocalizedDescription=Unknown error.}","address":"A6097B51-1ACA-417C-B6C4-70198F6674BA","characteristicUuid":"ffe1"}
2. Where is there good documentation on how to do this?
Thanks!
1. What do I write ATZ and other commands to? I've tried writing to ffe1 but I get this error
{"serviceUuid":"ffe0","name":"HMSoft","error":"write","message":"Error Domain=CBErrorDomain Code=0 \"Unknown error.\" UserInfo=0x14d76d90 {NSLocalizedDescription=Unknown error.}","address":"A6097B51-1ACA-417C-B6C4-70198F6674BA","characteristicUuid":"ffe1"}
2. Where is there good documentation on how to do this?
Thanks!