Skip to content

Commit

Permalink
Add a Mac adress
Browse files Browse the repository at this point in the history
  • Loading branch information
Smanar committed Oct 10, 2021
1 parent 7c4380c commit e824ff1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions de_web_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const quint64 silabs5MacPrefix = 0x842e140000000000ULL;
const quint64 silabs10MacPrefix = 0x8471270000000000ULL;
const quint64 embertecMacPrefix = 0x848e960000000000ULL;
const quint64 YooksmartMacPrefix = 0x84fd270000000000ULL;
const quint64 silabs13MacPrefix = 0x8cf6810000000000ULL;
const quint64 silabsMacPrefix = 0x90fd9f0000000000ULL;
const quint64 zhejiangMacPrefix = 0xb0ce180000000000ULL;
const quint64 silabs12MacPrefix = 0xb4e3f90000000000ULL;
Expand Down
2 changes: 2 additions & 0 deletions de_web_plugin_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ extern const quint64 silabs8MacPrefix;
extern const quint64 silabs9MacPrefix;
extern const quint64 silabs10MacPrefix;
extern const quint64 silabs12MacPrefix;
extern const quint64 silabs13MacPrefix;
extern const quint64 instaMacPrefix;
extern const quint64 casaiaPrefix;
extern const quint64 boschMacPrefix;
Expand Down Expand Up @@ -584,6 +585,7 @@ inline bool existDevicesWithVendorCodeForMacPrefix(quint64 addr, quint16 vendor)
prefix == silabs3MacPrefix ||
prefix == silabs5MacPrefix ||
prefix == silabs10MacPrefix ||
prefix == silabs13MacPrefix ||
prefix == silabs7MacPrefix;
case VENDOR_EMBERTEC:
return prefix == embertecMacPrefix;
Expand Down

0 comments on commit e824ff1

Please sign in to comment.