diff options
author | Sven Gothel <[email protected]> | 2020-12-12 11:20:52 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-12-12 11:20:52 +0100 |
commit | bc9d1c0d2942ce24019b432198f2d4c0d00aee19 (patch) | |
tree | 7f92a12c4433ccef81b0957bd2a9e95c1db05530 /src/direct_bt/DBTAdapter.cpp | |
parent | 97f5b70b5e49a709bae2cbb2ad132faa7f6b1eb9 (diff) |
Revamp native + java types: EUI48 and add BDAddressAndType
EUI48: add hash-code, fast compare, include static const ANY_*DEVICE)
- added Hash specialization in namespace std for hash-map (C++)
BDAddressAndType: Added, to be utilizes as actual unique device address having EUI48 + BDAddressType
- fully self sufficient w/ comparison, hash and matching methods
- added Hash specialization in namespace std for hash-map (C++)
Goal for BDAddressAndType is to replace separate EUI48 + BDAddressType,
providing BluetoothDevice / DBTDevice with a unique single key entry.
This will allow us to properly use a hash-map (new for our C++ code)
Further we emphasize on the unique key contract, which requires the BDAddressAndType,
as EUI48 is not enough.
Diffstat (limited to 'src/direct_bt/DBTAdapter.cpp')
0 files changed, 0 insertions, 0 deletions