-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uninitialized string offset #61
Comments
I'm also experiencing this and trying to track it down. It looks like $this->read() isn't getting any data from the stream. |
phpmqtt only support mqttv3.1 ,not support v3.1.1,you must modify code //MQTT v3.1.1协议名称长度 4
|
@kingtiwns thanks for your great advice. 具体调整如下,是把下面的源码部分
整体替换为下面的形式即可:
|
|
Notice: Uninitialized string offset: 0 in C:\xampp\htdocs\websockets\phpMQTT.php on line 121
Notice: Uninitialized string offset: 0 in C:\xampp\htdocs\websockets\phpMQTT.php on line 125
Notice: Uninitialized string offset: 3 in C:\xampp\htdocs\websockets\phpMQTT.php on line 125
Fail or time out.
I'm new to MQTT. Please give solution for it.
The text was updated successfully, but these errors were encountered: