{"id":28000574,"url":"https://github.com/star-micronics/starlabs-cashdrawer-sdk-android","last_synced_at":"2025-10-12T11:50:11.893Z","repository":{"id":56371049,"uuid":"309271663","full_name":"star-micronics/starlabs-cashdrawer-sdk-android","owner":"star-micronics","description":"Android SDK for Star Micronics SMD2 Max and CD3 Value series USB Cash Drawers","archived":false,"fork":false,"pushed_at":"2025-02-14T19:59:38.000Z","size":7215,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-08T23:53:40.107Z","etag":null,"topics":["android","cash-drawers","cashdrawer","sdk"],"latest_commit_sha":null,"homepage":"https://www.starmicronics.com/pages/pos-cash-register-drawers","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/star-micronics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-11-02T05:53:12.000Z","updated_at":"2025-02-14T19:59:42.000Z","dependencies_parsed_at":"2025-05-08T23:53:40.970Z","dependency_job_id":"32ec9bc9-e13d-42f7-91f6-97e345480b11","html_url":"https://github.com/star-micronics/starlabs-cashdrawer-sdk-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/star-micronics/starlabs-cashdrawer-sdk-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/star-micronics%2Fstarlabs-cashdrawer-sdk-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/star-micronics%2Fstarlabs-cashdrawer-sdk-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/star-micronics%2Fstarlabs-cashdrawer-sdk-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/star-micronics%2Fstarlabs-cashdrawer-sdk-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/star-micronics","download_url":"https://codeload.github.com/star-micronics/starlabs-cashdrawer-sdk-android/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/star-micronics%2Fstarlabs-cashdrawer-sdk-android/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267078867,"owners_count":24032317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","cash-drawers","cashdrawer","sdk"],"created_at":"2025-05-08T23:53:38.953Z","updated_at":"2025-10-12T11:50:06.848Z","avatar_url":"https://github.com/star-micronics.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# USB CashDrawer SDK\nSDK for SMD2 Max and CD3 Value series USB Cash Drawers.  \nMore info on the Cash Drawers can be found on our [website](https://www.starmicronics.com/pages/pos-cash-register-drawers).\n\nThis SDK is distributed as an Android Library (AAR) and a sample app is provided to demonstrate usage.  \n\n## Star Labs\nThis SDK is a Star Labs project meaning that it is created and released, under an open source license, by Star Micronics employees or subsidiaries, but is not an official Star Micronics software product and not subject to the same guarantees, support or testing requirements from Star Micronics Co Ltd, Japan. As a result, quality, reliability and global support availability will vary between Star Labs projects, please check the project specific support information for details.\n\n## Star Labs Project Status\nThis project has been developed by Star Micronics America and is safe to use in production.  \nDirect support is provided for the following regions: USA, Canada, Latin \u0026 Central America, and the Carribean. \n\n## Getting Started\n\nRun the included Android Studio project or add the AAR to you own project.\n\n## Adding Dependencies\n\nFile :arrow_right: Project Structure :arrow_right: Dependencies :arrow_right: JAR dependency\n![Add Dependencies](https://starmicronics.altervista.org/cashdrawersdk/documentation/images/add-dependencies.jpg)\n\n## Add your imports\n\nTo access the **CashDrawer** class  \n`import com.starmicronics.labs.CashDrawer;`  \n\nThe **CashDrawer** class provides functions for discovery, checking status and opening the CashDrawer.\n\n## USB Cash Drawer PID/VID Information\nThe PID (Product ID) of our USB cash drawers can change based on the DIP switch settings. This feature is intentional in case users have multiple drawers and want them to be distinguishable by software.\n\nThe VID (Vendor ID) for Star Micronics USB cash drawers is 0519 (in HEX). The PID, however, can vary depending on the DIP switch settings on the back of the cash drawer, which control the USB ID.\n\n## DIP Switch Settings for USB IDs\nThe following table outlines how the DIP switches should be configured to assign a specific USB ID. The default factory setting is USB ID 1011, with all switches set to 0 (OFF).\n\n\u003cimg width=\"685\" alt=\"viv_pid1\" src=\"https://github.com/user-attachments/assets/50049b44-1382-4590-a83f-02e14c975359\" /\u003e\n\n## USB Interface PIDs\nThe PID changes based on the DIP switch settings (USB ID). Here’s how the USB ID relates to the PID:\n\n- USB ID 1011: Default PID\n- USB IDs 1012 - 1018: Custom PIDs, assigned based on the DIP switch configurations.\n  \nThis customization allows users to track multiple drawers and distinguish them within their software environment.\n\n## Documentation\n[API Reference](https://starmicronics.altervista.org/cashdrawersdk/documentation/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstar-micronics%2Fstarlabs-cashdrawer-sdk-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstar-micronics%2Fstarlabs-cashdrawer-sdk-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstar-micronics%2Fstarlabs-cashdrawer-sdk-android/lists"}