Skip to content

38.xarm_set_reduced_mode

1. Introduction

Set Reduction Mode Interface.

Sets the reduction mode.

2.Request & Response

Message

json
{
    "cmd": "xarm_set_reduced_mode",
    "data": {
        'on': true, 
        'save': true
    },
    "id": "1"
}

Request

datatypeRequired filedDescriptionexample value
saveboolnoWhether to save the settings to the firmware or not, or false if nottrue
onboolyesWhether to enable the shrink modetrue

Response:

code=0->Success;
code!=0->Failed, refer to xarm_api_code;