Not sure if i'm missing something, but saw that the puback message always sends 00 00 in the topicId field and this seemed like a quick working fix.
Spec v1.2 of mqtt-sn (which i believe is the last published one if i'm not mistaken, since i've only found drafts for newer versions so far) says that TopicId should have the same value as the one contained in the corresponding PUBLISH message, which with this fix it now is.
Not sure if i'm missing something, but saw that the puback message always sends 00 00 in the topicId field and this seemed like a quick working fix.
Spec v1.2 of mqtt-sn (which i believe is the last published one if i'm not mistaken, since i've only found drafts for newer versions so far) says that TopicId should have the same value as the one contained in the corresponding PUBLISH message, which with this fix it now is.