I N S I G H T   S I P 
 
 
 
 L o R a W A N   e n d p o i n t   s t a c k   i m p l e m e n t a t i o n   a n d   e x a m p l e   p r o j e c t s . 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 1 .   I n t r o d u c t i o n 
 
 - - - - - - - - - - - - - - - - 
 
 T h e   a i m   o f   t h i s   a r c h i v e   i s   t o   s h o w   e x a m p l e s   o f   r a w   L o R a   a n d   L o R a W A N   s t a c k   i m p l e m e n t a t i o n . 
 
 
 
 T h i s   L o R a W A N   s t a c k   i m p l e m e n t s   E u r o p e ,   U S   a n d   J a p a n   r e g i o n   C l a s s   A   e n d p o i n t . 
 
 
 
 O t h e r   s i m p l e   e x a m p l e s   a r e   p r o v i d e d : 
 
 -   a   P i n g - P o n g   a p p l i c a t i o n . 
 
 -   a   C W   a p p l i c a t i o n . 
 
 -   a n   R X   s e n s i t i v i t y   a p p l i c a t i o n .   
 
 -   a   T X   a n d   R X   w i t h   t e m p e r a t u r e   d a t a   a p p l i c a t i o n   ( d e f a u l t   f i r m w a r e   i n   t h e   D e v   K i t s ) 
 
 -   a   B L E   +   L o R a W a n   t e m p l a t e 
 
 -   A T   c o m m a n d s   f o r   L o R a W a n 
 
 
 
 2 .   A c k n o w l e d g m e n t s 
 
 - - - - - - - - - - - - - - - - - - - 
 
 T h e   o f f i c i a l   L o R a W A N   s t a c k   ( h t t p : / / s t a c k f o r c e . g i t h u b . i o / L o R a M a c - d o c / * )   p r o j e c t   w a s   u s e d   a t   t h e   b e g i n n i n g   a s   s o u r c e   o f   i n s p i r a t i o n . 
 
 
 
 T h i s   p r o g r a m   u s e s   t h e   A E S   a l g o r i t h m   i m p l e m e n t a t i o n   ( h t t p : / / w w w . g l a d m a n . m e . u k / )   b y   B r i a n   G l a d m a n . 
 
 
 
 T h i s   p r o g r a m   u s e s   t h e   C M A C   a l g o r i t h m   i m p l e m e n t a t i o n 
 
 ( h t t p : / / w w w . c s e . c h a l m e r s . s e / r e s e a r c h / g r o u p / d c s / m a s t e r s / c o n t i k i s e c / )   b y   L a n d e r   C a s a d o ,   P h i l i p p a s   T s i g a s . 
 
 
 
 I m p l e m e n t s   L o R a   M a c   f r o m   S e m t e c h / S t a c k F o r c e   m a s t e r   b r a n c h   ( 4 . 4 . 1   r e l e a s e ) 
 
 h t t p s : / / g i t h u b . c o m / L o r a - n e t / L o R a M a c - n o d e / t r e e / m a s t e r 
 
 
 
 3 .   D e p e n d e n c i e s 
 
 - - - - - - - - - - - - - - - - 
 
 T h i s   p r o g r a m   d e p e n d s   o n   s p e c i f i c   h a r d w a r e   p l a t f o r m s .   C u r r e n t l y   t h e   s u p p o r t e d   p l a t f o r m s   a r e : 
 
         -   I S P 4 5 2 0 _ E U   R e v i s i o n   C 
 
                 M C U           :   n R F 5 2 8 3 2   -   5 1 2 K   F L A S H ,   6 4 K   R A M ,   T i m e r s ,   S P I ,   I 2 C ,   U A R T ,   D A C ,   A D C ,   D M A 
 
                 R A D I O       :   S X 1 2 6 1 
 
                 A N T E N N A   :   i n t e r n a l   c i r c u i t   a n t e n n a 
 
         -   I S P 4 5 2 0 _ U S   R e v i s i o n   A 
 
                 M C U           :   n R F 5 2 8 3 2   -   5 1 2 K   F L A S H ,   6 4 K   R A M ,   T i m e r s ,   S P I ,   I 2 C ,   U A R T ,   D A C ,   A D C ,   D M A 
 
                 R A D I O       :   S X 1 2 6 2 
 
                 A N T E N N A   :   i n t e r n a l   c i r c u i t   a n t e n n a 
 
         -   I S P 4 5 2 0 _ J P   R e v i s i o n   A 
 
                 M C U           :   n R F 5 2 8 3 2   -   5 1 2 K   F L A S H ,   6 4 K   R A M ,   T i m e r s ,   S P I ,   I 2 C ,   U A R T ,   D A C ,   A D C ,   D M A 
 
                 R A D I O       :   S X 1 2 6 1 
 
                 A N T E N N A   :   i n t e r n a l   c i r c u i t   a n t e n n a 
 
 
 
 4 .   U s a g e 
 
 - - - - - - - - - 
 
 P r o j e c t s   f o r   S e g g e r   E m b e d d e d   S t u d i o   E n v i r o n m e n t s   a r e   a v a i l a b l e . 
 
 
 
 O n e   p r o j e c t   i s   a v a i l a b l e   p e r   a p p l i c a t i o n   a n d   f o r   e a c h   h a r d w a r e   p l a t f o r m   i n   e a c h 
 
 d e v e l o p m e n t   e n v i r o n m e n t .   D i f f e r e n t   t a r g e t s / c o n f i g u r a t i o n s   h a v e   b e e n   c r e a t e d   i n 
 
 t h e   d i f f e r e n t   p r o j e c t s   i n   o r d e r   t o   s e l e c t   d i f f e r e n t   o p t i o n s   s u c h   a s   t h e   r a d i o   f r e q u e n c y   b a n d   t o   b e   u s e d . 
 
 T h e   p r o j e c t s   n e e d s   N o r d i c   S D K   1 4 . 2 . 0   ( n o t   i n c l u d e d   i n   t h i s   a r c h i v e ) . 
 
 
 
 5 .   T r e e 
 
 - - - - - - - - 
 
 < Y o u r D i r e c t o r y > 
 
 % % % %h e x 
 
 % % % %s r c 
 
         % % % %a p p s 
 
         %      % % % %b l e _ l o r a _ t e m p l a t e 
 
         %      %      % % % %I S P 4 5 2 0 
 
         %      %      %      % % % %a r m 5 _ n o _ p a c k s 
 
         %      %      %      % % % %c o n f i g 
 
         %      %      %      % % % %s e s 
 
         %      % % % %b l e _ l o r a _ A T _ c o m m a n d s 
 
         %      %      % % % %I S P 4 5 2 0 
 
         %      %      %      % % % %a r m 5 _ n o _ p a c k s 
 
         %      %      %      % % % %c o n f i g 
 
         %      %      %      % % % %s e s 
 
         %      % % % %l o r a _ c l a s s A 
 
         %      %      % % % %I S P 4 5 2 0 
 
         %      %      %      % % % %a r m 5 _ n o _ p a c k s 
 
         %      %      %      % % % %c o n f i g 
 
         %      %      %      % % % %s e s 
 
         %      % % % %l o r a _ p i n g _ p o n g 
 
         %      %      % % % %I S P 4 5 2 0 
 
         %      %      %      % % % %a r m 5 _ n o _ p a c k s 
 
         %      %      %      % % % %c o n f i g 
 
         %      %      %      % % % %s e s 
 
         %      % % % %l o r a _ r x _ s e n s i 
 
         %      %      % % % %I S P 4 5 2 0 
 
         %      %      %      % % % %a r m 5 _ n o _ p a c k s 
 
         %      %      %      % % % %c o n f i g 
 
         %      %      %      % % % %s e s 
 
         %      % % % %l o r a _ r x _ t e m p 
 
         %      %      % % % %I S P 4 5 2 0 
 
         %      %      %      % % % %a r m 5 _ n o _ p a c k s 
 
         %      %      %      % % % %c o n f i g 
 
         %      %      %      % % % %s e s 
 
         %      % % % %l o r a _ t x _ t e m p 
 
         %      %      % % % %I S P 4 5 2 0 
 
         %      %      %      % % % %a r m 5 _ n o _ p a c k s 
 
         %      %      %      % % % %c o n f i g 
 
         %      %      %      % % % %s e s 
 
         %      % % % %l o r a _ t x - c w 
 
         %              % % % %I S P 4 5 2 0 
 
         %                      % % % %a r m 5 _ n o _ p a c k s 
 
         %                      % % % %c o n f i g 
 
         %                      % % % %s e s 
 
         % % % %l o r a 
 
         %      % % % %b o a r d s 
 
         %      %      % % % %i s p 4 5 2 0 
 
         %      %      %      % % % %c m s i s 
 
         %      %      % % % %m c u 
 
         %      %      %      % % % %n r f 5 2 8 3 2 
 
         %      % % % %m a c 
 
         %      %      % % % %r e g i o n 
 
         %      % % % %r a d i o 
 
         %      %      % % % %s x 1 2 6 x 
 
         %      %      % % % %s x 1 2 7 2 
 
         %      %      % % % %s x 1 2 7 6 
 
         %      % % % %s y s t e m 
 
         %              % % % %c r y p t o 
 
         % % % %n o r d i c _ s d k 
 
 
 
 7 .   C h a n g e l o g 
 
 - - - - - - - - - - - - - 
 
 2 0 1 9 - 1 2 - 0 2 ,   v 2 . 3 . 2 
 
 *   F i x e d :   S o f t w a r e   g e t s   s t u c k   w h e n   c a l l i n g   l m h _ c l a s s _ s e t ( ' C ' )   
 
 *   F i x e d :   S e t t i n g   s x 1 2 6 x   i n   c o n t i n o u s   R X   m o d e   w a s   n o t   w r o k i n g   p r o p e r l y 
 
 *   R e m o v e d :   l m h _ C o n f i r m C l a s s   i n   l m h _ c a l l b a c k _ t ,   i t   w a s   n o t   u s e d 
 
 
 
 2 0 1 9 - 0 6 - 1 4 ,   v 2 . 3 . 0 
 
 *   I m p l e m e n t e d   U S   a n d   J P   v e r s i o n   o f   t h e   m o d u l e 
 
 *   K e i l   p r o j e c t s   a r e   n o   l o n g e r   m a i n t a i n e d 
 
 
 
 2 0 1 9 - 0 5 - 0 7 ,   v 2 . 2 . 0 
 
 *   N e w   a p p :   b l e _ l o r a _ a t _ c o m m a n d s 
 
 *   I m p r o v e d   L o R a M a c H e l p e r 
 
 
 
 2 0 1 9 - 0 5 - 0 7 ,   v 2 . 1 . 0 
 
 *   C h a n g e d   L o R a W a n   s t a c k   t o   r e l e a s e   v 4 . 4 . 1 
 
 *   F i x e d   i n c l u d e   p a t h   e r r o r s   o n   s o m e   p r o j e c t s 
 
 
 
 2 0 1 9 - 0 4 - 0 9 ,   v 2 . 0 . 4 
 
 *   F i x e d   b u i l d i n g   e r r o r   o n   f e w   e x a m p l e s 
 
 
 
 2 0 1 9 - 0 3 - 2 9 ,   v 2 . 0 . 3 
 
 *   A d d e d   b l e _ l o r a _ t e m p l a t e   p r o j e c t s 
 
 *   S i m p l i f i e d   B o a r d s . h 
 
 
 
 2 0 1 9 - 0 3 - 1 8 ,   v 2 . 0 . 2 
 
 *   R e n a m e d   t a r g e t   f r o m   i s p 4 5 2 0   t o   I S P 4 5 2 0 _ E U 
 
 
 
 2 0 1 9 - 0 3 - 0 8 ,   v 2 . 0 . 1 
 
 *   C h a n g e d   L o R a M a c H e l p e r . c   t o   v 1 . 0 . 1 ,   n o w   c o r r e c t l y   s e n d   " c o n f i r m e d "   f r a m e s 
 
 
 
 2 0 1 9 - 0 2 - 0 5 ,   v 2 . 0 . 0 
 
 *   R e l e a s e   f o r   c u s t o m e r 
 
 
 
 2 0 1 8 - 0 6 - 2 8 ,   v 1 . 0 . 0 
 
 *   I n i t i a l   v e r s i o n . 
 
 