mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Lefun: Fix license headers
This commit is contained in:
parent
1242009b55
commit
0f123022f9
@ -1,7 +1,3 @@
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.lefun.commands;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||
Gobbetti
|
||||
Copyright (C) 2020 Yukai Li
|
||||
@ -20,6 +16,10 @@ import java.nio.ByteBuffer;
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.lefun.commands;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.lefun.LefunConstants;
|
||||
|
||||
public class FindDeviceCommand extends BaseCommand {
|
||||
|
@ -1,6 +1,3 @@
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.lefun.commands;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||
Gobbetti
|
||||
Copyright (C) 2020 Yukai Li
|
||||
@ -19,6 +16,9 @@ import java.nio.ByteBuffer;
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.lefun.commands;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.lefun.LefunConstants;
|
||||
@ -59,7 +59,7 @@ public class GetFirmwareInfoCommand extends BaseCommand {
|
||||
protected void deserializeParams(byte id, ByteBuffer params) {
|
||||
validateIdAndLength(id, params, LefunConstants.CMD_FIRMWARE_INFO, 16);
|
||||
|
||||
supportCode = (short)(params.get() | (params.get() << 8));
|
||||
supportCode = (short) (params.get() | (params.get() << 8));
|
||||
devTypeReserveCode = params.getShort();
|
||||
byte[] typeCodeBytes = new byte[4];
|
||||
params.get(typeCodeBytes);
|
||||
|
@ -1,3 +1,21 @@
|
||||
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||
Gobbetti
|
||||
Copyright (C) 2020 Yukai Li
|
||||
|
||||
This file is part of Gadgetbridge.
|
||||
|
||||
Gadgetbridge is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published
|
||||
by the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Gadgetbridge is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.lefun.commands;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
@ -1,5 +1,3 @@
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.lefun.commands;
|
||||
|
||||
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||
Gobbetti
|
||||
Copyright (C) 2020 Yukai Li
|
||||
@ -18,6 +16,8 @@ package nodomain.freeyourgadget.gadgetbridge.devices.lefun.commands;
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.lefun.commands;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.lefun.LefunConstants;
|
||||
|
@ -1,9 +1,3 @@
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.lefun.commands;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.lefun.LefunConstants;
|
||||
|
||||
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||
Gobbetti
|
||||
Copyright (C) 2020 Yukai Li
|
||||
@ -22,6 +16,12 @@ import nodomain.freeyourgadget.gadgetbridge.devices.lefun.LefunConstants;
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
package nodomain.freeyourgadget.gadgetbridge.devices.lefun.commands;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.lefun.LefunConstants;
|
||||
|
||||
public class SetLanguageCommand extends BaseCommand {
|
||||
private byte language;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user