Mathieu Moreau

Results 267 comments of Mathieu Moreau

As I measured ion is at least 5-10x slower than built in json loads/dumps. Takes many seconds to execute with only 300KB dictionary.

How do I send a message in Python to a conversation_id?

The region/frequency selection is highly convoluted, spans over multiple files. There must be an easier, more elegant way. There are only 16slots of frequencies, SF/duty cycle for each. like: setRegion(&freqMap,...

I would definitely use a session struct inside LMIC, containing everything needed for activation and ABP, including counters. Then it can be easily saved/restored to/from NV, even swapping network operators....

Tracking the difference between EV_TXSTART and EV_TXCOMPLETE in app layer is far more simpler than having a function covering every possible cases. The difference could be calculated inside LMIC, but...

You can also try if ABP works better than OTAA.

I was thinking the same thing, EV_RESET is a must, LMIC_reset() is also called internally on frame counter overflow. Application should to know when session keys are lost. possibly moving...

My proposal would be to replace all asserts with **EV_ASSERTED callbacks** notificating upper layers that comms subsystem crashed, outcome uncertain, do something, e.g. repeat last action, or do an LMIC...

Is it backward compatible with v1.0.x providers?

I wouldn't put assertion onto external sources, noise on SPI can bring down the whole system (e.g. pump controller). All it should do is to start a comms reinit. Field...