| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
also use cmake target_{link|compile}_options instead of globals
Example run scripts were also adopted.
Unit and trial tests passed on amd64 machine.
VSCode(ium) IDE integration manually tested.
|
|
|
|
|
|
|
| |
Default is C++20 now (analog to jaulib)
Further:
- Java Trial: Use native libs from build (not install dist dir), avoid install requirement
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Native trials match the java trial.
Passed native and java tests alike, i.e. may fail w/ BT5 on SC0 or SC1 if no keys are delivered (known issue).
Add counting successful protocol sessions next to the total,
client determined and send to server via GattCmd.
protocolSessionCount allows multiple connection and protocol sessions within one instance,
which allows for further stability and leak (valgrind) testing later on.
Each tests class's 1st test uses 1 protocolSession, where the 2nd test uses 2 protocolSessions.
timeout is detected by the waiting loop thread.
max_connection per protocolSession is 5
and shall help with analyzing the known BT5 lack of key delivery.
Further renamed the test class numbers to match the test suffix number better.
|
|
|
|
| |
use its initialization -> Use jaulib_base and jaulib_test only
|
|
|
|
| |
gdb core dump debugging to locate the native libraries
|
|
|
|
| |
capsh command
|
|
server functionality
Building with enabled *trial* and *testing* , i.e. live testing with 2 Bluetooth adapter
is provided via the *cmake* build argument `-DBUILD_TRIAL=ON`, see above.
The *trial* tests utilize one or more actual Bluetooth adapter,
hence using the *capsh* launch for the required permissions as described above.
Therefor, *sudo* will be called and a user interaction to enter the *sudo* password may occur.
The *trial* tests cover *Direct-BT*'s Bluetooth functionality,
having its *master/client* and *slave/server peripheral* facilities communicating via actual adapter,
supporting regression testing of the API, its implementation and adapter.
|