Supported Model:
TSP100IV TSP100IV SK TSP100IIIW TSP100IIILAN TSP100IIIBI TSP100IIIU MCP31L MCP31LB MCP31CI MCP31CBI MCP31C MCP31CB MCP30 MCP21LB MCP20B MCP20 MCL32CI MCL32CBI POP10 POP10CI POP10CBI TSP650II TSP650IISK TSP700II TSP800II BSC10II SP700 SM-S210i(StarPRNT) SM-S210i(ESC/POS) SM-S230i(StarPRNT) SM-S230i(ESC/POS) SM-T300i(StarPRNT) SM-T300i(ESC/POS) SM-T400i(StarPRNT) SM-T400i(ESC/POS) SM-L200 SM-L300
setStarConfiguration(starConfiguration: String, completion: @escaping (Error?) -> Void)
Warning
This method is provided only for compatibility of applications supporting iOS 12 and will be removed in the future when the minimum supported OS version of this SDK is raised to iOS 15.
Set Star Configuration
setStarConfiguration(starConfiguration: String, completion: @escaping (Error?) -> Void)
Parameter |
||
---|---|---|
starConfiguration |
Star Configuration to be set |
Return value |
|
---|---|
Star Configuration setting result |
Error
Code
Description
JSON format error.
Star Configuration format error.
Star Configuration parameter error.
Star Configuration specified file error.
authentication(message: String, errorCode: StarIO10ErrorCode)
Invalid password.
authentication(message: String, errorCode: StarIO10ErrorCode)
Password needs to be changed from the initial password.
invalidOperation(message: String, errorCode: StarIO10ErrorCode)
Device is not opened
communication(message: String, errorCode: StarIO10ErrorCode)
Communication failed
The response from the device is invalid.
illegalDeviceState(message: String, errorCode: StarIO10ErrorCode)
The network function of the host device cannot be used.
illegalDeviceState(message: String, errorCode: StarIO10ErrorCode)
The Bluetooth function of the host device cannot be used.
unsupportedModel(message: String, errorCode: StarIO10ErrorCode)
Unsupported model or unsupported interface