Skip to content

Commit

Permalink
net: openthread: Add openthread tcat multiradio config.
Browse files Browse the repository at this point in the history
As per BHC-750 in TCAT case for now only allowed devices are the ones
that have either dual radio or multiplexed radio capabilities. So the 'M' bit
in BLE advertisement should be always set to 1. In future specifications
devices without multiradio capabilities will be allowed this is the reason
why new Kconfig was introduced.

Signed-off-by: Przemyslaw Bida <[email protected]>
  • Loading branch information
Przemyslaw Bida committed Dec 17, 2024
1 parent d27e4dc commit cd2ff79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions modules/openthread/Kconfig.thread
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,12 @@ config OPENTHREAD_DEFAULT_TX_POWER
help
Set the default TX output power [dBm] in radio driver for OpenThread purpose.

config OPENTHREAD_TCAT_MULTIRADIO_CAPABILITIES
bool "Openthread multiradio capability"
default y if OPENTHREAD_BLE_TCAT
help
Openthread multiradio capability.

config OPENTHREAD_BLE_TCAT_THREAD_STACK_SIZE
int "Openthread default TCAT stack size"
default 5120 if OPENTHREAD_CRYPTO_PSA
Expand Down
2 changes: 1 addition & 1 deletion modules/openthread/platform/ble.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ bool otPlatBleSupportsMultiRadio(otInstance *aInstance)
{
OT_UNUSED_VARIABLE(aInstance);

return false;
return CONFIG_OPENTHREAD_TCAT_MULTIRADIO_CAPABILITIES;
}

otError otPlatBleGetAdvertisementBuffer(otInstance *aInstance, uint8_t **aAdvertisementBuffer)
Expand Down

0 comments on commit cd2ff79

Please sign in to comment.