하드웨어/lora lorawan

lora driver for stm32 written in c

구차니 2026. 2. 26. 10:08

매번 찾아도 안나오더니 오늘 검색하니 똭. -_-

구글아 날 괴롭히는거지?

 

아무튼 c로 작성된 녀석인데.. dio 인터럽트는 사용하지 않고

레지스터 읽어서 (0x12 IRQ flag) 처리하는 쪽으로 구성이 된 듯.

 

RECEIVE packet routines
uint8_t  lora_is_packet_available(lora_sx1276 *lora) Checks if packet modem has packet awaiting to be received Returns 0 if no packet is available, or any positive integer in case packet is ready

uint8_t  lora_pending_packet_length(lora_sx1276 *lora); If modem has packet awaiting to be received - returns it's length.

[링크 : https://github.com/belyalov/stm32-hal-libraries/blob/master/doc/lora.md]

[링크 : https://github.com/belyalov/stm32-hal-libraries/tree/master]