Add AT+Rx commands to read out the actual waypoint configuration from the mower #129
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
AT+RN command added to read out the WayCount values
AT+RNX command added to read out the Exclusion[0-n]Count values
AT+RP or AT+RP,StartIdx,NumberOfPoints,ChkSum command added to read out the perimeter point position values
AT+RD or AT+RD,StartIdx,NumberOfPoints,ChkSum commands added to read out the dock point position values
AT+RM or AT+RM,StartIdx,NumberOfPoints,ChkSum commands added to read out the mow point position values
AT+RX,ExclusionIdx,ChkSum or AT+RX,ExclusionIdx,StartIdx,NumberOfPoints,ChkSum command added to read out the Exclusion point position values for exclusion ExclusionIdx [0-n]
AT+RF or AT+RF,StartIdx,NumberOfPoints,ChkSum commands added to read out the free point position values
Target:
Handling for apps to read out to actual used perimeter, exclusion, docking, waypoint values from mower to be able to use the same configuration in several app devices without needed internet server copy process
Handling:
returns RN,#peri,#excl,#dock,#mow,#free (,chksum)
returns RNX,cntExclusions,cntPointsExclusion1,cntPointsExclusion2,cntPointsExclusion3,cntPointsExclusion4,... (,chksum)
returns RP,x,y,x,y,x,y,x,y,... (,chksum)
returns RD,x,y,x,y,x,y,x,y,... (,chksum)
returns RM,x,y,x,y,x,y,x,y,... (,chksum)
returns RF,x,y,x,y,x,y,x,y,... (,chksum)
returns RX,x,y,x,y,x,y,x,y,... (,chksum)
Using the read point commands without StartIdx and NumberOfPoints returns all points of the category. This is not possible at big numbers of points.
Using the read point commands with StartIdx and NumberOfPoints returns at maximum NumberOfPoints points starting with the StartIdx. It returns less points if there are less points available.
All used indexes start with 0 and end with available count - 1
Examples: