mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 04:07:47 +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:
@@ -607,10 +607,14 @@ uint16_t otPlatTimeGetXtalAccuracy(void)
|
||||
#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 aShortAdd,
|
||||
const otExtAddress *aExtAddr)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(aCslPeriod);
|
||||
OT_UNUSED_VARIABLE(aShortAdd);
|
||||
OT_UNUSED_VARIABLE(aExtAddr);
|
||||
|
||||
return OT_ERROR_NONE;
|
||||
|
||||
Reference in New Issue
Block a user