Depreciated Code
-
There are some really great dev options here for building sensors
I'm looking at using
mGetCommand
in my sketch to read the command sent to my node. I read thatmGetCommand
is marked as Depreciated in the code, and that this and many other methods are marked as Deprecated, as mentioned in the "Deprecated List":- https://www.mysensors.org/apidocs-beta/deprecated.html
- https://www.mysensors.org/apidocs-beta/group__MyMessagegrp.html#gae2370fc35a3e46b0d83d1efeb9947701
Is there a date when these methods will be obsolete and/or replaced ?
And is there somewhere to find other methods to use that are not being currently deprecated ?
I'm using version 2.3.1
-
@frank-c each of the deprecated methods should have information on what to use instead. But I see that such information is not available for all deprecated methods.
On https://www.mysensors.org/apidocs-beta/deprecated.html
isAck
andMY_RADIO_NRF24
are good examples of what it should look like:
I don't think we have any hard rules on when these will be removed, but I think most of them will be removed whenever 3.x is released (if/when that happens). But the project is driven by the community, so it would depend on what people want.
-
@mfalkvidd , I see. That makes sense, thanks.