First thanks for this wonderful library. I've successfully implemented printing functionality for MCP31LB (mC-Print3) using portDiscovery() and print() function via Bluetooth and Lightning on iPad.
When I try to find my printer connected to a WiFi router using portDiscovery(), it returns an empty array on some routers and in some other routers, it does return an array containing a correct IP address (ex. TCP: 192.168.86.xx).
Maybe it's related to some router configuration, but I'm not sure what to look for.
In the latter case, print() fails with status code Failed to Open Port even with the result returned by portDiscovery(). If I do checkStatus(),
First thanks for this wonderful library. I've successfully implemented printing functionality for MCP31LB (mC-Print3) using portDiscovery() and print() function via Bluetooth and Lightning on iPad.
Maybe it's related to some router configuration, but I'm not sure what to look for.
Failed to Open Port
even with the result returned by portDiscovery(). If I docheckStatus()
,result is lacking firmware version (maybe getting firmware version failed?), and somehow coverOpen returns
true
though it's not.My code is like this.
If I connect via Bluetooth, the result of checkStatus() looks correct with the following:
I'm not sure what's happening here, also not sure where to look for either..
If anyone knows what the cause of this could be, I'd really appreciate some help/information.