Hi,
In OBD.cpp:
bool COBD::setProtocol(OBD_PROTOCOLS h)
{
char buf[OBD_RECV_BUF_SIZE];
if (h == PROTO_AUTO) {
write("ATSP00\r");
} else {
sprintf(buf, "ATSP%d\r", h);
write(buf);
}
if (receive(buf, 3000) > 0 && strstr(buf, "OK"))
return true;
else
return false ...
Search found 2 matches
- Tue Dec 09, 2014 11:09 pm
- Forum: Freematics Products
- Topic: OBD Library find the right protocol
- Replies: 1
- Views: 6484
- Tue Dec 09, 2014 10:56 pm
- Forum: Freematics Products
- Topic: Permament Instalation - Battery Life
- Replies: 2
- Views: 9616
Permament Instalation - Battery Life
Hi,
When the car key is OFF, the OBD connector keeps the adapter ON all the time.
The best solution to prevent to save battery is open the adapter, disconnect the pin-16 and connect it to a (+) of the cigarette adapter?
Is there a suggestion?
When the car key is OFF, the OBD connector keeps the adapter ON all the time.
The best solution to prevent to save battery is open the adapter, disconnect the pin-16 and connect it to a (+) of the cigarette adapter?
Is there a suggestion?