mirror of
https://github.com/SemvdH/OBD2-car-display.git
synced 2025-12-14 19:51:04 +00:00
added bt h file and comments for configuration
This commit is contained in:
24
due_obd2/obd2_bt.h
Normal file
24
due_obd2/obd2_bt.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
BT module settings (AT mode):
|
||||
+NAME=OBD2_BT
|
||||
+VER=8.0.2,FSC-BT836B
|
||||
+MAC=DC0D30000FA9
|
||||
+BAUD=115200
|
||||
+PIN=1189
|
||||
|
||||
AT Commands to connect permanently to the OBD2 module:
|
||||
AT+RESET
|
||||
AT+ORGL (Set to original)
|
||||
AT+ROLE=1 (Set to Master)
|
||||
AT+CMODE=0 (Set connect to a specific address)
|
||||
AT+BIND=dc0d,30,000fa9
|
||||
AT+INIT (Need to connect)
|
||||
AT+PAIR=dc0d,30,000fa9,30 (,30 means 30 second timeout)
|
||||
AT+LINK=dc0d,30,000fa9
|
||||
|
||||
Be sure to disconnect the TX and RX pins from the BT module when programming the arduino.
|
||||
*/
|
||||
#ifndef OBD2_BT_H
|
||||
#define OBD2_BT_H
|
||||
|
||||
#endif // OBD2_BT_H
|
||||
Reference in New Issue
Block a user