I have been doing much reading regarding Lora / Lorawan but I do not really see what defines a session…Can someone clarify what defines the time length of a session? If end node needs to re-join is this considered the same session or would this be a new session?
An OTAA session starts when you join and ends with the next join. An ABP session starts when programming the device id and session keys and ends when you change any of them.
Keep in mind you need to use incrementing frame counters when a session is active. Resetting the counter results in a ‘replay’ attack and all packets will be dropped until the counter exceeds the value prior to reset.
1 Like