I guess if you only want to use the ACK frame as an input of the function, given that it is hard to get from the extended mode, then, maybe one solution is that you can manually build one yourself (you can get the sequence number from the hardware) and pass it to the function.
Cheers, Shuguo ----- 原始邮件 ----- > 发件人: "Joakim Nohlgård" <joakim.nohlg...@eistec.se> > 收件人: "RIOT OS kernel developers" <devel@riot-os.org> > 发送时间: 星期四, 2017年 6 月 15日 下午 10:55:03 > 主题: Re: [riot-devel] At86rf2xx ACK frame > Why do you need the actual ACK frame? It's only like 3 bytes + FCS and > doesn't really contain anything interesting. The only interesting > information is that the frame with the given sequence id was received > properly, which is exactly the same information you get from the transceiver > hardware. > Regards, > Joakim > On Jun 15, 2017 8:18 AM, "Baptiste Clenet" < bapcle...@gmail.com > wrote: > > Which mean that automated ACK by the transceiver is fine. > > > 1 - RIOT sends a frame > > > 2 - Transceiver receives an ACK and transmit a > > AT86RF2XX_TRX_STATE__TRAC_SUCCESS > > > 3 - Here I want to get the ACK frame content > > > 4 - Use it with openthread (Have a look here [1] to understand why we need > > it) > > > [1] > > https://github.com/openthread/openthread/blob/master/include/openthread/platform/radio.h#L404 > > > Cheers, > > > 2017-06-13 15:46 GMT+02:00 Baptiste Clenet < bapcle...@gmail.com >: > > > > 2017-06-13 14:45 GMT+02:00 Oleg < o...@riot-os.org >: > > > >> Hi Baptiste! > > > >> > > > >> On 2017-06-13 12:30, Baptiste Clenet wrote: > > > >>> > > > >>> On netdev event: NETDEV_EVENT_TX_COMPLETE (after > > > >>> AT86RF2XX_TRX_STATE__TRAC_SUCCESS state), how may I get the ACK frame > > > >>> received by at86rf2xx? > > > >> > > > >> > > > >> The ACK frame is processed automatically by the transceiver. There is no > > >> way > > > >> to access it using the extended mode. If you use the base mode, you will > > > >> have to send and process the ACK yourself. > > > >> > > > > > > > > Ok I don't want to process the ACK myself, I only want to get the > > > > frame on AT86RF2XX_TRX_STATE__TRAC_SUCCESS state. Is the ACK frame > > > > store in a register/frame buffer? Or do we must use base mode to get > > > > the ACK frame. > > > > > > > >> > > > >> Cheers, > > > >> Oleg > > > >> _______________________________________________ > > > >> devel mailing list > > > >> devel@riot-os.org > > > >> https://lists.riot-os.org/mailman/listinfo/devel > > > > > > > > > > > > > > > > -- > > > > Baptiste > > > -- > > > Baptiste > > > _______________________________________________ > > > devel mailing list > > > devel@riot-os.org > > > https://lists.riot-os.org/mailman/listinfo/devel > > _______________________________________________ > devel mailing list > devel@riot-os.org > https://lists.riot-os.org/mailman/listinfo/devel
_______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel