reference: http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html 转载于:https://www.cnblogs.com/lianghong881018/p/10791517.html