[riot-devel] MRF24J40 radio module driver - not used States

Martine Lenders mail at martine-lenders.eu
Mon Aug 8 23:16:50 CEST 2016


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 <neo at nenaco.de>:
> 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
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel


More information about the devel mailing list