aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/run-native-example.sh
Commit message (Collapse)AuthorAgeFilesLines
* Update scripts, analog to jaulib v0.14.0-37-g8e76c99Sven Gothel2022-07-261-21/+23
| | | | | | - example symlinks: remove prefix 'run-' - can invoke from project root dir like in jaulib and cipherlib - using {build|dist}-OS_NAME-ARCHABI for multi OS support
* Add scripts/run-native-trial*.sh, split valgrind-jvm.supp from valgrind.suppSven Gothel2022-05-131-1/+1
|
* scripts/run-native-example.sh: Fix runit_capsh() EXE_WRAPPERSven Gothel2022-04-151-1/+1
|
* Examples: Use clear 'client_keys' and 'server_keys' for key client- and ↵Sven Gothel2022-01-011-2/+2
| | | | server-path.
* scripts/run-*-example.sh: Set kernel core pattern, to be sure of name and ↵Sven Gothel2021-11-021-0/+1
| | | | location (current dir) of core file.
* Add BTAdapter's Slave Peripheral SMP Key ManagementSven Gothel2021-10-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To have full SMP key persitency in peripheral slave mode, BTAdapter requires fine grained control over - Passing stored keys to BTDevice's PairingData (w/o uploading them) - Uploading BTDevice's PairingData to the adapter This required interaction in certain places, only enabled if adapter is BTRole::Slave (peripheral): - BTAdapter::mgmtEvDeviceConnectedHCI() Only issue unpairDevice() if not pre-paired. Unpairing is required for new pairing to avoid DHKey Check failures! - BTAdapter::mgmtEvDeviceDisconnectedHCI() - First unpairDevice() will be issued via notifyDisconnect() - Set and upload stored keys for disconnected device (if existing), preparing for next connect. - BTAdapter::sendDevicePairingState() - SMPPairingState::COMPLETED && not SMPPairingState::PRE_PAIRED: Store keys - SMPPairingState::COMPLETED && SMPPairingState::PRE_PAIRED: Refresh keys to BTDevice (set), no upload! - SMPPairingState::FAILED: Remove and delete keys +++ BTAdapter::setSMPKeyPath(path) allows user to enable the persistent key storage by setting its local filesystem path. It will also read all key files (SMPKeyBin) and if valid and matching with the adapter, uploads them for pre-pairing. See dbt_peripheral00.cpp: adapter->setSMPKeyPath(ADAPTER_KEY_PATH); +++
* scripts/run-native-example.sh: Enforce using bash to preserve command-line ↵Sven Gothel2021-09-291-14/+21
| | | | quotes
* scripts/run*: Unify launch scripts using single defintion and symbolic links ↵Sven Gothel2021-09-261-0/+179
with definite name