Hi Oleg,
netopt_enable_t opt = NETOPT_DISABLE; gnrc_netif_get(ifs); gnrc_netapi_set(ifs[0], NETOPT_AUTOACK, 0, &opt, sizeof(opt)); gnrc_netapi_set(ifs[0], NETOPT_ACK_REQ, 0, &opt, sizeof(opt)); Did the trick. So there is a way to disable acknowledgements. Cheers, Simon Am Dienstag, den 09.08.2016, 16:40 +0200 schrieb Oleg Hahm: > Hi Simon! > > On Tue, Aug 09, 2016 at 02:33:56PM +0200, simon wrote: > > > > Currently I am testing my TCP implementation between two samr21 > > Boards > > and a Raspberry Pi as sniffing Probe in between. > > > > My measured network dump contains a few unexpected retransmissions > > and > > i am unable to distinguish between retransmissions caused by 15.4 > > and > > retransmissions caused by TCP. Is there a way to disable the 15.4 > > acknowledgement and retransmission mechanism? > > IIRC auto acknowledgement can currently not be disabled with the > at86rf2xx > driver, but you can set the retransmissions to zero. You can do this > either > using the shell: > > ifconfig 7 set retrans 0 > > or directly via netapi: > > gnrc_netapi_set(CCNLRIOT_NETIF, NETOPT_CSMA_RETRIES, 0, 0, > sizeof(uint8_t)); > > Cheers, > Oleg > _______________________________________________ > 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