Sample using nrf_802154_receive_at

Hello,

is there any example using the IEEE 802.15.4 driver?

I was able to send and receive a some packets by using nrf_802154_receive and nrf_802154_transmit_raw, and now I would like to synchronize transmission and reception by using nrf_802154_receive_at and nrf_802154_transmit_raw_at. Unfortunately these functions don't even compile because the macro NRF_802154_DELAYED_TRX_ENABLED is not defined.

Where can I find an example that shows how to use those functions?

Best regards

Parents
  • Hello,

    What driver do you refer to? Do you refer to the old legacy nRF5 SDK's IEEE 802.15.4 driver? What SDK version are you using? The nRF5 SDK or the nRF Connect SDK (NCS). 

    And what sample do you refer to?

    Hopefully, a little more context makes it easier to understand what's not working Slight smile

    Best regards,

    Edvin

  • Hi Edvin,

    Sorry for the missing information.

    I'm using NCS 2.5 with the following:

    CONFIG_NRF_802154_RADIO_DRIVER=y
    CONFIG_NRF_802154_SOURCE_HAL_NORDIC=y
    and I'm using the functions defined in nrf_802154.h
    I'm not referring to any example. My question is: where do I find any example for the functions nrf_802154_receive_at and nrf_802154_transmit_raw_at?
    Best regards,
    Giuseppe
  • Hello,

    Sorry. I don't think we have any raw 802.15.4 samples. Only Openthread and Zigbee samples, which are drivers that utilize the 802.15.4 driver.

    The NRF_802154_DELAYED_TRX_ENABLED is defined if CONFIG_NRF_802154_SL_OPENSOURCE is not defined. Is it defined in your build? You can check the outcome of all your configuration files in the build folder:

    build\zephyr\include\generated\autoconf.h.

    Best regards,

    Edvni

Reply
  • Hello,

    Sorry. I don't think we have any raw 802.15.4 samples. Only Openthread and Zigbee samples, which are drivers that utilize the 802.15.4 driver.

    The NRF_802154_DELAYED_TRX_ENABLED is defined if CONFIG_NRF_802154_SL_OPENSOURCE is not defined. Is it defined in your build? You can check the outcome of all your configuration files in the build folder:

    build\zephyr\include\generated\autoconf.h.

    Best regards,

    Edvni

Children
Related