[riot-notifications] [RIOT] drivers: add cc110x driver (#3716)

Oleg Hahm notifications at github.com
Fri Sep 4 21:57:50 CEST 2015


> +        case NETOPT_MAX_PACKET_SIZE:
> +            assert(value_len > 0);
> +            *((uint8_t *)value) = CC110X_PACKET_LENGTH;
> +            return 1;
> +        case NETOPT_IPV6_IID:
> +            return _get_iid(dev, value, value_len);
> +        default:
> +            break;
> +    }
> +
> +    return -ENOTSUP;
> +}
> +
> +static int _set(netdev2_t *dev, netopt_t opt, void *value, size_t value_len)
> +{
> +    DEBUG("%s:%u\n", __func__, __LINE__);

Why do we have this here but not at similar places?

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


More information about the notifications mailing list