Updated to serial library for mini-gateway.