smartthingscommunity/st-device-sdk-c/stdk-error-lookup
Claude Code and agent skill by smartthingscommunity/st-device-sdk-c
- community
Checking that the SKILL.md file is still in the repository.
Look up SmartThings Device SDK (STDK) error codes and provide solutions. Fetches live error code definitions from GitHub. Supports mobile error codes (81-001, 04-100) and SDK internal error codes (NE01, CE01).
Install
npx vskill@latest install smartthingscommunity/st-device-sdk-c/stdk-error-lookupSKILL.md
STDK Error Code Lookup
Look up SmartThings Device SDK (STDK) error codes and provide solutions with real-time GitHub documentation.
When to Use
- When users ask about mobile error codes like "81-001" or "04-100"
- When users ask about SDK internal error codes (NE01, CE01, EE01, etc.)
- When troubleshooting onboarding/connection failures
- When analyzing error messages in device logs
Error Code Sources
All error code information is retrieved from official GitHub repositories in real-time. No hardcoded data is used.
Primary Repository: https://github.com/SmartThingsCommunity/st-device-sdk-c
Source files accessed:
- Mobile Error Codes:
doc/mobile_error_codes_guide.md - Raw URL:
https://raw.githubusercontent.com/SmartThingsCommunity/st-device-sdk-c/main/doc/mobile_error_codes_guide.md - SDK Internal Error Codes:
src/include/iot_main.h(iot_st_ecode_t definitions) - Raw URL:
https://raw.githubusercontent.com/SmartThingsCommunity/st-device-sdk-c/main/src/include/iot_main.h
Error Code Formats
1. Mobile Error Codes (User-facing Format)
2. SDK Internal Error Codes (Development/Log Format)
MAIN Code Categories
| MAIN | Category | Description | Severity | |
|---|---|---|---|---|
| 04 | Connection | SoftAP / BLE connectivity issues | Very High | |
| 07 | Mobile App | App internal status / content issues | Medium | |
| 08 | BLE | BLE stack / MTU / GATT / Pairing | Very High | |
| 15 | Registration | WiFi / Cloud connection issues | Very High | |
| 38 | Device SDK | MQTT / STDK handler / key / scan | High | |
| 81 | Identity | Device authentication / identification | Critical | |
| 86 | Backend Service | Device registration service issues | Critical |
Error Code Lookup Procedure
Step 1: Identify Error Code Format
- Mobile error code format
XX-XXX→ Fetch frommobile_error_codes_guide.md - SDK internal error code format
NE/CE/EE + number→ Fetch fromiot_main.h
Step 2: Fetch from GitHub Repository
The skill automatically fetches relevant documentation from GitHub:
Step 3: Parse and Provide Answer
- Extract error code definition from GitHub
- Provide description and meaning
- List root causes and developer checklist
- Reference source code locations when applicable
Step 4: Error Code Not Found — Escalation Guide
If error code cannot be found in GitHub repository:
"The requested error code [ERROR_CODE] was not found in the SmartThings Device SDK repository. Please report this through the following channels:"
- GitHub Issues: https://github.com/SmartThingsCommunity/st-device-sdk-c/issues
- Email Support: partners@smartthings.com
Important Rules
- ALWAYS fetch from GitHub — Real-time documentation retrieval, never use hardcoded data
- Provide complete context — Include error meaning, root causes, and solutions
- Reference source files — Point to GitHub file locations for deeper investigation
- Escalate when needed — Use escalation guide for unknown error codes
- Cross-reference — Link related error codes and state machine information from official docs
Version
- Version: 1.0.0 (2026-11-03)
- Initial versioned release. Bump the
metadata.versionfront matter and this section together on every change (semver: MAJOR for breaking changes to the trigger or output format, MINOR for new capabilities, PATCH for fixes and wording).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/stdk-error-lookup/SKILL.md
Popularity
- Repository stars
- 138
- Repository forks
- 144
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/smartthingscommunity/st-device-sdk-c/stdk-error-lookup)