Table of Contents

Network Discovery

When we install the Network Discovery App on our camera, we see it polling for network devices. It also finds the Canon Selphy printer (if available). It should be easy to rework this App to where it just searches for the Canon Selphy specifically, and returns an IP and port to us.

An IP and (open) port is all we need to communicate with a printer.

In the preceding chapter we saw that we can find the sockets that the Printer App uses for communicating with the 310 and 520. Thus, it seems that we can find a (any) WiFi Printer, and connect to it.

What remains is to find what we need to write to (and read from) these sockets. Of course, this is somewhere in the Printer App. This happens somewhere between the SendPhoto() call and the m_OutputStream.write( );