Wii U GamePad Pair Code Generator

Press the SYNC button twice on your console and wait for the network with a name matching the pattern below to appear.
Enter the two characters at the end into the field below. The symbols to pair the GamePad will be shown below.
WiiUccfb6512345ccfb651234 _STA1

How does this work?

The code used to pair the GamePad is derived from the console's MAC address (see here).
This address is part of the SSID of the created network, which is how the pin can be obtained from it.

Source