NanoSDK
                                
                                
                                
                                    NanoSDK copied to clipboard
                            
                            
                            
                        NanoSDK - MQTT 5.0-compliant SDK with QUIC support in NNG flavor
Plz allocate a new aio for sending/receiving MQTT QoS 1/2 msg. Otherwise you gonna have memleak on ACK msg. because we design to return ACK msg with AIO
int msg_recv_cb(void *rmsg, void *arg) { nng_msg *msg = static_cast(rmsg); uint32_t topicsz, payloadsz; char *topic = (char *) nng_mqtt_msg_get_publish_topic(msg, &topicsz); } receive first msg can get topic,but others no topic...
**Describe the bug** ``` Connecting to server ... connect_cb: connected! AddressSanitizer:DEADLYSIGNAL ================================================================= ==222475==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000060 (pc 0x7faaa4cb1d54 bp 0x7ffc95ec4fa0 sp 0x7ffc95ec4f98 T0) ==222475==The signal is caused...
**Describe the bug** This isn't a code bug, but a question about licensing with regards to the external dependencies. NanoSDK and msquic are both licensed as MIT. wolfSSL is licensed...
**Describe the bug** Failed to use `Ninja` to build NanoMQ with msquic on MacOS. ``` ../src/supplemental/quic/quic_api.c:18:10: fatal error: 'openssl/pem.h' file not found #include "openssl/pem.h" ^~~~~~~~~~~~~~~ 2 warnings and 1 error...
I would like to build -- and run -- the example client. Is there a description of the required build environment -- a CMakeLists.txt file, or a plain old fashioned...
It would be better if we can cache properties and all the options of MQTT V5 msg to SQLite for resending
**Describe the bug** In quic demo, connect mq over tcp fail. **Expected behavior** Connect successful. **Actual Behavior** Connect fail. **To Reproduce** ** Environment Details ** - NanoSDK/NNG version - Operating...
Is your feature request related to a problem? Please describe. I set keepalive=30s, and connected to mq broker over quic, Q1. Call nng_mqtt_disconnect() or nng_close(), but online status is still...
**Is your feature request related to a problem? Please describe.** I create a MQTT msg by calling nng_mqtt_msg_alloc. When I want to free it. No corresponding API was found. Should...