Move actual 0xc3 and 0x1d7 packets sending into one function.