Hi Neo,
the general fallback for an unsupported option is to return `-ENOSUP`
for an unsupported option type and `-EINVAL` for an unsupported option
value.
Hope that was helpful.

Cheers,
Martine

2016-08-08 23:10 GMT+02:00 Neo <[email protected]>:
> Hello everyone,
> I have just a question about the "State-Management" of the network driver.
> As a reference for my MRF24J40 driver I have used the AT86RF2XX driver.
> Inside of this driver there are software states which are not applicable for
> the MRF24J40 radio module.
> What should I do with the unsupported states?
> I thought the Netdev2 device driver is intended to have an abstraction layer
> which provides an API which is independent from the hardware.....how should
> I map my silicon/chip states to the NetAPI states?
>
> Best regards,
> Neo
> _______________________________________________
> devel mailing list
> [email protected]
> https://lists.riot-os.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to