summaryrefslogtreecommitdiffstats
path: root/examples/dbt_peripheral00.cpp
Commit message (Expand)AuthorAgeFilesLines
* C++ Trial / Example: Server: Use robust jau::service_runner, ensuring service...Sven Gothel2022-05-131-32/+42
* JNI Lifecycle Fix: Have AdapterStatusListener derive from JavaUplink/DBTNativ...Sven Gothel2022-05-091-1/+1
* API Change: AdapterStatusListener::deviceConnected(): `const uint16_t handle`...Sven Gothel2022-05-061-3/+3
* Bump jaulib v0.9.1 and adopt to fraction changes, use wait_until() w/ out-of-...Sven Gothel2022-05-011-2/+1
* Zero uninitialized POctet values (valgrind: conditional jump)Sven Gothel2022-04-151-1/+4
* Align dbt_peripheral00, DBTPeripheral00 to Trial's DBTServer00Sven Gothel2022-04-151-45/+48
* Fix and document default connection paramter, leaning to higher performance s...Sven Gothel2022-04-141-3/+3
* Use project name 'Direct-BT' instead of 'DirectBT' for version info .. it is ...Sven Gothel2022-04-111-1/+1
* Examples: Only attempt using LE_PHYs::LE_2M if BT.major > 4, to keep the logs...Sven Gothel2022-04-111-1/+1
* No need for BTAdapter::removeDiscoveredDevices() for server nor client before...Sven Gothel2022-04-091-3/+0
* Server Test: Align connection interval min to system default, max to 30ms: (8...Sven Gothel2022-04-081-1/+1
* Add invocation example to dbt_peripheral00.cpp and dbt_repeater00.cpp (and re...Sven Gothel2022-02-051-0/+8
* BTAdapter::startAdvertising(): Set default adv_interval from 1.28s -> 400ms a...Sven Gothel2022-02-021-3/+3
* Peripheral00: Send echo response on writeCharValueDone(..); Get and use DBGat...Sven Gothel2022-01-281-14/+23
* DBGatt[Char|Desc] (Server): Add setValue(..), allowing user to safely overwri...Sven Gothel2022-01-281-1/+14
* dbt_preipheral00.cpp: Fix jau::dfa_utf8_decode(..), pass its c_str() to fprin...Sven Gothel2022-01-251-2/+2
* Expose BTManager::setDefaultConnParam(..) via BTAdapter::setDefaultConnParam(...Sven Gothel2022-01-251-0/+15
* Refine BTAdapter API and doc on commands in powerd-off state only: setName() ...Sven Gothel2022-01-251-2/+4
* dbt_peripheral00.cpp/DBTPeripheral00.java: Add adapter->setServerConnSecurity...Sven Gothel2022-01-241-5/+12
* Add DBGattServer::Listener::write[Char|Desc]ValueDone() (C++/Java), notifyies...Sven Gothel2022-01-241-4/+16
* BTAdapter: Add startAdvertising(..) overload with user given EInfoReport and ...Sven Gothel2022-01-041-1/+17
* peripheral00 example: Use adapter name for GENERIC_ACCESS.DEVICE_NAMESven Gothel2022-01-021-1/+1
* dbt_peripheral00/DBTPeripheral00: Fix using *Indicate handle where selectedSven Gothel2022-01-011-2/+2
* Examples: Use clear 'client_keys' and 'server_keys' for key client- and serve...Sven Gothel2022-01-011-1/+1
* DiscoveryPolicy: Implement Discovery Policy, covering HCI host OS's implied d...Sven Gothel2021-11-281-3/+3
* dbt_peripheral00: Drop virtual on override; DBTPeripheral00: Drop overriding ...Sven Gothel2021-11-151-1/+1
* peripheral00 example: Bring back 100ms sleep @ disconnected before restart ad...Sven Gothel2021-11-141-0/+1
* Align DBTPeripheral00.java w/ dbt_peripheral00.cpp: initAdapter() w/ full nam...Sven Gothel2021-11-141-0/+1
* Complete DBGattServer Lifecycle: Add DBGatt* dtor on Java side; Remove BTAdap...Sven Gothel2021-11-141-10/+35
* DBGatt[Desc|Char|Service]: Use mutable and const field accessors; Remove Java...Sven Gothel2021-11-131-11/+11
* DBGatt[Desc|Char|Service]: Use shared_ptr references to support Java binding ...Sven Gothel2021-11-131-42/+42
* Use 'typedef std::shared_ptr<BTDevice> BTDeviceRef' to shorten code linesSven Gothel2021-11-131-18/+18
* Align early Direct-BT version output in main function and use fprintf_td() / ...Sven Gothel2021-11-091-14/+14
* DBGatt[Char|Desc]::variable_length defaults to false; Add DBGattValue.java co...Sven Gothel2021-11-091-3/+3
* dbt_peripheral00.cpp: Add jau::uuid128_t DataServiceUUID; Cleanup DBGattChar ...Sven Gothel2021-11-091-11/+12
* DBGattServer::Listener: Add connected() and mtuChanged(): Supporting using pr...Sven Gothel2021-11-081-29/+64
* Add BTAdapter's Slave Peripheral SMP Key ManagementSven Gothel2021-10-291-24/+1
* Issue BTDevice::unpair() directly when device is discovered, disconnected and...Sven Gothel2021-10-281-10/+1
* dbt_peripheral00: Peripheral in SC mode needs unpair(), i.e. erase all keys ..Sven Gothel2021-10-281-3/+5
* DBGattServer: Add convenience functions to zero values and reset ClientCharCo...Sven Gothel2021-10-281-18/+2
* dbt_peripheral00: initAdapter(): Fail on failed setupSven Gothel2021-10-281-0/+1
* dbt_peripheral: Fix initial setup: Move power-off settings post initialize (n...Sven Gothel2021-10-281-19/+25
* Add DBGattServer::Listener::disconnect(..) for cleanup, example: Full cleanup...Sven Gothel2021-10-271-18/+54
* SMPKeyBin: Add helper to load all SMPKeyBin files from a directory, filter fo...Sven Gothel2021-10-271-2/+11
* SMPKeyBin (Version 5, C++/Java): Add IRK and (set/get) and also set CSRKSven Gothel2021-10-271-1/+9
* Add 3 HCI Commands + 1 HCI MetaEvent to support SMP SC on slave peripheral si...Sven Gothel2021-10-261-8/+53
* DBGattServer / dbt_peripheral00: Use jau::make_darray(..) for proper move-sem...Sven Gothel2021-10-241-63/+78
* dbt_peripheral02: MyGATTServerListener implements DATA PULSE notify/indicate ...Sven Gothel2021-10-201-1/+85
* DBGattServer::Listener::clientCharConfigChanged() Use const qualifier; dbt_pe...Sven Gothel2021-10-191-4/+4
* Add DBGattServer::Listener::clientCharConfigChanged(..)Sven Gothel2021-10-191-0/+6