-
Notifications
You must be signed in to change notification settings - Fork 754
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
fix bugs and format code for some compile. #206
base: develop
Are you sure you want to change the base?
Conversation
…_publish", because routine "MQTTPacket_decodeBuf" has changed the rc to other value.
…routine can return data over 128, so change char to unsigned char.
1.some old compile cannot support defining variable after routine process sentence. 2. some compile can not support setting value in 'if' condition. 3. some old compile will err when variable name same with structure type name.
…back error or when data is 0x80.
Try to provide a description on why you are doing what you are doing. |
…will not compatibility with older one, because modify the routine's parameter.
…r package type in poor wifi condition,because handle other package will occupy cpu time.
2、订阅消息大小也不再制定个数,根据空间自动增长。 3、默认发送重试次数6次,适应网络抖动情况。
…跳时不发送ping,直接判断pong,服务端超时断开。
2、增加获取剩余心跳时间的函数,某些低功耗平台可以在这个间隔时间内,做一些业务处理。
2、增加nopong接口,部分平台需要mqtt库支持服务器不回复pong帧的情况,主要用在芯片低功耗状态下;
2、增加使用小内存的publish函数,不再复制用户数据,直接发送消息头和用户数据内容,降低内存使用,减少内存拷贝。
2、增加异步模式,可以提高多线程调用发送时的传输效率;
No description provided.