Connects to a Device
.
Instance method of TerraRT
func connectDevice(_ device: Device, _ connectionCallback: @escaping(Bool) -> Void)
device
: Device -> A device object returned from `startBluetoothScanconnectionCallback
: @escaping(Bool) -> Void -> A completion function called when the connection is completed.