Skip to content

Changes to improve useability with class C devices - #44

Open
elphmatt wants to merge 3 commits into
ArmDeveloperEcosystem:mainfrom
elphmatt:main
Open

Changes to improve useability with class C devices#44
elphmatt wants to merge 3 commits into
ArmDeveloperEcosystem:mainfrom
elphmatt:main

Conversation

@elphmatt

@elphmatt elphmatt commented Jun 24, 2024

Copy link
Copy Markdown

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