Skip to main content

testProductId

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/debug/debugSensorInfo / testProductId

Function: testProductId()

testProductId(manufacturerId: string | number, productId: string | number): { formattedProduct: string; manufacturerId: number; manufacturerName: string; productId: number; resolvedProduct: string; }

Defined in: utils/debug/debugSensorInfo.js:322

Test product ID resolution

Parameters​

manufacturerId​

Manufacturer ID

string | number

productId​

Product ID to test

string | number

Returns​

{ formattedProduct: string; manufacturerId: number; manufacturerName: string; productId: number; resolvedProduct: string; }

formattedProduct​

formattedProduct: string

manufacturerId​

manufacturerId: number = mfgId

manufacturerName​

manufacturerName: string

productId​

productId: number = prodId

resolvedProduct​

resolvedProduct: string