diff options
Diffstat (limited to 'api/direct_bt/DBTManager.hpp')
-rw-r--r-- | api/direct_bt/DBTManager.hpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/api/direct_bt/DBTManager.hpp b/api/direct_bt/DBTManager.hpp index 5ebcf925..15e46098 100644 --- a/api/direct_bt/DBTManager.hpp +++ b/api/direct_bt/DBTManager.hpp @@ -245,10 +245,19 @@ namespace direct_bt { /** * Uploads given connection parameter for given device to the kernel. + * + * @param dev_id + * @param address + * @param address_type + * @param conn_interval_min default value 0x000F + * @param conn_interval_max default value 0x000F + * @param conn_latency default value 0x0000 + * @param timeout in units of 10ms, default value 1000 for 10000ms or 10s. + * @return */ bool uploadConnParam(const int dev_id, const EUI48 &address, const BDAddressType address_type, - const uint16_t min_interval=0x000F, const uint16_t max_interval=0x000F, - const uint16_t latency=0x0000, const uint16_t timeout=HCI_LE_CONN_TIMEOUT_MS/10); + const uint16_t conn_interval_min=0x000F, const uint16_t conn_interval_max=0x000F, + const uint16_t conn_latency=0x0000, const uint16_t timeout=HCI_LE_CONN_TIMEOUT_MS/10); /** * Returns true, if the adapter's device is already whitelisted. |