RVS_BTDriver_OBD_DeviceProtocol
public protocol RVS_BTDriver_OBD_DeviceProtocol : RVS_BTDriver_DeviceProtocol
-
This will be a weak reference to the instance delegate.
Declaration
Swift
var delegate: RVS_BTDriver_OBD_DeviceDelegate! { get set } -
This property is one that the OBD unit uses to return responses to the driver.
Declaration
Swift
var readProperty: RVS_BTDriver_PropertyProtocol! { get } -
This property is one that the driver uses to send commands to the OBD unit.
Declaration
Swift
var writeProperty: RVS_BTDriver_PropertyProtocol! { get } -
REQUIRED: This method will send an AT command to the OBD unit. Responses will arrive in the readProperty.
Declaration
Swift
func sendCommand(_ commandString: String, rawCommand: String)Parameters
commandStringThe String for the command.
rawCommandThe command String, without data or the appended CRLF.
-
REQUIRED: This cancels all I/O, and flushes the transaction queue.
Declaration
Swift
func cancelTransactions()
View on GitHub
RVS_BTDriver_OBD_DeviceProtocol Protocol Reference