Add tractive (#461)
This commit is contained in:
parent
d7055170c7
commit
0fc5212c6a
|
@ -146,6 +146,12 @@ void BleFingerprint::fingerprintServiceAdvertisements(NimBLEAdvertisedDevice *ad
|
|||
setId("trackr:" + getMac(), ID_TYPE_TRACKR);
|
||||
return;
|
||||
}
|
||||
else if (uuid == tractiveUUID)
|
||||
{
|
||||
asRssi = haveTxPower ? BleFingerprintCollection::refRssi + txPower : NO_RSSI;
|
||||
setId("tractive:" + getMac(), ID_TYPE_TRACTIVE);
|
||||
return;
|
||||
}
|
||||
else if (uuid == vanmoofUUID)
|
||||
{
|
||||
asRssi = haveTxPower ? BleFingerprintCollection::refRssi + txPower : NO_RSSI;
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#define ID_TYPE_TRACKR short(130)
|
||||
#define ID_TYPE_TILE short( 135)
|
||||
#define ID_TYPE_MEATER short(140)
|
||||
#define ID_TYPE_TRACTIVE short(142)
|
||||
#define ID_TYPE_VANMOOF short(145)
|
||||
#define ID_TYPE_APPLE_NEARBY short(150)
|
||||
#define ID_TYPE_QUERY_MODEL short(155)
|
||||
|
|
|
@ -13,6 +13,7 @@ static BLEUUID itagUUID((uint16_t)0xffe0);
|
|||
static BLEUUID miThermUUID(uint16_t(0x181A));
|
||||
static BLEUUID trackrUUID((uint16_t)0x0F3E);
|
||||
static BLEUUID vanmoofUUID(0x6acc5540, 0xe631, 0x4069, 0x944db8ca7598ad50);
|
||||
static BLEUUID tractiveUUID(0x20130001, 0x0719, 0x4b6e, 0xbe5d158ab92fa5a4);
|
||||
|
||||
static BLEUUID nutUUID((uint16_t)0x1803);
|
||||
|
||||
|
|
Loading…
Reference in New Issue