Skip to content
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

Bluetooth: Mesh: Change no-opcode error message log level and allow custom RPL use settings work #66228

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

PavelVPV
Copy link
Collaborator

@PavelVPV PavelVPV commented Dec 6, 2023

This PR changes 2 things:

  • Allows a custom RPL use pending mechanism and the mesh settings work to store pending RPL entries. bt_mesh_rpl_pending_store is a public API and should be implemented anyway. The custom RPL implementation has to trigger settings with the BT_MESH_SETTINGS_RPL_PENDING flag to ask the mesh settings work to call bt_mesh_rpl_pending_store.
  • Converts no opcode error in the access layer to debug log. This error message may confuse when CONFIG_BT_MESH_ACCESS_LAYER_MSG is enabled and all messages are processed by the callback anyway.
    This error message also confuses when a node is subscribed to the same address as it publishes to, which makes it generating the error message every time it publishes a message.

This change allows a custom RPL use pending mechanism and the mesh
settings work to store pending RPL entries. `bt_mesh_rpl_pending_store`
is a public API and should be implemented anyway. The custom RPL
implementation has to trigger settings with the
`BT_MESH_SETTINGS_RPL_PENDING` flag to ask the mesh settings work to
call `bt_mesh_rpl_pending_store`.

Signed-off-by: Pavel Vasilyev <[email protected]>
This error message may confuse when `CONFIG_BT_MESH_ACCESS_LAYER_MSG` is
enabled and all messages are processed by the callback anyway.
This error message also confuses when a node is subscribed to the same
address as it publishes to, which makes it generating the error message
every time it publishes a message.

Signed-off-by: Pavel Vasilyev <[email protected]>
@PavelVPV PavelVPV changed the title Bluetooth: Mesh: Message log level change and allow custom RPL use settings work Bluetooth: Mesh: Change no-opcode error message log level and allow custom RPL use settings work Dec 6, 2023
@fabiobaltieri fabiobaltieri merged commit ef1f2d1 into zephyrproject-rtos:main Dec 8, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants