Skip to content

Adding MIC Trailer (Issue #123)#126

Open
sanjay-charran wants to merge 11 commits into
signetlabdei:developfrom
sanjay-charran:mic_iss123
Open

Adding MIC Trailer (Issue #123)#126
sanjay-charran wants to merge 11 commits into
signetlabdei:developfrom
sanjay-charran:mic_iss123

Conversation

@sanjay-charran
Copy link
Copy Markdown

@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
@nondetalle nondetalle force-pushed the develop branch 4 times, most recently from 6e9060a to 9d61a45 Compare November 10, 2023 12:48
@maribu maribu mentioned this pull request Sep 9, 2025
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