tirecheck-device-sdk 0.2.27 → 0.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +297 -102
- package/dist/index.d.cts +10 -2
- package/dist/index.d.mts +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.mjs +297 -102
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -828,6 +828,12 @@ interface BleBridgeAdvertisingData {
|
|
|
828
828
|
timeFromStart?: number;
|
|
829
829
|
}
|
|
830
830
|
interface BleSecurityKeys {
|
|
831
|
+
flexiGaugeTpms?: {
|
|
832
|
+
signatureKeys: {
|
|
833
|
+
allLFCommands: number[];
|
|
834
|
+
writeConfiguration: number[];
|
|
835
|
+
};
|
|
836
|
+
};
|
|
831
837
|
bridge?: {
|
|
832
838
|
signatureKeys: {
|
|
833
839
|
[index: number]: number[][];
|
|
@@ -921,7 +927,9 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
921
927
|
onButtonPress: (callback: (deviceId: string, value: string) => void) => void;
|
|
922
928
|
onTpms: (callback: (deviceId: string, value: FgSensorReading | undefined) => void) => void;
|
|
923
929
|
getBattery: (deviceId: string) => Promise<number>;
|
|
930
|
+
getFirmwareVersion: (deviceId: string) => Promise<string>;
|
|
924
931
|
startTpmsScan: (deviceId: string) => void;
|
|
932
|
+
programSensor: (deviceId: string, oldSensorId: string, newSensorId: string) => Promise<void>;
|
|
925
933
|
};
|
|
926
934
|
/** Methods for working with Tirecheck Pressure Stick */
|
|
927
935
|
pressureStick: {
|
|
@@ -944,9 +952,9 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
944
952
|
connect(deviceId: string): Promise<void>;
|
|
945
953
|
disconnect(deviceId: string, reason?: StateReason): Promise<void>;
|
|
946
954
|
getProperties: (deviceId: string) => Promise<TorqueWrenchProperties>;
|
|
947
|
-
setTime: (deviceId: string, date: Date) => Promise<
|
|
955
|
+
setTime: (deviceId: string, date: Date) => Promise<string>;
|
|
948
956
|
startJob: (deviceId: string, params: TorqueWrenchStartJobParams) => Promise<void>;
|
|
949
|
-
stopJob: (deviceId: string) => Promise<
|
|
957
|
+
stopJob: (deviceId: string) => Promise<string>;
|
|
950
958
|
getNumberOfReadings: (deviceId: string) => Promise<{
|
|
951
959
|
count: number;
|
|
952
960
|
jobId: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -828,6 +828,12 @@ interface BleBridgeAdvertisingData {
|
|
|
828
828
|
timeFromStart?: number;
|
|
829
829
|
}
|
|
830
830
|
interface BleSecurityKeys {
|
|
831
|
+
flexiGaugeTpms?: {
|
|
832
|
+
signatureKeys: {
|
|
833
|
+
allLFCommands: number[];
|
|
834
|
+
writeConfiguration: number[];
|
|
835
|
+
};
|
|
836
|
+
};
|
|
831
837
|
bridge?: {
|
|
832
838
|
signatureKeys: {
|
|
833
839
|
[index: number]: number[][];
|
|
@@ -921,7 +927,9 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
921
927
|
onButtonPress: (callback: (deviceId: string, value: string) => void) => void;
|
|
922
928
|
onTpms: (callback: (deviceId: string, value: FgSensorReading | undefined) => void) => void;
|
|
923
929
|
getBattery: (deviceId: string) => Promise<number>;
|
|
930
|
+
getFirmwareVersion: (deviceId: string) => Promise<string>;
|
|
924
931
|
startTpmsScan: (deviceId: string) => void;
|
|
932
|
+
programSensor: (deviceId: string, oldSensorId: string, newSensorId: string) => Promise<void>;
|
|
925
933
|
};
|
|
926
934
|
/** Methods for working with Tirecheck Pressure Stick */
|
|
927
935
|
pressureStick: {
|
|
@@ -944,9 +952,9 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
944
952
|
connect(deviceId: string): Promise<void>;
|
|
945
953
|
disconnect(deviceId: string, reason?: StateReason): Promise<void>;
|
|
946
954
|
getProperties: (deviceId: string) => Promise<TorqueWrenchProperties>;
|
|
947
|
-
setTime: (deviceId: string, date: Date) => Promise<
|
|
955
|
+
setTime: (deviceId: string, date: Date) => Promise<string>;
|
|
948
956
|
startJob: (deviceId: string, params: TorqueWrenchStartJobParams) => Promise<void>;
|
|
949
|
-
stopJob: (deviceId: string) => Promise<
|
|
957
|
+
stopJob: (deviceId: string) => Promise<string>;
|
|
950
958
|
getNumberOfReadings: (deviceId: string) => Promise<{
|
|
951
959
|
count: number;
|
|
952
960
|
jobId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -828,6 +828,12 @@ interface BleBridgeAdvertisingData {
|
|
|
828
828
|
timeFromStart?: number;
|
|
829
829
|
}
|
|
830
830
|
interface BleSecurityKeys {
|
|
831
|
+
flexiGaugeTpms?: {
|
|
832
|
+
signatureKeys: {
|
|
833
|
+
allLFCommands: number[];
|
|
834
|
+
writeConfiguration: number[];
|
|
835
|
+
};
|
|
836
|
+
};
|
|
831
837
|
bridge?: {
|
|
832
838
|
signatureKeys: {
|
|
833
839
|
[index: number]: number[][];
|
|
@@ -921,7 +927,9 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
921
927
|
onButtonPress: (callback: (deviceId: string, value: string) => void) => void;
|
|
922
928
|
onTpms: (callback: (deviceId: string, value: FgSensorReading | undefined) => void) => void;
|
|
923
929
|
getBattery: (deviceId: string) => Promise<number>;
|
|
930
|
+
getFirmwareVersion: (deviceId: string) => Promise<string>;
|
|
924
931
|
startTpmsScan: (deviceId: string) => void;
|
|
932
|
+
programSensor: (deviceId: string, oldSensorId: string, newSensorId: string) => Promise<void>;
|
|
925
933
|
};
|
|
926
934
|
/** Methods for working with Tirecheck Pressure Stick */
|
|
927
935
|
pressureStick: {
|
|
@@ -944,9 +952,9 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
944
952
|
connect(deviceId: string): Promise<void>;
|
|
945
953
|
disconnect(deviceId: string, reason?: StateReason): Promise<void>;
|
|
946
954
|
getProperties: (deviceId: string) => Promise<TorqueWrenchProperties>;
|
|
947
|
-
setTime: (deviceId: string, date: Date) => Promise<
|
|
955
|
+
setTime: (deviceId: string, date: Date) => Promise<string>;
|
|
948
956
|
startJob: (deviceId: string, params: TorqueWrenchStartJobParams) => Promise<void>;
|
|
949
|
-
stopJob: (deviceId: string) => Promise<
|
|
957
|
+
stopJob: (deviceId: string) => Promise<string>;
|
|
950
958
|
getNumberOfReadings: (deviceId: string) => Promise<{
|
|
951
959
|
count: number;
|
|
952
960
|
jobId: string;
|