From: DoHyun Pyun Date: Thu, 21 Feb 2019 23:10:32 +0000 (+0900) Subject: Modify the privilege level of OOB data getter APIs X-Git-Tag: submit/tizen/20190311.071331^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a0bc708cf2a7938d6ea2174e799cc678c6fd27b;p=platform%2Fcore%2Fapi%2Fbluetooth.git Modify the privilege level of OOB data getter APIs Application try to bond using oob data without user confirmation. Because of this, need to give the proper privilege for OOB data getter APIs Change-Id: I5af69c6f57f524bc5a19aa4381ca45103330a74a Signed-off-by: DoHyun Pyun --- diff --git a/include/bluetooth.h b/include/bluetooth.h index 4a6d2bb..a05e2e8 100644 --- a/include/bluetooth.h +++ b/include/bluetooth.h @@ -619,6 +619,9 @@ int bt_adapter_unset_device_discovery_state_changed_cb(void); * @ingroup CAPI_NETWORK_BLUETOOTH_OOB_MODULE * @brief Gets the Hash and Randomizer value, synchronously. * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif + * @privlevel public + * @privilege %http://tizen.org/privilege/bluetooth + * @remarks %http://tizen.org/privilege/bluetooth (public level privilege) is required to use this API since 5.5. * * @param[out] hash The hash value received from the controller * @param[out] randomizer The hash value received from the controller @@ -672,7 +675,10 @@ int bt_adapter_set_remote_oob_data(const char *remote_address, * @ingroup CAPI_NETWORK_BLUETOOTH_OOB_MODULE * @brief Gets the Hash and Randomizer value, synchronously. * @since_tizen 3.0 + * @privlevel public + * @privilege %http://tizen.org/privilege/bluetooth * + * @remarks %http://tizen.org/privilege/bluetooth (public level privilege) is required to use this API since 5.5. * @remarks The @a hash192, randomizer192, hash256 and randomizer256 must be released using free(). * * @param[out] hash192 The hash value derived from the P-192 public key