Search found 2 matches

by stasiana2
Sat Mar 26, 2016 2:30 am
Forum: Freematics Products
Topic: What is this "// send terminating byte (ESC)" in the code?
Replies: 1
Views: 6873

What is this "// send terminating byte (ESC)" in the code?

In FreematicsONE.cpp, there is:

// send terminating byte (ESC)
if (version != 10) {
SPI.transfer(0x1B);
digitalWrite(SPI_PIN_CS, HIGH);
} else {
digitalWrite(SPI_PIN_CS, HIGH);
}

What is this terminating byte business and why is it needed only if the OBDUART version is 10?
by stasiana2
Mon Mar 21, 2016 8:50 am
Forum: Freematics Products
Topic: Anyone find the SoftwareSerial to the BLE unreliable?
Replies: 1
Views: 6974

Anyone find the SoftwareSerial to the BLE unreliable?

BLE consistently loses characters for me. I initialize it very simply:

Code: Select all

#include "SoftwareSerial.h"
static SoftwareSerial ble(A2, A3);

ble.begin(9600);


Anyone have a more reliable way to use BLE on this Freematics logger? Anyone try AltSoftSerial and have better luck?