Skip to content

Debug gwctrltask#15

Open
jinparksj wants to merge 3 commits intoty4tw:masterfrom
jinparksj:debug_gwctrltask
Open

Debug gwctrltask#15
jinparksj wants to merge 3 commits intoty4tw:masterfrom
jinparksj:debug_gwctrltask

Conversation

@jinparksj
Copy link
Copy Markdown

Hello,

When I used this MQTT-SN library, I found some bitwise operation & issue at GatwayControlTask.cpp.
(file GatwayControlTask.cpp -> class GatewayControlTask -> function void handleSnPublish)
Would you please take the PR?

if(tp || ((sPublish->getFlags() && MQTTSN_TOPIC_TYPE) == MQTTSN_TOPIC_TYPE_SHORT)){
->
if(tp || ((sPublish->getFlags() & MQTTSN_TOPIC_TYPE) == MQTTSN_TOPIC_TYPE_SHORT)){

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant