You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An assert on SPI recv_buffer lenght prevents sending any message of size greater than 256 bytes.
A consumer mechanism must be implemented to send the whole packet down the link.
Incriminated line in nuttx/drivers/rf/rfm95.c:344
DEBUGASSERT(buflen <= sizeof(recv_buffer));
a solution could be to remove entirely this assert check, and implement a for-loop that read the incoming buffer in chunks of 256 bytes; this lets us leave unmodified the rest of the code.
The text was updated successfully, but these errors were encountered:
An
assert
on SPI recv_buffer lenght prevents sending any message of size greater than 256 bytes.A consumer mechanism must be implemented to send the whole packet down the link.
Incriminated line in
nuttx/drivers/rf/rfm95.c:344
a solution could be to remove entirely this assert check, and implement a for-loop that read the incoming buffer in chunks of 256 bytes; this lets us leave unmodified the rest of the code.
The text was updated successfully, but these errors were encountered: