Depreciated Code
-
There are some really great dev options here for building sensors :)
I'm looking at using
mGetCommandin my sketch to read the command sent to my node. I read thatmGetCommandis 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 -
There are some really great dev options here for building sensors :)
I'm looking at using
mGetCommandin my sketch to read the command sent to my node. I read thatmGetCommandis 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
isAckandMY_RADIO_NRF24are 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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login