Read and write the device’s static IP address. set writes the new IP to the device’s flash. The firmware doesn’t hot-swap the running Ethernet stack, so the new IP takes effect only after the next reboot. Between set and reboot, get still returns the current IP.
hand.ip().get() # read the current IP, e.g. "192.168.1.110"hand.ip().set("192.168.1.201") # write to flash, takes effect after reboot
The IP must be unique on the subnet. Avoid addresses already used by other devices or the host network adapter.Changing the IP takes four steps: set the new address, reboot the device, reconnect at the new IP, and get to confirm.
hand.ip().set("192.168.1.201")hand.reboot()manager.disconnect_all()# wait for the device to reboot and Ethernet to come up, about 8 secondshand = manager.connect(address="192.168.1.201:50001", device_name="wuji_hand_2")hand.ip().get() # → "192.168.1.201"
The new IP takes effect only after a reboot. set writes to flash without changing the live connection. Before the reboot, get still returns the current IP.
port (SET/GET)
Read and write the device’s data port, the UDP port the hand accepts SDK connections on. The factory default is 50001. Changing the port requires recent firmware and WUJI SDK. Upgrade both to the latest version first. Firmware earlier than v2.10.0 allows reads only and rejects writes with an error.set saves the new port, and the device switches to that port after the next reboot. The saved port persists across power loss. Unlike ip, get returns the new port as soon as set succeeds, which is the port the device uses after its next reboot.
hand.port().get() # read the port, e.g. 50001hand.port().set(50002) # save the new port, takes effect after reboot
Valid ports are 7400–65535, except the discovery port 50000. A port outside that range, or 50000, makes set raise WujiException (the message contains Invalid argument), and the port keeps its current value. Writes also fail while the device is upgrading firmware. Retry after the upgrade finishes.To change the port:
Call hand.port().set() to write the new port.
Call hand.reboot() to restart the device.
Reconnect to the device on the new port.
Call hand.port().get() to confirm the port.
Connections made through auto_connect, sn, or handedness pick up the new port from device discovery, so the connection code stays the same. For connections by address, change the port in the address. Example:
hand.port().set(50002)hand.reboot()manager.disconnect_all()# wait for the device to reboot and Ethernet to come up, about 8 secondshand = manager.connect(address="192.168.1.111:50002", device_name="wuji_hand_2")hand.port().get() # → 50002
The new port takes effect only after a reboot. Until then, the device keeps communicating on the current port. If your computer runs a firewall, allow UDP traffic on the new port before the reboot.
reboot (EXEC)
Reboot the device. The device disconnects and needs a fresh connection. Pair it with ip().set() or port().set() to apply a newly saved IP or port.
hand.reboot()
Enable / Disable / Emergency Stop
hand.enable() # enable all jointshand.disable() # disable all jointshand.enable(joints=mask) # optional: 0/1 mask of length 20 — acts on joints with a 1hand.emergency_stop() # emergency stop: whole-hand action, no mask
clear_fault (EXEC)
Clear faults: a direct action. Without arguments it acts on the whole hand.
hand.clear_fault() # clear faults on all jointshand.clear_fault(joints=mask) # optional: 0/1 mask of length 20 — only joints with a 1 are cleared
The C API matches the Python API on this page and uses the wuji_hand_2_ prefix. For initialization conventions, memory management, error codes, and build setup, see the C API Reference.
Control Actions (With 20-Joint Mask)
enable / disable / clear_fault / set_origin / clear_origin accept an optional const uint8_t mask[20]. Pass NULL to act on every joint. emergency_stop only acts on the whole hand and accepts no mask:
// Whole-hand enablewuji_hand_2_enable(dev, NULL);// Whole-hand clear faultswuji_hand_2_clear_fault(dev, NULL);// Index finger only (flat indices 4..7)uint8_t mask[20] = {0};for (int i = 4; i < 8; i++) mask[i] = 1;wuji_hand_2_enable(dev, mask); // enable only the 4 index-finger jointswuji_hand_2_clear_fault(dev, mask); // clear faults only on the 4 index-finger joints// Whole-hand emergency stopwuji_hand_2_emergency_stop(dev);// User originwuji_hand_2_set_origin(dev, NULL);wuji_hand_2_clear_origin(dev, NULL);
Data Port
wuji_hand_2_get_port reads the data port (the UDP port the device accepts SDK connections on, 50001 by factory default), and wuji_hand_2_set_port saves a new port. Changing the port requires recent WUJI Hand 2 firmware and WUJI SDK. Upgrade both to the latest version first.
uint16_t port = 0;wuji_hand_2_get_port(dev, &port); // e.g. 50001if (wuji_hand_2_set_port(dev, 50002) != WUJI_STATUS_OK) { fprintf(stderr, "set port failed: %s\n", wuji_last_error());} else { wuji_hand_2_reboot(dev); // switch to the new port after reboot}
The new port takes effect after the device reboots and persists across power loss. Once wuji_hand_2_set_port succeeds, wuji_hand_2_get_port returns the new port right away. Valid ports are 7400–65535, except the discovery port 50000. An out-of-range port makes wuji_hand_2_set_port return a status other than WUJI_STATUS_OK, with Invalid argument in wuji_last_error(), and the port keeps its current value. Firmware earlier than v2.10.0 doesn’t accept the write and also returns an error status. After the reboot, connections by address need the new port. Connections through device discovery need no change.
Identity and Diagnostics
WujiHandedness side;wuji_hand_2_get_handedness(dev, &side); // WUJI_HANDEDNESS_LEFT / _RIGHTuint8_t n_online;wuji_hand_2_online_joints_count(dev, &n_online); // 0..20// Two-call string getter: first probe with buf=NULL, buf_len=0 to learn the required sizesize_t needed = 0;wuji_hand_2_get_ip(dev, NULL, 0, &needed);char* ip = malloc(needed);wuji_hand_2_get_ip(dev, ip, needed, NULL);printf("ip=%s\n", ip);free(ip);
Write the IP with wuji_hand_2_set_ip(dev, "192.168.1.201") and restart the device with wuji_hand_2_reboot(dev). Both take effect exactly as the Python calls do.get_hw_version / get_comm_diag return an out struct with heap-owned fields. Release with the matching _free function after use (only when the call returned WUJI_STATUS_OK).
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WUJI Docs","colors":{"primary":"#207FFF","light":"#4D9BFF","dark":"#1A66CC"},"logo":{"light":"https://mintcdn.com/wuji-0bbde051/L5L7y_1GoeOydbgy/shared/assets/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=L5L7y_1GoeOydbgy\u0026q=85\u0026s=1e43e384fc1295b14de2c02f102e820c","dark":"https://mintcdn.com/wuji-0bbde051/L5L7y_1GoeOydbgy/shared/assets/brand/logo-dark.svg?fit=max\u0026auto=format\u0026n=L5L7y_1GoeOydbgy\u0026q=85\u0026s=a12bbb202cabfeefe746637a8bddd666"},"favicon":"https://mintcdn.com/wuji-0bbde051/kLBbV0Hk1sanGeHp/favicon.svg?fit=max\u0026auto=format\u0026n=kLBbV0Hk1sanGeHp\u0026q=85\u0026s=1611c36a923485b6cfc9b39710953a0c","fonts":{"family":"Geist"},"icons":{"library":"lucide"},"styling":{"latex":true},"integrations":{"posthog":{"apiKey":"phc_nVQdYL3r3zwY0RHLjJdr3uaZiMSp3TPPR5Qcj3oyKGv","apiHost":"https://eu.i.posthog.com","sessionRecording":false}},"contextual":{"options":["copy","view","claude","chatgpt","mcp"],"display":"header"},"interaction":{"drilldown":false},"navigation":{"languages":[{"language":"cn","banner":{"content":"**新** · 2026.11.23 · MIT_V2 控制、整机诊断与开发者资源。[查看详情](/docs/zh/release-notes#2026-11-23)","dismissible":true},"footer":{"socials":{"github":"https://github.com/wuji-technology"},"links":[{"header":"探索","items":[{"label":"发布记录","href":"/docs/zh/release-notes"},{"label":"视频","href":"/docs/zh/videos"},{"label":"归档","href":"/docs/zh/archived"}]},{"header":"公司","items":[{"label":"产品官网","href":"https://wuji.tech"},{"label":"GitHub","href":"https://github.com/wuji-technology"},{"label":"sales@wuji.tech","href":"mailto:sales@wuji.tech"}]}]},"navbar":{"links":[{"href":"/docs/zh/release-notes","label":"发布记录"},{"href":"/docs/zh/videos","label":"视频"},{"href":"/docs/zh/archived","label":"归档"}]},"href":"docs/zh"},{"language":"en","banner":{"content":"**New** · 2026.11.23 · MIT_V2 control, whole-device diagnostics, and developer resources. [Read more](/docs/en/release-notes#2026-11-23)","dismissible":true},"footer":{"socials":{"github":"https://github.com/wuji-technology"},"links":[{"header":"Explore","items":[{"label":"Release notes","href":"/docs/en/release-notes"},{"label":"Videos","href":"/docs/en/videos"},{"label":"Archived","href":"/docs/en/archived"}]},{"header":"Company","items":[{"label":"Product site","href":"https://wuji.tech"},{"label":"GitHub","href":"https://github.com/wuji-technology"},{"label":"sales@wuji.tech","href":"mailto:sales@wuji.tech"}]}]},"navbar":{"links":[{"href":"/docs/en/release-notes","label":"Release notes"},{"href":"/docs/en/videos","label":"Videos"},{"href":"/docs/en/archived","label":"Archived"}]},"href":"docs/en"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wuji-0bbde051","hasAudioNarration":false,"actualSubdomain":"wuji-0bbde051","customDomains":["docs.wuji.tech"],"gitSource":{"type":"github","owner":"wuji-technology","repo":"wuji-developer-docs","deployBranch":"main","contentDirectory":"site","isPrivate":true,"mountPath":"","label":"","_id":"6b1100699ffae5051c41da04"},"feedback":{"issues":false,"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b1279c4da555eacfb415606","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"en","tag":"Hardware","count":73},{"language":"cn","tag":"硬件","count":73},{"language":"en","tag":"More","count":63},{"language":"cn","tag":"更多","count":63},{"language":"en","tag":"Archived","count":60},{"language":"cn","tag":"归档","count":60},{"language":"en","tag":"Integration and Development","count":48},{"language":"cn","tag":"集成与开发","count":48},{"language":"en","tag":"WUJI Hand 2","count":37},{"language":"cn","tag":"WUJI Hand 2","count":37},{"language":"en","tag":"Software","count":32},{"language":"en","tag":"WUJI Glove","count":32},{"language":"cn","tag":"软件","count":32},{"language":"cn","tag":"WUJI Glove","count":32},{"language":"en","tag":"2.2 Beta","count":31},{"language":"cn","tag":"2.2 Beta","count":31},{"language":"en","tag":"Getting Started","count":28},{"language":"cn","tag":"入门","count":28},{"language":"en","tag":"SDK Practice","count":24},{"language":"cn","tag":"SDK 使用实践","count":24}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"styles/content.css","href":"/_mintlify/custom/wuji-0bbde051/cb23de40d70268f7/styles/content.css"},{"filePath":"styles/footer.css","content":"#footer a[href*=\"utm_campaign=poweredBy\"],#footer div:has(>button[data-testid^=\"mode-switch-\"]){display:none}#footer [data-wj-subscribe-links]>wuji-subscribe{grid-column:1 / -1;min-width:0}@media (min-width: 1280px){#footer [data-wj-subscribe-links]{grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) minmax(15rem, 2fr)!important}#footer [data-wj-subscribe-links]>wuji-subscribe{grid-column:auto}}"},{"filePath":"styles/navbar.css","content":"#navbar{--nav-control-bg: #f5f5f7;--nav-control-hover-bg: #eeeef0;--nav-control-focus: #1a66cc}.dark #navbar{--nav-control-bg: #1d1d1f;--nav-control-hover-bg: #2c2c2e;--nav-control-focus: #4d9bff}#navbar #search-bar-entry,#navbar #search-bar-entry-mobile,#navbar #assistant-entry,#navbar #assistant-entry-mobile{border:0;box-shadow:none;background:var(--nav-control-bg);filter:none}#navbar #search-bar-entry,#navbar #assistant-entry{border-radius:12px}#navbar #search-bar-entry-mobile,#navbar #assistant-entry-mobile{border-radius:10px}#navbar #search-bar-entry:hover,#navbar #search-bar-entry-mobile:hover,#navbar #assistant-entry:hover,#navbar #assistant-entry-mobile:hover{background:var(--nav-control-hover-bg)}#navbar #search-bar-entry:focus-visible,#navbar #search-bar-entry-mobile:focus-visible,#navbar #assistant-entry:focus-visible,#navbar #assistant-entry-mobile:focus-visible{outline:2px solid var(--nav-control-focus);outline-offset:2px}@media (min-width: 1024px){#navbar div:has(>div>div>#search-bar-entry){container:wuji-navbar / inline-size}#navbar div:has(>div>#localization-select-trigger){display:contents}#navbar div:has(>#localization-select-trigger){order:1;flex:0 0 auto}#navbar div:has(>#search-bar-entry){flex:1 1 0%;min-width:16rem;max-width:32rem;margin-inline:auto}#navbar #search-bar-entry,#navbar #search-bar-entry>div{min-width:0}#navbar div:has(>nav[aria-label=\"Main\"]){flex:0 1 auto;min-width:0}#navbar nav[aria-label=\"Main\"]{min-width:0;overflow-x:auto}#navbar nav[aria-label=\"Main\"]>ul{width:max-content}#navbar div:has(>#theme-preference-menu-trigger){flex-shrink:0}@container wuji-navbar (max-width: 68rem){#navbar div:has(>div>#search-bar-entry){column-gap:0.5rem}#navbar .nav-logo{width:13.5rem;height:auto}#navbar div:has(>#search-bar-entry){flex:0 0 auto;min-width:0;max-width:none;margin-inline:0;gap:0.5rem}#navbar #search-bar-entry,#navbar #assistant-entry{flex:0 0 2.25rem;width:2.25rem;min-width:2.25rem;padding-inline:0;justify-content:center;gap:0}#navbar #search-bar-entry>div>div,#navbar #search-bar-entry>span,#navbar #assistant-entry>span{display:none}#navbar nav[aria-label=\"Main\"]>ul{column-gap:0.75rem}#navbar nav[aria-label=\"Main\"]>ul>li{margin-inline:0}#navbar div:has(>nav[aria-label=\"Main\"]){column-gap:0.5rem}#navbar div:has(>#theme-preference-menu-trigger){margin-inline-start:0}}}"},{"filePath":"styles/sidebar.css","content":""},{"filePath":"styles/toc.css","content":":is(#table-of-contents,#table-of-contents-content) li[data-release-filter-hidden]{display:none!important}:is(#table-of-contents,#table-of-contents-content) li[data-release-level=\"month\"]>a{padding-inline-start:0;padding-top:8px;font-weight:600}:is(#table-of-contents,#table-of-contents-content) li[data-release-level=\"entry\"]>a{padding-inline-start:14px;font-size:0.8125rem}:is(#table-of-contents,#table-of-contents-content) li[data-release-level=\"detail\"]>a{padding-inline-start:28px;font-size:0.8125rem}"}]}
{"page":{"pagePath":"docs/en/wuji-hand/latest/sdk-reference/device-operations","slug":"/docs/en/wuji-hand/latest/sdk-reference/device-operations","pageMetadata":{"title":"Device Parameters and Operations","description":null,"href":"/docs/en/wuji-hand/latest/sdk-reference/device-operations"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`device-information`,children:`Device Information`}),`\n`,_jsxs(_components.p,{children:[`In Python, `,_jsx(_components.code,{children:`connect()`}),` and `,_jsx(_components.code,{children:`auto_connect()`}),` return a `,_jsx(_components.code,{children:`WujiHand2`}),` instance when connecting to a WUJI Hand 2.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`serial_number`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`str`})}),_jsx(_components.td,{children:`Device serial number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`device_name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`str`})}),_jsx(_components.td,{children:`Device alias specified at connection time, not a device type selector`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`info`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Optional[DeviceInfo]`})}),_jsxs(_components.td,{children:[`Device information, including `,_jsx(_components.code,{children:`serial_number`}),` and `,_jsx(_components.code,{children:`firmware_version`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_connected`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`bool`})}),_jsx(_components.td,{children:`Connection status`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`hardware-version`,children:`Hardware Version`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`version `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` hand.hw_version().get()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`version.major`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`version.minor`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`version.patch`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`HwVersion(major, minor, patch)`}),` for the device’s factory hardware version. `,_jsx(_components.code,{children:`0.0.0`}),` means no factory hardware version is recorded.`]}),`\n`,_jsx(Heading,{level:`2`,id:`handedness-get`,children:`handedness (GET)`}),`\n`,_jsxs(_components.p,{children:[`Get the `,_jsx(_components.strong,{children:`handedness`}),` result (left / right).`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Python`,id:`python`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`side `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` hand.handedness().get() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# → \"left\" or \"right\"`})]}),`\n`]})})})}),_jsx(Tab,{title:`C`,id:`c`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`c`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`c`,children:_jsxs(_components.code,{language:`c`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`WujiHandedness side;`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_get_handedness`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`side`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`ip-set/get`,children:`ip (SET/GET)`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Read and write the device’s static IP address`}),`. `,_jsx(_components.code,{children:`set`}),` writes the new IP to the device’s flash. The firmware doesn’t hot-swap the running Ethernet stack, so the new IP takes effect only after the next reboot. Between `,_jsx(_components.code,{children:`set`}),` and reboot, `,_jsx(_components.code,{children:`get`}),` still returns the current IP.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.ip().get() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# read the current IP, e.g. \"192.168.1.110\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.ip().set(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"192.168.1.201\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# write to flash, takes effect after reboot`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The IP must be unique on the subnet. Avoid addresses already used by other devices or the host network adapter.`}),`\n`,_jsxs(_components.p,{children:[`Changing the IP takes four steps: `,_jsx(_components.code,{children:`set`}),` the new address, `,_jsx(_components.code,{children:`reboot`}),` the device, reconnect at the new IP, and `,_jsx(_components.code,{children:`get`}),` to confirm.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.ip().set(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"192.168.1.201\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.reboot()`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`manager.disconnect_all()`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# wait for the device to reboot and Ethernet to come up, about 8 seconds`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` manager.connect(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"192.168.1.201:50001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`device_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wuji_hand_2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.ip().get() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# → \"192.168.1.201\"`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The new IP takes effect only after a reboot. `,_jsx(_components.code,{children:`set`}),` writes to flash without changing the live connection. Before the reboot, `,_jsx(_components.code,{children:`get`}),` still returns the current IP.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`port-set/get`,children:`port (SET/GET)`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Read and write the device’s data port`}),`, the UDP port the hand accepts SDK connections on. The factory default is `,_jsx(_components.code,{children:`50001`}),`. Changing the port requires recent firmware and WUJI SDK. Upgrade both to the latest version first. Firmware earlier than v2.10.0 allows reads only and rejects writes with an error.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`set`}),` saves the new port, and the device switches to that port after the next reboot. The saved port persists across power loss. Unlike `,_jsx(_components.code,{children:`ip`}),`, `,_jsx(_components.code,{children:`get`}),` returns the new port as soon as `,_jsx(_components.code,{children:`set`}),` succeeds, which is the port the device uses after its next reboot.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.port().get() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# read the port, e.g. 50001`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.port().set(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50002`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# save the new port, takes effect after reboot`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Valid ports are 7400–65535, except the discovery port `,_jsx(_components.code,{children:`50000`}),`. A port outside that range, or `,_jsx(_components.code,{children:`50000`}),`, makes `,_jsx(_components.code,{children:`set`}),` raise `,_jsx(_components.code,{children:`WujiException`}),` (the message contains `,_jsx(_components.code,{children:`Invalid argument`}),`), and the port keeps its current value. Writes also fail while the device is upgrading firmware. Retry after the upgrade finishes.`]}),`\n`,_jsx(_components.p,{children:`To change the port:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Call `,_jsx(_components.code,{children:`hand.port().set()`}),` to write the new port.`]}),`\n`,_jsxs(_components.li,{children:[`Call `,_jsx(_components.code,{children:`hand.reboot()`}),` to restart the device.`]}),`\n`,_jsx(_components.li,{children:`Reconnect to the device on the new port.`}),`\n`,_jsxs(_components.li,{children:[`Call `,_jsx(_components.code,{children:`hand.port().get()`}),` to confirm the port.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Connections made through `,_jsx(_components.code,{children:`auto_connect`}),`, `,_jsx(_components.code,{children:`sn`}),`, or `,_jsx(_components.code,{children:`handedness`}),` pick up the new port from device discovery, so the connection code stays the same. For connections by address, change the port in the address. Example:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.port().set(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50002`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.reboot()`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`manager.disconnect_all()`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# wait for the device to reboot and Ethernet to come up, about 8 seconds`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` manager.connect(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"192.168.1.111:50002\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`device_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wuji_hand_2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.port().get() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# → 50002`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The new port takes effect only after a reboot. Until then, the device keeps communicating on the current port. If your computer runs a firewall, allow UDP traffic on the new port before the reboot.`})}),`\n`,_jsx(Heading,{level:`2`,id:`reboot-exec`,children:`reboot (EXEC)`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Reboot the device`}),`. The device disconnects and needs a fresh connection. Pair it with `,_jsx(_components.code,{children:`ip().set()`}),` or `,_jsx(_components.code,{children:`port().set()`}),` to apply a newly saved IP or port.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.reboot()`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`enable-/-disable-/-emergency-stop`,children:`Enable / Disable / Emergency Stop`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.enable() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# enable all joints`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.disable() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# disable all joints`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.enable(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`joints`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`mask) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# optional: 0/1 mask of length 20 — acts on joints with a 1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.emergency_stop() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# emergency stop: whole-hand action, no mask`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`clear_fault-exec`,children:`clear_fault (EXEC)`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Clear faults`}),`: a direct action. Without arguments it acts on the whole hand.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.clear_fault() `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# clear faults on all joints`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.clear_fault(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`joints`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`mask) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# optional: 0/1 mask of length 20 — only joints with a 1 are cleared`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The C API matches the Python API on this page and uses the `,_jsx(_components.code,{children:`wuji_hand_2_`}),` prefix. For initialization conventions, memory management, error codes, and build setup, see the `,_jsx(_components.a,{href:`/docs/en/wuji-sdk/latest/data-reference`,children:`C API Reference`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`control-actions-with-20-joint-mask`,children:`Control Actions (With 20-Joint Mask)`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`enable / disable / clear_fault / set_origin / clear_origin`}),` accept an optional `,_jsx(_components.code,{children:`const uint8_t mask[20]`}),`. Pass `,_jsx(_components.code,{children:`NULL`}),` to act on every joint. `,_jsx(_components.code,{children:`emergency_stop`}),` only acts on the whole hand and accepts no mask:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`c`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`c`,children:_jsxs(_components.code,{language:`c`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Whole-hand enable`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_enable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Whole-hand clear faults`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_clear_fault`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Index finger only (flat indices 4..7)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`uint8_t`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` mask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` i `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; i `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; i`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`++`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`mask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[i] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_enable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, mask);`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // enable only the 4 index-finger joints`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_clear_fault`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, mask);`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // clear faults only on the 4 index-finger joints`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Whole-hand emergency stop`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_emergency_stop`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// User origin`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_set_origin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_clear_origin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`data-port`,children:`Data Port`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`wuji_hand_2_get_port`}),` reads the data port (the UDP port the device accepts SDK connections on, `,_jsx(_components.code,{children:`50001`}),` by factory default), and `,_jsx(_components.code,{children:`wuji_hand_2_set_port`}),` saves a new port. Changing the port requires recent WUJI Hand 2 firmware and WUJI SDK. Upgrade both to the latest version first.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`c`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`c`,children:_jsxs(_components.code,{language:`c`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`uint16_t`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` port `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_get_port`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`port`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // e.g. 50001`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_set_port`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50002`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` WUJI_STATUS_OK) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fprintf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(stderr, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"set port failed: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#9CDCFE`},children:`%s`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_last_error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`());`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` wuji_hand_2_reboot`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev);`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // switch to the new port after reboot`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The new port takes effect after the device reboots and persists across power loss. Once `,_jsx(_components.code,{children:`wuji_hand_2_set_port`}),` succeeds, `,_jsx(_components.code,{children:`wuji_hand_2_get_port`}),` returns the new port right away. Valid ports are 7400–65535, except the discovery port `,_jsx(_components.code,{children:`50000`}),`. An out-of-range port makes `,_jsx(_components.code,{children:`wuji_hand_2_set_port`}),` return a status other than `,_jsx(_components.code,{children:`WUJI_STATUS_OK`}),`, with `,_jsx(_components.code,{children:`Invalid argument`}),` in `,_jsx(_components.code,{children:`wuji_last_error()`}),`, and the port keeps its current value. Firmware earlier than v2.10.0 doesn’t accept the write and also returns an error status. After the reboot, connections by address need the new port. Connections through device discovery need no change.`]}),`\n`,_jsx(Heading,{level:`2`,id:`identity-and-diagnostics`,children:`Identity and Diagnostics`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`c`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`c`,children:_jsxs(_components.code,{language:`c`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`WujiHandedness side;`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_get_handedness`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`side`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // WUJI_HANDEDNESS_LEFT / _RIGHT`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`uint8_t`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` n_online;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_online_joints_count`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`n_online`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // 0..20`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Two-call string getter: first probe with buf=NULL, buf_len=0 to learn the required size`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`size_t`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` needed `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_get_ip`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`needed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`char`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ip `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` malloc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(needed);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wuji_hand_2_get_ip`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(dev, ip, needed, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`NULL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`printf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ip=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#9CDCFE`},children:`%s`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, ip);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`free`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(ip);`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Write the IP with `,_jsx(_components.code,{children:`wuji_hand_2_set_ip(dev, \"192.168.1.201\")`}),` and restart the device with `,_jsx(_components.code,{children:`wuji_hand_2_reboot(dev)`}),`. Both take effect exactly as the Python calls do.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`get_hw_version`}),` / `,_jsx(_components.code,{children:`get_comm_diag`}),` return an `,_jsx(_components.code,{children:`out`}),` struct with heap-owned fields. Release with the matching `,_jsx(_components.code,{children:`_free`}),` function after use (only when the call returned `,_jsx(_components.code,{children:`WUJI_STATUS_OK`}),`).`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Device Parameters and Operations","description":null,"href":"/docs/en/wuji-hand/latest/sdk-reference/device-operations"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Device Information","slug":"device-information","depth":2,"children":[{"title":"Hardware Version","slug":"hardware-version","depth":3,"children":[]}]},{"title":"handedness (GET)","slug":"handedness-get","depth":2,"children":[]},{"title":"ip (SET/GET)","slug":"ip-set/get","depth":2,"children":[]},{"title":"port (SET/GET)","slug":"port-set/get","depth":2,"children":[]},{"title":"reboot (EXEC)","slug":"reboot-exec","depth":2,"children":[]},{"title":"Enable / Disable / Emergency Stop","slug":"enable-/-disable-/-emergency-stop","depth":2,"children":[]},{"title":"clear_fault (EXEC)","slug":"clear_fault-exec","depth":2,"children":[]},{"title":"Control Actions (With 20-Joint Mask)","slug":"control-actions-with-20-joint-mask","depth":2,"children":[]},{"title":"Data Port","slug":"data-port","depth":2,"children":[]},{"title":"Identity and Diagnostics","slug":"identity-and-diagnostics","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/wuji-0bbde051/b2c44d33b6c24023/scripts/copy-page-label.js","/_mintlify/custom/wuji-0bbde051/162568d2bdad1567/scripts/subscribe.js"],"subdomain":"wuji-0bbde051","siteName":"WUJI Docs","title":"Device Parameters and Operations - WUJI Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"cn":{"href":"/docs/zh/wuji-hand/latest/sdk-reference/device-operations","matchLevel":1},"en":{"href":"/docs/en/wuji-hand/latest/sdk-reference/device-operations","matchLevel":0}}},"lastModified":"2026-11-25T06:57:19.072Z","originalFileLocation":"docs/en/wuji-hand/latest/sdk-reference/device-operations.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"WUJI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Device Parameters and Operations - WUJI Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WUJI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wuji-0bbde051.mintlify.site/_mintlify/api/og/v2?division=SDK+Reference\u0026amp;title=Device+Parameters+and+Operations\u0026amp;theme=5ed30db2cb8604ac69e52a05\u0026amp;signature=e2ce2163f2636f059c2c597f42035654cf25e9831e97c7468c02f89b2a6ff2a0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Device Parameters and Operations - WUJI Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wuji-0bbde051.mintlify.site/_mintlify/api/og/v2?division=SDK+Reference\u0026amp;title=Device+Parameters+and+Operations\u0026amp;theme=5ed30db2cb8604ac69e52a05\u0026amp;signature=e2ce2163f2636f059c2c597f42035654cf25e9831e97c7468c02f89b2a6ff2a0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WUJI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#207FFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/en/wuji-hand/latest/sdk-reference/device-operations.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.wuji.tech/docs/zh/wuji-hand/latest/sdk-reference/device-operations\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.wuji.tech/docs/zh/wuji-hand/latest/sdk-reference/device-operations\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.wuji.tech/#organization\",\"name\":\"WUJI Docs\",\"url\":\"https://docs.wuji.tech\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wuji-0bbde051/L5L7y_1GoeOydbgy/shared/assets/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=L5L7y_1GoeOydbgy\u0026q=85\u0026s=1e43e384fc1295b14de2c02f102e820c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.wuji.tech#website\",\"name\":\"WUJI Docs\",\"url\":\"https://docs.wuji.tech\",\"publisher\":{\"@id\":\"https://docs.wuji.tech/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations#webpage\",\"url\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations\",\"name\":\"Device Parameters and Operations\",\"dateModified\":\"2026-11-25T06:57:19.072Z\",\"isPartOf\":{\"@id\":\"https://docs.wuji.tech#website\"},\"breadcrumb\":{\"@id\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hardware\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WUJI Hand 2\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"2.2 Beta\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Integration and Development\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/hardware-integration\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"SDK Reference\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"Device Parameters and Operations\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations#article\",\"headline\":\"Device Parameters and Operations\",\"name\":\"Device Parameters and Operations\",\"url\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations\",\"mainEntityOfPage\":{\"@id\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-reference/device-operations#webpage\"},\"dateModified\":\"2026-11-25T06:57:19.072Z\",\"publisher\":{\"@id\":\"https://docs.wuji.tech/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.wuji.tech#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WUJI Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"WUJI Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/en/wuji-hand/latest/sdk-reference/device-operations.md","siteName":"WUJI Docs","nav":{"global":null,"languages":[{"language":"cn","banner":{"content":"**新** · 2026.11.23 · MIT_V2 控制、整机诊断与开发者资源。[查看详情](/docs/zh/release-notes#2026-11-23)","dismissible":true},"footer":{"socials":{"github":"https://github.com/wuji-technology"},"links":[{"header":"探索","items":[{"label":"发布记录","href":"/docs/zh/release-notes"},{"label":"视频","href":"/docs/zh/videos"},{"label":"归档","href":"/docs/zh/archived"}]},{"header":"公司","items":[{"label":"产品官网","href":"https://wuji.tech"},{"label":"GitHub","href":"https://github.com/wuji-technology"},{"label":"sales@wuji.tech","href":"mailto:sales@wuji.tech"}]}]},"navbar":{"links":[{"href":"/docs/zh/release-notes","label":"发布记录"},{"href":"/docs/zh/videos","label":"视频"},{"href":"/docs/zh/archived","label":"归档"}]},"pages":[{"title":"cn","href":"/docs/zh/wuji-hand/latest/sdk-reference/device-operations"}]},{"language":"en","banner":{"content":"**New** · 2026.11.23 · MIT_V2 control, whole-device diagnostics, and developer resources. [Read more](/docs/en/release-notes#2026-11-23)","dismissible":true},"footer":{"socials":{"github":"https://github.com/wuji-technology"},"links":[{"header":"Explore","items":[{"label":"Release notes","href":"/docs/en/release-notes"},{"label":"Videos","href":"/docs/en/videos"},{"label":"Archived","href":"/docs/en/archived"}]},{"header":"Company","items":[{"label":"Product site","href":"https://wuji.tech"},{"label":"GitHub","href":"https://github.com/wuji-technology"},{"label":"sales@wuji.tech","href":"mailto:sales@wuji.tech"}]}]},"navbar":{"links":[{"href":"/docs/en/release-notes","label":"Release notes"},{"href":"/docs/en/videos","label":"Videos"},{"href":"/docs/en/archived","label":"Archived"}]},"groups":[{"group":"Overview","pages":[{"title":"Welcome to the WUJI Developer Docs","mode":"wide","sidebarTitle":"Home","href":"/docs/en"}]},{"group":"Hardware","pages":[{"group":"WUJI Hand 2","pages":[{"group":"2.2 Beta","tag":"LATEST","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-hand/latest/index"},{"group":"Getting Started","pages":[{"title":"Version Identification and Compatibility","href":"/docs/en/wuji-hand/latest/version-compatibility"},{"title":"Product Introduction","href":"/docs/en/wuji-hand/latest/overview"},{"title":"User Notice","href":"/docs/en/wuji-hand/latest/user-notice"},{"title":"Quick Start","href":"/docs/en/wuji-hand/latest/quick-start"}]},{"group":"Integration and Development","pages":[{"group":"Hardware and Software Integration","pages":[{"title":"Mechanical Integration","href":"/docs/en/wuji-hand/latest/hardware-integration"},{"title":"Electrical and Network Integration","href":"/docs/en/wuji-hand/latest/electrical-network-integration"},{"title":"ROS 2 Integration","href":"/docs/en/wuji-hand/latest/ros2-integration"},{"title":"Model Assets and Loading","href":"/docs/en/wuji-hand/latest/model-integration"}]},{"title":"Control Guide","href":"/docs/en/wuji-hand/latest/control-guide"},{"title":"Best Practices Guide","href":"/docs/en/wuji-hand/latest/best-practices"},{"title":"Calibration and Configuration","href":"/docs/en/wuji-hand/latest/calibration"},{"group":"SDK Reference","pages":[{"title":"Data Streams Overview","href":"/docs/en/wuji-hand/latest/sdk-reference"},{"title":"Joint States and Control","href":"/docs/en/wuji-hand/latest/sdk-reference/joint-control"},{"title":"Effort and MIT Parameters","href":"/docs/en/wuji-hand/latest/sdk-reference/effort-and-mit"},{"title":"IMU","description":null,"href":"/docs/en/wuji-hand/latest/sdk-reference/imu"},{"title":"Device Parameters and Operations","href":"/docs/en/wuji-hand/latest/sdk-reference/device-operations"},{"title":"Diagnostics and Logs","description":null,"href":"/docs/en/wuji-hand/latest/sdk-reference/diagnostics"}]},{"group":"SDK Practice","pages":[{"sidebarTitle":"Overview","title":"Overview","href":"/docs/en/wuji-hand/latest/sdk-practice/index"},{"title":"Subscribing With Callbacks","href":"/docs/en/wuji-hand/latest/sdk-practice/subscribe-callback"},{"title":"Subscribing Asynchronously","href":"/docs/en/wuji-hand/latest/sdk-practice/subscribe-async"},{"title":"Publishing Control Commands","href":"/docs/en/wuji-hand/latest/sdk-practice/publish-command"},{"title":"Position Control (Beta)","href":"/docs/en/wuji-hand/latest/sdk-practice/position-mode"},{"title":"Replaying a Thumb Opposition","href":"/docs/en/wuji-hand/latest/sdk-practice/opposition-replay"},{"title":"Running an MIT Joint Sweep","href":"/docs/en/wuji-hand/latest/sdk-practice/mit-sweep"},{"title":"Adjusting Stream Rate","href":"/docs/en/wuji-hand/latest/sdk-practice/stream-rate"},{"title":"Reading Device Info","href":"/docs/en/wuji-hand/latest/sdk-practice/device-info"},{"title":"Exporting Device Logs","href":"/docs/en/wuji-hand/latest/sdk-practice/export-flash-logs"}]}]},{"group":"Operations and Appendix","pages":[{"title":"Maintenance","href":"/docs/en/wuji-hand/latest/maintenance"},{"title":"Troubleshooting","href":"/docs/en/wuji-hand/latest/troubleshooting"},{"title":"Appendix","href":"/docs/en/wuji-hand/latest/reference"}]}]},{"group":"2.1 Beta","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-hand/beta1/index"},{"group":"Getting Started","pages":[{"title":"Product Introduction","href":"/docs/en/wuji-hand/beta1/overview"},{"title":"User Notice","href":"/docs/en/wuji-hand/beta1/user-notice"},{"title":"Usage Constraints","href":"/docs/en/wuji-hand/beta1/usage-constraints"}]},{"group":"Developer Guide","pages":[{"title":"ROS 2 Integration","href":"/docs/en/wuji-hand/beta1/ros2-integration"},{"title":"SDK Reference","href":"/docs/en/wuji-hand/beta1/sdk-reference"}]}]}]},{"group":"WUJI Glove","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-glove/latest/index"},{"group":"Getting Started","pages":[{"title":"Product Introduction","href":"/docs/en/wuji-glove/latest/introduction"},{"title":"User Notice","href":"/docs/en/wuji-glove/latest/user-notice"},{"title":"Quick Start","href":"/docs/en/wuji-glove/latest/getting-started"}]},{"group":"Integration and Development","pages":[{"title":"Calibration and Configuration","href":"/docs/en/wuji-glove/latest/calibration"},{"group":"Hardware and Software Integration","pages":[{"title":"Mechanical Integration","href":"/docs/en/wuji-glove/latest/hardware-integration"},{"title":"Electrical and Network Integration","href":"/docs/en/wuji-glove/latest/electrical-network-integration"},{"title":"ROS 2 Integration","href":"/docs/en/wuji-glove/latest/ros2-integration"},{"title":"Model Assets and Loading","href":"/docs/en/wuji-glove/latest/model-integration"}]},{"title":"Coordinate Frames","href":"/docs/en/wuji-glove/latest/coordinate-frames"},{"title":"Offline Solving","href":"/docs/en/wuji-glove/latest/offline-pipeline"},{"group":"SDK Reference","pages":[{"title":"Data Streams Overview","href":"/docs/en/wuji-glove/latest/sdk-data-reference/index"},{"title":"Tactile","href":"/docs/en/wuji-glove/latest/sdk-data-reference/tactile"},{"title":"Hand Tracking","href":"/docs/en/wuji-glove/latest/sdk-data-reference/hand-tracking"},{"title":"IMU","href":"/docs/en/wuji-glove/latest/sdk-data-reference/imu"},{"title":"Coordinate Transforms","href":"/docs/en/wuji-glove/latest/sdk-data-reference/coordinate-transforms"},{"title":"Device Parameters and Operations","href":"/docs/en/wuji-glove/latest/sdk-data-reference/device-operations"},{"title":"Hand Model Calibration","href":"/docs/en/wuji-glove/latest/sdk-data-reference/calibration"}]},{"group":"SDK Practice","pages":[{"sidebarTitle":"Overview","title":"Overview","href":"/docs/en/wuji-glove/latest/sdk-practice/index"},{"title":"Subscribing With Callbacks","href":"/docs/en/wuji-glove/latest/sdk-practice/subscribe-callback"},{"title":"Subscribing Asynchronously","href":"/docs/en/wuji-glove/latest/sdk-practice/subscribe-async"},{"title":"Recording Data","href":"/docs/en/wuji-glove/latest/sdk-practice/data-recording"},{"title":"Replaying Data Offline","href":"/docs/en/wuji-glove/latest/sdk-practice/offline-replay"},{"title":"Hand Model Calibration","href":"/docs/en/wuji-glove/latest/sdk-practice/hand-model-calibration"},{"title":"Tactile Calibration","href":"/docs/en/wuji-glove/latest/sdk-practice/tactile-calibration"},{"title":"Setting a Custom Hand Model","href":"/docs/en/wuji-glove/latest/sdk-practice/custom-hand-model"},{"title":"Adjusting Stream Rate","href":"/docs/en/wuji-glove/latest/sdk-practice/stream-rate"},{"title":"Tactile Contact Grid View","href":"/docs/en/wuji-glove/latest/sdk-practice/tactile-contact-view"},{"title":"Tactile Residual Grid View","href":"/docs/en/wuji-glove/latest/sdk-practice/tactile-residual-view"}]}]},{"group":"Operations and Appendix","pages":[{"title":"Maintenance","href":"/docs/en/wuji-glove/latest/maintenance"},{"title":"Troubleshooting","href":"/docs/en/wuji-glove/latest/troubleshooting"},{"title":"Appendix","href":"/docs/en/wuji-glove/latest/appendix"}]}]},{"group":"WUJI Hand","tag":"ARCHIVED","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-hand/v1/index"},{"title":"Changelog","href":"/docs/en/wuji-hand/v1/release-notes"},{"title":"Product Introduction","href":"/docs/en/wuji-hand/v1/overview"},{"title":"User Notice","href":"/docs/en/wuji-hand/v1/user-notice"}]}]},{"group":"Software","pages":[{"group":"WUJI SDK","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-sdk/latest/index"},{"group":"Getting Started","pages":[{"title":"SDK Overview","href":"/docs/en/wuji-sdk/latest/introduction"},{"title":"Installation and Environment","href":"/docs/en/wuji-sdk/latest/quick-start"},{"title":"Docker Deployment","href":"/docs/en/wuji-sdk/latest/docker-deployment"}]},{"group":"Developer Guide","pages":[{"title":"Device Discovery \u0026 Connection","href":"/docs/en/wuji-sdk/latest/device-connection"},{"title":"Data Subscription Mechanism","href":"/docs/en/wuji-sdk/latest/data-subscription"},{"title":"Data Recording","href":"/docs/en/wuji-sdk/latest/data-recording"},{"title":"Common Data Types","href":"/docs/en/wuji-sdk/latest/data-reference"},{"title":"SDK Users and Calibration Data","href":"/docs/en/wuji-sdk/latest/device-params"},{"title":"Time Synchronization and Coordinate Transforms","href":"/docs/en/wuji-sdk/latest/time-sync"},{"title":"Hand Retargeting","href":"/docs/en/wuji-sdk/latest/retargeting"}]},{"group":"SDK Practice","pages":[{"sidebarTitle":"Overview","title":"Overview","href":"/docs/en/wuji-sdk/latest/sdk-practice/index"},{"title":"Retargeting Sessions: Keypoints to Joint Angles","href":"/docs/en/wuji-sdk/latest/sdk-practice/retarget-session"},{"title":"Local SDK User Management","href":"/docs/en/wuji-sdk/latest/sdk-practice/user-management"}]},{"group":"Operations and Appendix","pages":[{"title":"Best Practices","href":"/docs/en/wuji-sdk/latest/advanced"},{"title":"Fault Logs and Error Codes","href":"/docs/en/wuji-sdk/latest/device-fault-logs"},{"title":"Troubleshooting","href":"/docs/en/wuji-sdk/latest/troubleshooting"},{"title":"C API Reference","href":"/docs/en/wuji-sdk/latest/c-sdk-reference"},{"title":"Appendix","href":"/docs/en/wuji-sdk/latest/appendix"}]}]},{"group":"WUJI CLI","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-cli/latest/index"},{"group":"Getting Started","pages":[{"title":"CLI Overview","href":"/docs/en/wuji-cli/latest/introduction"},{"title":"Getting Started","href":"/docs/en/wuji-cli/latest/getting-started"}]},{"group":"User Guide","pages":[{"title":"Device Management","href":"/docs/en/wuji-cli/latest/device-management"},{"title":"Read and Write Parameters","href":"/docs/en/wuji-cli/latest/parameters"},{"title":"Users and Calibration Data","href":"/docs/en/wuji-cli/latest/user"},{"title":"Hand Model Calibration","href":"/docs/en/wuji-cli/latest/hand-model-calibration"},{"title":"Data Subscription","href":"/docs/en/wuji-cli/latest/subscription"},{"title":"Live Visualization","href":"/docs/en/wuji-cli/latest/visualization"},{"title":"Tactile Calibration","href":"/docs/en/wuji-cli/latest/tactile-calibration"},{"title":"Health Diagnostics","href":"/docs/en/wuji-cli/latest/doctor"},{"title":"Log Export","href":"/docs/en/wuji-cli/latest/logs"},{"title":"Firmware Upgrade","href":"/docs/en/wuji-cli/latest/firmware-upgrade"}]}]}]},{"group":"More","pages":[{"title":"Release Notes","href":"/docs/en/release-notes"},{"title":"Algorithms and Research","href":"/docs/en/resources/algorithms-and-research"},{"title":"Videos","href":"/docs/en/videos"},{"group":"Archived","pages":[{"title":"Archived","href":"/docs/en/archived"},{"group":"WUJI Studio","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wuji-studio/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wuji-studio/latest/index"},{"group":"Getting Started","pages":[{"title":"Overview","href":"/docs/en/wuji-studio/latest/introduction"},{"title":"Download and Installation","href":"/docs/en/wuji-studio/latest/installation"}]},{"group":"User Guide","pages":[{"title":"Basic Settings","href":"/docs/en/wuji-studio/latest/basic-settings"},{"title":"Device Management","href":"/docs/en/wuji-studio/latest/device-connection"},{"group":"Data Visualization","pages":[{"title":"Overview","href":"/docs/en/wuji-studio/latest/visualization/index"},{"title":"Layout Presets","href":"/docs/en/wuji-studio/latest/visualization/layout-presets"},{"title":"Panel Types","href":"/docs/en/wuji-studio/latest/visualization/panel-types"},{"title":"3D Hand Visualization","href":"/docs/en/wuji-studio/latest/visualization/hand-3d"},{"title":"Data Recording","href":"/docs/en/wuji-studio/latest/visualization/recording"},{"title":"Device Logs","href":"/docs/en/wuji-studio/latest/visualization/device-logs"}]},{"title":"Firmware Upgrade","href":"/docs/en/wuji-studio/latest/firmware-upgrade"},{"title":"Device Calibration","href":"/docs/en/wuji-studio/latest/calibration"},{"title":"Tactile Contact Calibration","href":"/docs/en/wuji-studio/latest/tactile-calibration"}]},{"group":"Reference","pages":[{"title":"Troubleshooting","href":"/docs/en/wuji-studio/latest/troubleshooting"},{"title":"Studio Migration Guide","href":"/docs/en/wuji-studio/latest/migration-to-cli"}]}]},{"group":"WUJI Hand ROS2","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wujihandros2/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wujihandros2/latest/index"},{"group":"Getting Started","pages":[{"title":"Installation","href":"/docs/en/wujihandros2/latest/installation"},{"title":"Quick Start","href":"/docs/en/wujihandros2/latest/quick-start"}]},{"group":"Configuration","pages":[{"title":"Configuration","href":"/docs/en/wujihandros2/latest/configuration"},{"title":"ROS2 Interface","href":"/docs/en/wujihandros2/latest/ros2-interface"}]},{"group":"Reference","pages":[{"title":"Appendix","href":"/docs/en/wujihandros2/latest/appendix"}]}]},{"group":"WUJI Hand HMI","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wuji-hand-hmi/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wuji-hand-hmi/latest/index"},{"group":"Getting Started","pages":[{"title":"Getting Started","href":"/docs/en/wuji-hand-hmi/latest/getting-started"}]},{"group":"Usage","pages":[{"title":"Panels","href":"/docs/en/wuji-hand-hmi/latest/panels"},{"title":"Connection \u0026 Enable","href":"/docs/en/wuji-hand-hmi/latest/connection"}]},{"group":"Reference","pages":[{"title":"Troubleshooting","href":"/docs/en/wuji-hand-hmi/latest/troubleshooting"}]}]},{"group":"WUJI Hand Upgrader","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wuji-hand-upgrader/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wuji-hand-upgrader/latest/index"},{"group":"Getting Started","pages":[{"title":"Installation","href":"/docs/en/wuji-hand-upgrader/latest/installation"},{"title":"Connect Device","href":"/docs/en/wuji-hand-upgrader/latest/connection"}]},{"group":"Operations","pages":[{"title":"Firmware Upgrade","href":"/docs/en/wuji-hand-upgrader/latest/upgrade"}]},{"group":"Reference","pages":[{"title":"Troubleshooting","href":"/docs/en/wuji-hand-upgrader/latest/troubleshooting"},{"title":"Uninstall","href":"/docs/en/wuji-hand-upgrader/latest/uninstallation"}]}]},{"group":"WUJI Hand SDK","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wujihandpy/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wujihandpy/latest/index"},{"group":"Getting Started","pages":[{"title":"Getting Started","href":"/docs/en/wujihandpy/latest/introduction"},{"title":"Tutorial","href":"/docs/en/wujihandpy/latest/tutorial"}]},{"group":"Reference","pages":[{"title":"API Reference","href":"/docs/en/wujihandpy/latest/api-reference"}]}]},{"group":"WUJI Retargeting","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wuji-retargeting/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wuji-retargeting/latest/index"},{"group":"Getting Started","pages":[{"title":"Installation","href":"/docs/en/wuji-retargeting/latest/installation"},{"title":"Quick Start","href":"/docs/en/wuji-retargeting/latest/quick-start"}]},{"group":"Advanced","pages":[{"title":"Tuning Guide","href":"/docs/en/wuji-retargeting/latest/tuning"},{"title":"API Reference","href":"/docs/en/wuji-retargeting/latest/api"}]},{"group":"Reference","pages":[{"title":"Appendix","href":"/docs/en/wuji-retargeting/latest/appendix"}]}]},{"group":"WUJI MJLab","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wuji-mjlab/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wuji-mjlab/latest/index"},{"group":"Getting Started","pages":[{"title":"Introduction","href":"/docs/en/wuji-mjlab/latest/introduction"},{"title":"Installation","href":"/docs/en/wuji-mjlab/latest/installation"}]},{"group":"Training","pages":[{"title":"Training and Evaluation","href":"/docs/en/wuji-mjlab/latest/training"}]},{"group":"Deploy","pages":[{"title":"Hardware Setup","href":"/docs/en/wuji-mjlab/latest/hardware"},{"title":"Sim-to-real Deployment","href":"/docs/en/wuji-mjlab/latest/sim2real"}]},{"group":"Reference","pages":[{"title":"Architecture","href":"/docs/en/wuji-mjlab/latest/architecture"}]}]},{"group":"MuJoCo Sim","tag":"ARCHIVED","pages":[{"title":"MuJoCo Simulation Example","href":"/docs/en/mujoco-sim/latest/index"}]},{"group":"Isaac Lab Sim","tag":"ARCHIVED","pages":[{"title":"Isaac Lab Simulation Example","href":"/docs/en/isaaclab-sim/latest/index"}]}]}]}]}]},"basePath":"","title":"Device Parameters and Operations - WUJI Docs","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":["10e4515597"],"chunks":["BannerMarkdown-DfPi8iCg.js","dist-DjFwSv8l.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}