Skip to content

Commit ea34485

Browse files
sebromeroEmilio Pavia
authored andcommitted
Disable Nano 33 IoT Integration
1 parent b1e9ac7 commit ea34485

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ScienceJournal/Metadata/MetadataManager.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,11 +1731,11 @@ public class MetadataManager {
17311731
let sensor = BluetoothSensor(sensorInterface: interface,
17321732
sensorTimer: sensorController.unifiedSensorTimer)
17331733
sensorController.addOrUpdateBluetoothSensor(sensor)
1734-
} else if let interface = Nano33IoTServiceInterface.sensor(for: spec) {
1735-
let sensor = BluetoothSensor(sensorInterface: interface,
1736-
sensorTimer: sensorController.unifiedSensorTimer)
1737-
sensorController.addOrUpdateBluetoothSensor(sensor)
1738-
} else {
1734+
// } else if let interface = Nano33IoTServiceInterface.sensor(for: spec) {
1735+
// let sensor = BluetoothSensor(sensorInterface: interface,
1736+
// sensorTimer: sensorController.unifiedSensorTimer)
1737+
// sensorController.addOrUpdateBluetoothSensor(sensor)
1738+
} else {
17391739
// We could not restore existing sensor. Delete it from disk.
17401740
deleteBluetoothSensor(withID: spec.gadgetInfo.address,
17411741
providerID: spec.gadgetInfo.providerID)

ScienceJournal/Sensors/SensorController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ open class SensorController {
6565

6666
/// Supported BLE Services.
6767
var bleServices: [BLEServiceInterface] {
68-
return [MKRWiFi1010ServiceInterface(), Nano33BLESenseServiceInterface(), Nano33IoTServiceInterface()]
68+
return [MKRWiFi1010ServiceInterface(), Nano33BLESenseServiceInterface()] //Nano33IoTServiceInterface()
6969
}
7070

7171
/// Known bluetooth sensors keyed by service ID.

0 commit comments

Comments
 (0)