Skip to content

Commit

Permalink
organize bric device definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
lz1asl committed Jan 26, 2024
1 parent c4855be commit f7388b2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import android.os.Build;

import com.astoev.cave.survey.service.bluetooth.device.AbstractBluetoothDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.bric4.Bric4BluetoothLEDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.bric4.Bric4ErrorCode;
import com.astoev.cave.survey.service.bluetooth.device.ble.bric.Bric4BluetoothLEDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.bric.Bric4ErrorCode;

import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.astoev.cave.survey.test.service.bluetooth.ledevice;

import com.astoev.cave.survey.service.bluetooth.device.AbstractBluetoothDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.Bric5BluetoothLEDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.bric.Bric5BluetoothLEDevice;

public class Bric5LeDeviceProtocolTest extends Bric4LeDeviceProtocolTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
import com.astoev.cave.survey.service.bluetooth.device.AbstractBluetoothDevice;
import com.astoev.cave.survey.service.bluetooth.device.DiscoveredBluetoothDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.AbstractBluetoothLEDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.Bric5BluetoothLEDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.DistoXBleDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.LeicaDistoBluetoothLEDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.StanleyBluetoothLeDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.bric4.Bric4BluetoothLEDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.bric.Bric4BluetoothLEDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.bric.Bric5BluetoothLEDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.mileseey.HerschLEM50BluetoothLeDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.mileseey.MileseeyP7BluetoothLeDevice;
import com.astoev.cave.survey.service.bluetooth.device.ble.mileseey.MileseeyT7BluetoothLeDevice;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
package com.astoev.cave.survey.service.bluetooth.device.ble.bric4;

import static java.nio.ByteOrder.LITTLE_ENDIAN;
package com.astoev.cave.survey.service.bluetooth.device.ble.bric;

import static java.nio.ByteOrder.LITTLE_ENDIAN;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.astoev.cave.survey.service.bluetooth.device.ble.bric4;
package com.astoev.cave.survey.service.bluetooth.device.ble.bric;

/**
* https://www.bricsurvey.com/s/BRIC4-Bluetooth-Protocol-revF.pdf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
package com.astoev.cave.survey.service.bluetooth.device.ble;

import com.astoev.cave.survey.service.bluetooth.device.ble.bric4.Bric4BluetoothLEDevice;
package com.astoev.cave.survey.service.bluetooth.device.ble.bric;

/**
* BRIC5, same protocol as BRIC4 except the Bluetooth name.
Expand Down

0 comments on commit f7388b2

Please sign in to comment.