Closed Dwikavindra closed 4 months ago
@Dwikavindra From the error information you have provided, it is most likely that the host device is not connected to the network. StarIO10IllegalDeviceStateException is thrown when the status of a host device is invalid, and NetworkUnavailable means the network function of the host device cannot be used.
Just to be sure, could you check again that your Android device is connected to the network, e.g. by web browsing? If you are correctly connected to the network, we would like you to try searching for the printer using our StarPRNT SDK app, followed by isolating this issue.
I am closing this Issue. If you still have this issue, please reopen it.
Description
Error: com.starmicronics.stario10.StarIO10IllegalHostDeviceStateException: Network unavailable. errorCode: NetworkUnavailable. I am trying to search for printers in my current network that I have connected using LAN. However, this is not working using the example provided in this SDK. My device is already connected to the same WiFi Network. Does this error have something to do with the Network or is it something to do with my Android device? Other methods works fined and logs Discovery Finished after 10 seconds. This also occurs for react native star io @gare-bear @bandit-ibayashi
Your device where the bug occurs
Your printer
Your development environment
MacOS Monterey
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A log with Discovery Finished after 10 seconds
Screenshots
Additional context
Add any other context about the bug here.