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

Adding MIC Trailer (Issue #123) #126

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

sanjay-charran
Copy link

@sanjay-charran sanjay-charran commented Nov 9, 2022

MIC Trailer (Issue #123):

Proposed Changes

  • Added two files (one header and one source) for Trailer:

    • model/lorawan-mic-trailer.cc
    • model/lorawan-mic-trailer.h
  • model/lorawan-mic-trailer: Added in AES128_CMAC and AES-128 cipher (needed for AES128_CMAC), MIC calculation and verification (See LoRaWAN Specification Section 4.4) for both UL and DL and v1.0 and v1.1 network servers, and functions for packing B0/B1 blocks

  • model/end-device-lorawan-mac: Added function for handling the MIC calculation with all required parameters and added the necessary parameters to the class (some are related to join procedure which requires them to be set manually due to this not being implemented in the module) and had the MIC trailer be calculated and added to the packets before transmission

-helper/lorawan-mac-helper: Added functionality for generating JoinEUI and NwkKey keys for each end device

@sanjay-charran sanjay-charran marked this pull request as ready for review May 25, 2023 21:00
@non-det-alle non-det-alle force-pushed the develop branch 4 times, most recently from 6e9060a to 9d61a45 Compare November 10, 2023 12:48
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