0

I am building an app but I wanted to test the device before start coding.

The device that I am using is veepeak BLE OBDII. I can connect to it using other popular apps with no issue e.g. CarScanner.

When using LightBlue app (BLE testing app), I can connect & see write and notify services/chars but when sending any AT command e.g. "ATZ \r" I always get "?" response.

A J
  • 31
  • 1
  • 5
  • Is the `?` representing an unprintable ascii byte value? Does the LightBlue app show you the raw bytes also? – ukBaz Jan 10 '22 at 11:00
  • @ukBaz yes, it can show utf-8 or binary or hex values. I also can send "ATZ \r"using binary or Hex "0x41545A205C72". "?" means the device did not recognize the AT command. – A J Jan 10 '22 at 11:46
  • 1
    Is that hex value correct? Should it not be `0x4154205a` and if you need to put the line ending then add `0x0d` so it would be `0x4154205a0d`? – ukBaz Jan 10 '22 at 12:05
  • 1
    @ukBaz Thank you! It worked. I should have known but I am an idiot. The issue was in the line ending 0x0d. The first part was correct though. It can be written with or without space ATZ 0x41545A or AT Z 0x4154205A – A J Jan 10 '22 at 12:52

0 Answers0