2011-02-14 20:20:19 -05:00
|
|
|
//
|
|
|
|
// scales.h
|
|
|
|
// ========
|
|
|
|
//
|
|
|
|
// This file is a list of all currently-recognized scales' vendor and product
|
|
|
|
// IDs.
|
|
|
|
//
|
|
|
|
// For example, the USB product 1446:6173 becomes {0x1446, 0x6173}
|
|
|
|
//
|
2011-02-13 20:39:00 -05:00
|
|
|
#include <stdint.h>
|
2011-01-29 19:32:52 -05:00
|
|
|
|
2013-09-30 13:59:58 -04:00
|
|
|
//
|
|
|
|
// What is the number of the weighing result to show, as the first result may be incorrect (from the previous weighing)
|
|
|
|
//
|
|
|
|
#define WEIGH_COUNT 2
|
2011-01-29 19:32:52 -05:00
|
|
|
|
2011-02-14 20:20:19 -05:00
|
|
|
//
|
|
|
|
// Scales
|
|
|
|
// ------
|
|
|
|
//
|
2023-04-03 22:44:28 +02:00
|
|
|
uint16_t scales[][2] = {\
|
2012-10-14 00:19:57 -07:00
|
|
|
// Stamps.com Model 510 5LB Scale
|
2011-12-31 15:42:08 -05:00
|
|
|
{0x1446, 0x6a73},
|
|
|
|
// USPS (Elane) PS311 "XM Elane Elane UParcel 30lb"
|
2012-10-14 00:19:57 -07:00
|
|
|
{0x7b7c, 0x0100},
|
|
|
|
// Stamps.com Stainless Steel 5 lb. Digital Scale
|
2013-09-30 13:59:58 -04:00
|
|
|
{0x2474, 0x0550},
|
2015-06-18 17:06:55 -04:00
|
|
|
// Stamps.com Stainless Steel 35 lb. Digital Scale
|
|
|
|
{0x2474, 0x3550},
|
2013-09-30 13:59:58 -04:00
|
|
|
// Mettler Toledo
|
2014-01-28 19:28:42 -05:00
|
|
|
{0x0eb8, 0xf000},
|
2022-05-19 23:03:37 -06:00
|
|
|
{0x0eb8, 0xf001},
|
2014-07-16 14:41:15 -04:00
|
|
|
// SANFORD Dymo 10 lb USB Postal Scale
|
|
|
|
{0x6096, 0x0158},
|
2014-01-28 19:28:42 -05:00
|
|
|
// Fairbanks Scales SCB-R9000
|
2015-10-23 17:59:59 +09:00
|
|
|
{0x0b67, 0x555e},
|
2015-10-28 18:19:30 +01:00
|
|
|
// DYMO 1772057 Digital Postal Scale
|
2021-02-02 15:10:11 -07:00
|
|
|
{0x0922, 0x8003},
|
2021-03-08 13:38:44 -08:00
|
|
|
// Dymo-CoStar Corp. M25 Digital Postal Scale
|
|
|
|
{0x0922, 0x8004},
|
|
|
|
// Dymo-CoStar Corp. S180 180kg Portable Digital Shipping Scale
|
|
|
|
{0x0922, 0x8009},
|
2021-02-02 15:10:11 -07:00
|
|
|
// Pitney Bowes 10lb scale 397-B (X.J. Group XJ-6K809)
|
2021-04-12 18:02:04 -06:00
|
|
|
{0x0d8f, 0x0200},
|
|
|
|
// USPS DS25 25lb postage scale, Royal / X.J.GROUP
|
|
|
|
// If it shows up in lsusb as 0471:0055 it won't work for some reason,
|
|
|
|
// mine did at first but now it's behaving itself
|
|
|
|
{0x1446, 0x6a79}
|
2011-02-13 20:39:00 -05:00
|
|
|
};
|
2023-04-03 22:44:28 +02:00
|
|
|
|
|
|
|
#define NSCALES ((sizeof scales)/(sizeof scales[0]))
|