We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the class B bit is not set in the uplink message, and therefore the server is still waiting for an uplink message (class A mode).
At line 1890 or so:
LMIC.frame[OFF_DAT_FCT] = (LMIC.dnConf | LMIC.adrEnabled | (sendAdrAckReq() ? FCT_ADRACKReq : 0) | (end-OFF_DAT_OPTS));
Add here the setting of bit 4 (FCT_CLASSB), if OP_PINGABLE is set. Something like:
FCT_CLASSB
OP_PINGABLE
LMIC.frame[OFF_DAT_FCT] = (LMIC.dnConf | LMIC.adrEnabled | (sendAdrAckReq() ? FCT_ADRACKReq : 0) #if !defined(DISABLE_PING) | (LMIC.opmode & OP_PINGABLE) ? FCT_CLASSB : 0 #endif // ndef DISABLE_PING | (end-OFF_DAT_OPTS));
That worked like a charm. The uplink packet is now marked as class b.
Originally posted by @sualko in #479 (comment)
The text was updated successfully, but these errors were encountered:
Set class B flag if pingable
cabf6fb
fix mcci-catena#480
9ed48ca
terrillmoore
No branches or pull requests
At line 1890 or so:
Add here the setting of bit 4 (
FCT_CLASSB
), ifOP_PINGABLE
is set. Something like:That worked like a charm. The uplink packet is now marked as class b.
Originally posted by @sualko in #479 (comment)
The text was updated successfully, but these errors were encountered: