diff options
author | Sven Gothel <[email protected]> | 2020-02-15 11:19:27 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-02-15 11:19:27 +0100 |
commit | cdaf51206a95494d8de43fd5461313efff6badd7 (patch) | |
tree | e9996bd1de60a844cf800fb15e7c82728acf1386 /.settings | |
parent | 3fed423e2c81232bef6a3916b924996df1ff046e (diff) |
C++ tinyb_hci: Working HCIScanner showing AD packets, demonstrating new HCI classes
See scripts/build-x86_64.sh and README.md for build instructions.
See scripts/run-hci_scanner.sh to start new HCI scanner (C++).
New HCI C++ implementation redised in libtinyb_hci.so w/o GLIB/DBus dependencies,
but 'libbluetooth.so' dependency.
Following Class datastructures are complete:
- HCIUtil: Exception types, uint128_t and endian conversions
- General UUID interface and its efficient UUID16, UUID32 + UUID128 implementation.
Conversion 'toString', respecting endianess,
and UUID* -> UUID128 conversion.
Requird member comparison operations due to using interface
- HCIAdapter with its opened HCISession,
as well as its discovered HCIDevices
- HCIAdapter discover includes multiple advertising AD records,
up to 25 according to the spec.
- HCIAdapter parses full AD segment. TODO: Handle few more AD types
API/Impl Details:
- Datastructures utilize 'vector<shares_ptr<T>>' collections.
- Most attributes are specified 'const' -> immutable for efficancy
- Convenient collection access member operations
- etc ..
RESULTS:
- Fast AD scanning of multiple devices w/ UUID and RSSI
- Proper integration into tinyb project
TODO:
- Handle few more AD types
- Test multiple parallel HCISession from HCIAdapter
- HCIAdapter.connect()
- Represent GATT Service, Characteristics and Description
- Catch up with the Java binding step by step
Diffstat (limited to '.settings')
-rw-r--r-- | .settings/language.settings.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.settings/language.settings.xml b/.settings/language.settings.xml new file mode 100644 index 00000000..75cc2ade --- /dev/null +++ b/.settings/language.settings.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<project> + + <configuration id="cdt.managedbuild.config.gnu.so.debug.368873367" name="Debug"> + + <extension point="org.eclipse.cdt.core.LanguageSettingsProvider"> + + <provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/> + + <provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> + + <provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> + + <provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1348549987427892271" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true"> + + <language-scope id="org.eclipse.cdt.core.gcc"/> + + <language-scope id="org.eclipse.cdt.core.g++"/> + + </provider> + + </extension> + + </configuration> + + <configuration id="cdt.managedbuild.config.gnu.so.release.499673150" name="Release"> + + <extension point="org.eclipse.cdt.core.LanguageSettingsProvider"> + + <provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/> + + <provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> + + <provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> + + <provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1348550848762747563" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true"> + + <language-scope id="org.eclipse.cdt.core.gcc"/> + + <language-scope id="org.eclipse.cdt.core.g++"/> + + </provider> + + </extension> + + </configuration> + +</project> |