summaryrefslogtreecommitdiffstats
path: root/src/direct_bt/DBTAdapter.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-12-12 11:20:52 +0100
committerSven Gothel <[email protected]>2020-12-12 11:20:52 +0100
commitbc9d1c0d2942ce24019b432198f2d4c0d00aee19 (patch)
tree7f92a12c4433ccef81b0957bd2a9e95c1db05530 /src/direct_bt/DBTAdapter.cpp
parent97f5b70b5e49a709bae2cbb2ad132faa7f6b1eb9 (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