mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-04 20:26:38 +03:00
feat(802.15.4): add SW data request detection
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -414,6 +414,11 @@ static inline void ieee802154_ll_set_pending_mode(bool enable)
|
||||
IEEE802154.conf.pending_enhance = enable;
|
||||
}
|
||||
|
||||
static inline bool ieee802154_ll_get_pending_mode(void)
|
||||
{
|
||||
return IEEE802154.conf.pending_enhance;
|
||||
}
|
||||
|
||||
FORCE_INLINE_ATTR void ieee802154_ll_set_pending_bit(bool pending)
|
||||
{
|
||||
IEEE802154.pending_cfg.pending = pending;
|
||||
|
||||
Reference in New Issue
Block a user