[riot-notifications] [RIOT] ng_at86rf2xx: Implement CSMA en/disable and setting retries (#3138)

Oleg Hahm notifications at github.com
Tue Jun 30 23:26:16 CEST 2015


> +
> +    ng_at86rf2xx_reg_write(dev,
> +            NG_AT86RF2XX_REG__CSMA_BE,
> +            (max << 4) | (min));
> +}
> +
> +void ng_at86rf2xx_set_csma_seed(ng_at86rf2xx_t *dev, uint8_t entropy[2])
> +{
> +    if(entropy == NULL) {
> +        DEBUG("[ng_at86rf2xx] opt: CSMA seed entropy is nullpointer");
> +        return;
> +    }
> +    DEBUG("[ng_at86rf2xx] opt: Set CSMA seed to 0x%x 0x%x", entropy[0], entropy[1]);
> +
> +    ng_at86rf2xx_reg_write(dev,
> +        NG_AT86RF2XX_REG__CSMA_SEED_0,

indentation is off

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3138/files#r33625693
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150630/b0aba84a/attachment.html>


More information about the notifications mailing list