Many thanks for you answer, Yes I have already looked at this link but I did not find any information that could have helped me …
My code is stable when I used the HSPI, I started with this (without LMIC codebase)
with this system, I can count the number of bees that leave and return to the hive. I already have a system that allows my to controle the weight of hives in lora and I want to integrate everything: