mirror of
https://github.com/espressif/openthread.git
synced 2026-08-26 04:09:52 +00:00
[low-power] extend EnableCsl API (#6675)
Include the peer's short address together with the extended address when enabling the CSL link. This removes the need for the platform to guess it.
This commit is contained in:
@@ -1165,9 +1165,13 @@ static uint8_t generateAckIeData(uint8_t *aLinkMetricsIeData, uint8_t aLinkMetri
|
||||
#endif
|
||||
|
||||
#if OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE
|
||||
otError otPlatRadioEnableCsl(otInstance *aInstance, uint32_t aCslPeriod, const otExtAddress *aExtAddr)
|
||||
otError otPlatRadioEnableCsl(otInstance * aInstance,
|
||||
uint32_t aCslPeriod,
|
||||
otShortAddress aShortAddr,
|
||||
const otExtAddress *aExtAddr)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(aShortAddr);
|
||||
OT_UNUSED_VARIABLE(aExtAddr);
|
||||
|
||||
otError error = OT_ERROR_NONE;
|
||||
|
||||
Reference in New Issue
Block a user