Hello
My problem is not that it doesn’t receive the callback but that you can’t send after that.
I have the problem that after sending out a message with:
if (LMIC.opmode & OP_TXRXPEND)
{
Serial2.println(F("OP_TXRXPEND, not sending"));
}
else
{
// Prepare upstream data transmission at the next possible time.
reciveack = false;
LMIC_setTxData2(1, mydata, sizeof(mydata) - 1, 1);
Serial2.println(F("Packet queued"));
}
And sometimes no callback was received (e.g. because of too bad reception quality) I can’t send a message afterwards and it is always in the
if (LMIC.opmode & OP_TXRXPEND)
{
Serial2.println(F("OP_TXRXPEND, not sending"));
}
Please don’t ask me where the number 2304 comes from, I have read the number from a valid LMIC.opmode once. I can’t find this value either as HEX or as a decimal number in the library.
If you find a solution that solves this better please post it as I suspect my solution may lead to other problems later.
I’ve not tried the hal_init option before, but that would speak to the internals not working as expected, where did you get that as a setting from - tutorial or other source?
There is no such thing as too much detail. Be expansive.