简体   繁体   中英

How to intercept special IEEE 802.15.4 frames on OpenThread?

I'm new to openthread and got a minimal Thread network running on two Makerdiary USB dongles based on nRF52840. Now I'd like to intercept special IEEE 802.15.4 frames and process them separately, eg from an energy harvesting switch. The MAC header looks like this:

  • Frame Control: 0x0801 (use short addresses)
  • Sequene Number: 1 byte
  • Address field: 0xffffffff (short destination address and pan id)
  • Source address and pan id are not included

How do I install a callback to intercept these frames and pass all others on to openthread?

Thanks

一种方法是连接到 nRF52840 无线电驱动程序,在那里接收无线电帧并将其传递给 OpenThread

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM