Skip to content

Not able to connect again once StarIO10NotFoundException thrown #53

@zaibniazinnowi

Description

@zaibniazinnowi

Description

I have three printers connected: two Star printers and one Epson printer.

The Star printers are:

Star MCP30 – MAC address 006235F1*8

Star MCP30 – MAC address 006235B0*C

Sdk : (com.starmicronics:stario10:1.8.0)

The Epson printer continues to work normally without any issues.

However, when a StarIO10NotFoundException occurs on a Star printer, the application is unable to reconnect to it even after multiple retry attempts. The only way to recover is by rebooting the device.

Current implementation

Each printer is managed as a global instance, which is used to open and close the connection. These instances are recreated only when the application is restarted.

This approach has been working reliably and no issues were reported previously, but this problem has started occurring recently without any changes to the implementation.

Your device where the bug occurs

  • Device:
    Google Pixel Tablet
  • OS:
    Android 16

Your printer

  • Model Names:
    Star MCP30
  • Interface:
    e.g. Ethernet

Getting Star printer old instance openTimeout : 10000, getStatusTimeout : 5000, printTimeout : 30000, connectionSettings : {interfaceType : Lan, identifier : 00116235F1C8, autoSwitchInterface : false}, information : {null} with interfaceType Lan and hashcode is 88484193 with mac 00**6235F1*8

Getting Star printer old instance openTimeout : 10000, getStatusTimeout : 5000, printTimeout : 30000, connectionSettings : {interfaceType : Lan, identifier : 00116235B0EC, autoSwitchInterface : false}, information : {null} with interfaceType Lan and hashcode is 238748872 with mac 00**6235B0*C

Metadata

Metadata

Labels

Status: work in progressCurrently working on this issueTarget: stario10Issues related to the API and other StarIO10 library.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions