-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Deprecate BT_FIXED_APPKEY #25414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate BT_FIXED_APPKEY #25414
Changes from all commits
eedc347
4505e9e
c9db990
8c7d26b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,22 +32,35 @@ extern "C" { | |
| _bt_mesh_le_pair_resp_op, NULL, NULL, \ | ||
| &_bt_mesh_le_pair_resp_cb) | ||
|
|
||
| /* @brief Invalidate previously used passkey. | ||
| /** @brief Invalidate previously used passkey. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is wrong, the top line of a multiline comment should be empty e.g.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. that was request from Carles I am confused.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://www.doxygen.nl/manual/docblocks.html It sound like @brief is allowed to be in the first line, if it is a base text it should start on the second line. I have check other documentation and it is aligned with that. |
||
| * | ||
| * A user must call this function when a pairing request completes regardless of the status. | ||
| */ | ||
| void bt_mesh_le_pair_resp_passkey_invalidate(void); | ||
|
|
||
| /* @brief Set own passkey instead of using randomly generating passkeys. | ||
| /** @brief Set own passkey instead of using randomly generating passkeys. | ||
| * | ||
| * By default, passkeys will be randomly generated on every new request. This function allows to use | ||
| * pre-defined passkey instead. | ||
| * | ||
| * @params passkey Passkey to use for the pairing, or @ref BT_PASSKEY_INVALID to use randomly | ||
| * @param passkey Passkey to use for the pairing, or BT_PASSKEY_RAND to use randomly | ||
| * generated passkey again. | ||
| */ | ||
| void bt_mesh_le_pair_resp_passkey_set(uint32_t passkey); | ||
|
|
||
| /** @brief Get passkey to be used in the very next pairing. | ||
| * | ||
| * This function will return the passkey set by the @ref bt_mesh_le_pair_resp_passkey_set function | ||
| * or it will return a randomly generated passkey by the reset message. | ||
| * | ||
| * If the passkey has never been set or the Reset message has never been received, | ||
| * BT_PASSKEY_RAND will be returned. | ||
| * | ||
| * @return Passkey to be used in the very next pairing; | ||
| * BT_PASSKEY_RAND if passkey is not set. | ||
| */ | ||
| uint32_t bt_mesh_le_pair_resp_passkey_get(void); | ||
|
|
||
| /** @cond INTERNAL_HIDDEN */ | ||
|
|
||
| extern const struct bt_mesh_model_op _bt_mesh_le_pair_resp_op[]; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| CONFIG_MCUMGR_TRANSPORT_BT_PERM_RW_AUTHEN=y | ||
| CONFIG_BT_SMP=y | ||
| CONFIG_BT_FIXED_PASSKEY=y | ||
| CONFIG_BT_APP_PASSKEY=y | ||
| CONFIG_BT_MESH_LE_PAIR_RESP=y | ||
| CONFIG_BT_SMP_SC_ONLY=y | ||
| CONFIG_BT_SMP_ALLOW_UNAUTH_OVERWRITE=n |
Uh oh!
There was an error while loading. Please reload this page.