LacunaSpace / basicmac

BasicMAC LoRaWAN stack that supports (but is not limited to) Arduino
Other
75 stars 18 forks source link

Atmega328 1MHz #26

Closed Samuel-ZDM closed 3 years ago

Samuel-ZDM commented 3 years ago

Hello!

I'm using an Atmega328 with 1MHz with RFM95, but I can't send a message to the gateway. My device sends the first message and then no longer sends it. I am using the ABP example to send to TTN.

Can you help me?

matthijskooijman commented 3 years ago

BasicMAC is not quite optimized for AVR and will probably eat up pretty much all of your flash on a 328p (leaving no flash for a meaningful application or even debug output, IIRC), so I'm not really planning on supporting the 328p, since it's just not really feasible.

If you're using an RFM95, which has an SX127x chip, I recommend you just use https://github.com/mcci-catena/arduino-lmic instead.

I'll go ahead and close this issue, but feel free to leave followup comments or (ask to) reopen if needed.

Samuel-ZDM commented 3 years ago

I sent there for support but I didn't get a return. That's why I put it here.

Thanks!

matthijskooijman commented 3 years ago

Do you realize that LMIC and BasicMAC are related, but significantly different libraries? If you're using one, it makes no sense to report an issue against the other... If you're using the MCCI LMIC version, than that other repo is the right place for reporting issues. However, realize that issue trackers are often used for reporting bugs and requesting features, they do not always work as a general purpose way to get "support" (you might try the Arduino forum, the TTN forum, or some chat channels for that maybe). Also, your post is quite low on information, a bit more info on what you've tried already, or maybe some debug output could be helpful to add when you ask this question (but don't bother adding it here, as this is the wrong place).

Samuel-ZDM commented 3 years ago

Yes, sorry about that. I thought that the same principle used in the lmic of your repository was used in the other, because my question is whether the lower frequency of the micro can influence the functioning of the communication. I thought it was something more general and so you could help me. But sorry, I will add more information in the other issue.

Thanks!