Comments (5)
@Amblego I made some changes, subscribe() and unsubscribe() won't send packets immediately but stored in an internal array, then proceeded in loop(), and $mqtt is passed into the callback, would these changes seems fine to you? If so, I'll commit.
from mqtt.
Dear, sskaje
I guess, it would be enough.
Please, commit. Thanks!
from mqtt.
Please try the latest commit. @Amblego
from mqtt.
Sskaje, thank you for quick actions!
Problem with uncaught exception was fixed, but it seems QoS 1/2 doesn't work.
For example: I start the subscribe script, after subscribe (with QoS=1 or 2) action I kill the script. After that I run publish script - it send some messages with QoS=1 or 2 and I kill it.
After that I run the same subscribe script (with QoS=1 or 2 and the same client_id) and there are no messages...
Where is my mistake?
from mqtt.
Sskaje, thank you for quick actions!
Problem with uncaught exception was fixed, but it seems QoS 1/2 doesn't
work.
For example: I start the subscribe script, after subscribe (with QoS=1 or
2) action I kill the script. After that I run publish script - it send some
messages with QoS=1 or 2 and I kill it.
After that I run the same subscribe script (with QoS=1 or 2 and the same
client_id) and there are no messages...
Where is my mistake?
2014-04-15 12:39 GMT+04:00 sskaje [email protected]:
Please try the latest commit. @Amblego https://github.com/Amblego
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-40457952
.
from mqtt.
Related Issues (20)
- 参数暗示 参数类型好像有问题 HOT 5
- Enforce TLS v1.2 documentation HOT 2
- Unknown error if the client is not authorized to connect HOT 2
- Exception thrown when a PUBLISH message has an particular length HOT 2
- the new v2.0 can not use in product env HOT 8
- message content trunkated on publish, missing part sent on next publish and so on..
- WTFFF! (Exception PHP Notice: fwrite(): send of x bytes failed with errno=11 Resource temporarily unavailable in ..ocketClient.php on line 166) [FIX] HOT 2
- A typo in the source code
- Support TLS/SSL connections? HOT 5
- Header Timestamp always 1970-01-01T01:00:00+01:00 HOT 2
- Release 2.0?
- message_read throw Exception
- MQTT 5.0 HOT 2
- last update on packagist.org is 2018-03-16 HOT 2
- How I can get client id in subscribe.php? HOT 1
- How to use puback()?
- Bad check for multiple topic subscribe/unsubscribe.
- Unable to Subscribe when Published HOT 6
- do_publish is public : is it wanted ? HOT 2
- endless ping sent if pipe breaks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqtt.