lorawan-library-for-pico icon indicating copy to clipboard operation
lorawan-library-for-pico copied to clipboard

Changes to improve useability with class C devices

Open elphmatt opened this issue 8 months ago • 0 comments

Made a couple changes to make it easier to use class C devices and gpio interrupts.

  • added a function called int lorawan_change_device_class(DeviceClass_t newClass) that changes a global variable deivceClass to newClass and runs the LmHandlerRequestClass function.
  • Changed the IRQ call for dio_gpio_callback to be a raw IRQ handler in order to free up the default GPIO IRQ callback mechanism for the user application.

elphmatt avatar Jun 24 '24 16:06 elphmatt