tirecheck-device-sdk 0.2.26 → 0.2.28
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 +270 -103
- package/dist/index.d.cts +9 -2
- package/dist/index.d.mts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.mjs +270 -103
- 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[][];
|
|
@@ -922,6 +928,7 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
922
928
|
onTpms: (callback: (deviceId: string, value: FgSensorReading | undefined) => void) => void;
|
|
923
929
|
getBattery: (deviceId: string) => Promise<number>;
|
|
924
930
|
startTpmsScan: (deviceId: string) => void;
|
|
931
|
+
programSensor: (deviceId: string, oldSensorId: string, newSensorId: string) => Promise<void>;
|
|
925
932
|
};
|
|
926
933
|
/** Methods for working with Tirecheck Pressure Stick */
|
|
927
934
|
pressureStick: {
|
|
@@ -944,9 +951,9 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
944
951
|
connect(deviceId: string): Promise<void>;
|
|
945
952
|
disconnect(deviceId: string, reason?: StateReason): Promise<void>;
|
|
946
953
|
getProperties: (deviceId: string) => Promise<TorqueWrenchProperties>;
|
|
947
|
-
setTime: (deviceId: string, date: Date) => Promise<
|
|
954
|
+
setTime: (deviceId: string, date: Date) => Promise<string>;
|
|
948
955
|
startJob: (deviceId: string, params: TorqueWrenchStartJobParams) => Promise<void>;
|
|
949
|
-
stopJob: (deviceId: string) => Promise<
|
|
956
|
+
stopJob: (deviceId: string) => Promise<string>;
|
|
950
957
|
getNumberOfReadings: (deviceId: string) => Promise<{
|
|
951
958
|
count: number;
|
|
952
959
|
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[][];
|
|
@@ -922,6 +928,7 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
922
928
|
onTpms: (callback: (deviceId: string, value: FgSensorReading | undefined) => void) => void;
|
|
923
929
|
getBattery: (deviceId: string) => Promise<number>;
|
|
924
930
|
startTpmsScan: (deviceId: string) => void;
|
|
931
|
+
programSensor: (deviceId: string, oldSensorId: string, newSensorId: string) => Promise<void>;
|
|
925
932
|
};
|
|
926
933
|
/** Methods for working with Tirecheck Pressure Stick */
|
|
927
934
|
pressureStick: {
|
|
@@ -944,9 +951,9 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
944
951
|
connect(deviceId: string): Promise<void>;
|
|
945
952
|
disconnect(deviceId: string, reason?: StateReason): Promise<void>;
|
|
946
953
|
getProperties: (deviceId: string) => Promise<TorqueWrenchProperties>;
|
|
947
|
-
setTime: (deviceId: string, date: Date) => Promise<
|
|
954
|
+
setTime: (deviceId: string, date: Date) => Promise<string>;
|
|
948
955
|
startJob: (deviceId: string, params: TorqueWrenchStartJobParams) => Promise<void>;
|
|
949
|
-
stopJob: (deviceId: string) => Promise<
|
|
956
|
+
stopJob: (deviceId: string) => Promise<string>;
|
|
950
957
|
getNumberOfReadings: (deviceId: string) => Promise<{
|
|
951
958
|
count: number;
|
|
952
959
|
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[][];
|
|
@@ -922,6 +928,7 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
922
928
|
onTpms: (callback: (deviceId: string, value: FgSensorReading | undefined) => void) => void;
|
|
923
929
|
getBattery: (deviceId: string) => Promise<number>;
|
|
924
930
|
startTpmsScan: (deviceId: string) => void;
|
|
931
|
+
programSensor: (deviceId: string, oldSensorId: string, newSensorId: string) => Promise<void>;
|
|
925
932
|
};
|
|
926
933
|
/** Methods for working with Tirecheck Pressure Stick */
|
|
927
934
|
pressureStick: {
|
|
@@ -944,9 +951,9 @@ declare function createTirecheckDeviceSdk(platform: DevicePlatform, bleImplement
|
|
|
944
951
|
connect(deviceId: string): Promise<void>;
|
|
945
952
|
disconnect(deviceId: string, reason?: StateReason): Promise<void>;
|
|
946
953
|
getProperties: (deviceId: string) => Promise<TorqueWrenchProperties>;
|
|
947
|
-
setTime: (deviceId: string, date: Date) => Promise<
|
|
954
|
+
setTime: (deviceId: string, date: Date) => Promise<string>;
|
|
948
955
|
startJob: (deviceId: string, params: TorqueWrenchStartJobParams) => Promise<void>;
|
|
949
|
-
stopJob: (deviceId: string) => Promise<
|
|
956
|
+
stopJob: (deviceId: string) => Promise<string>;
|
|
950
957
|
getNumberOfReadings: (deviceId: string) => Promise<{
|
|
951
958
|
count: number;
|
|
952
959
|
jobId: string;
|