rusEFI
The most advanced open source ECU
|
Enumerations | |
enum | bluetooth_module_e { BLUETOOTH_HC_05 , BLUETOOTH_HC_06 , BLUETOOTH_BK3231 , BLUETOOTH_JDY_3x , BLUETOOTH_JDY_31 } |
Functions | |
void | bluetoothStart (bluetooth_module_e moduleType, const char *baudRate, const char *name, const char *pinCode) |
void | bluetoothSoftwareDisconnectNotify (SerialTsChannelBase *tsChannel) |
uint8_t | findBaudIndex (SerialTsChannelBase *tsChannel) |
enum bluetooth_module_e |
Enumerator | |
---|---|
BLUETOOTH_HC_05 | |
BLUETOOTH_HC_06 | |
BLUETOOTH_BK3231 | |
BLUETOOTH_JDY_3x | |
BLUETOOTH_JDY_31 |
Definition at line 21 of file bluetooth.h.
void bluetoothSoftwareDisconnectNotify | ( | SerialTsChannelBase * | tsChannel | ) |
Called by runBinaryProtocolLoop() if a connection disconnect is detected. Bluetooth init code needs to make sure that there's no interference of the BT module and USB-UART (connected to PC)
Definition at line 338 of file bluetooth.cpp.
Referenced by tsProcessOne().
void bluetoothStart | ( | bluetooth_module_e | moduleType, |
const char * | baudRate, | ||
const char * | name, | ||
const char * | pinCode | ||
) |
Start Bluetooth module initialization using UART connection:
Definition at line 275 of file bluetooth.cpp.
Referenced by startTunerStudioConnectivity().
uint8_t findBaudIndex | ( | SerialTsChannelBase * | tsChannel | ) |
Called during bluetooth initialization. Checks to see if module responds to common baud rates returns the index of the found baud
Definition at line 233 of file bluetooth.cpp.
Referenced by runCommands().