The invention relates to the communication field and discloses a method for making an Internet-of-Things cloud gateway compatible with multiple protocols and
the Internet-of-Things cloud gateway. In the invention, the gateway sends a request identifying command to a
USB adapter inserted into a
USB interface via a communication protocol; if the gateway receives responses of the
USB adapter to the request identifying command, the communication protocol supported by the
USB adapter can be directly obtained; the communication protocol supported by the
USB adapter is a communication protocol corresponding to the request identifying command; if the gateway does not receive the responses, the gateway sends the request identifying command to the
USB adapter via another communication protocol till the gateways receives the responses, and therefore the communication protocol supported by the USB adapter can be obtained. In an embodiment of the method for making
the Internet-of-Things cloud gateway compatible with multiple protocols and
the Internet-of-Things cloud gateway, without replacement of the gateway or arrangement of other
wireless communication chips, the gateway can be compatible with multiple communication protocols via the USB interface, a problem that a new gateway is needed for supporting a new communication protocol can be prevented, cost can be saved, and a gateway
utilization rate is improved.