Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to improve useability with class C devices #44

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

elphmatt
Copy link

@elphmatt elphmatt commented Jun 24, 2024

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 and others added 3 commits June 24, 2024 10:47
- added a function called int lorawan_change_device_class(DeviceClass_t newClass) that changes the global variable deivceClass to newClass and runs the LmHandlerRequestClass function
-changed the iqr call for dio_gpio_callback to be a raw irq handler in order to free up the default gpio iqr callback mechanism for the user application
have to pass the raw irq handler before enabling the irq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant