Wiki source code of Connection to Senra
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
13.7 | 1 | **~ Table of Contents:** |
![]() |
1.1 | 2 | |
![]() |
2.3 | 3 | {{toc/}} |
![]() |
1.1 | 4 | |
![]() |
2.3 | 5 | |
![]() |
13.7 | 6 | = 1. Introduction = |
![]() |
1.1 | 7 | |
![]() |
13.7 | 8 | |
![]() |
1.2 | 9 | Here list some notice when connect to Senra. |
![]() |
1.1 | 10 | |
![]() |
13.2 | 11 | |
![]() |
13.7 | 12 | = 2. Notice for Gateway = |
![]() |
1.1 | 13 | |
![]() |
13.7 | 14 | |
![]() |
1.2 | 15 | ((( |
16 | After register an account in Senra, ask their support to approval your gateway: refer ths link [[https:~~/~~/docs.senraco.io/dev/gw/SemtechPacketForwarder/>>url:https://docs.senraco.io/dev/gw/SemtechPacketForwarder/]] for gateway instruction of Senra. | ||
![]() |
13.7 | 17 | |
18 | |||
![]() |
1.2 | 19 | ))) |
![]() |
1.1 | 20 | |
![]() |
9.2 | 21 | [[image:image-20220524181429-1.jpeg]] |
![]() |
1.1 | 22 | |
![]() |
2.5 | 23 | |
![]() |
1.2 | 24 | Gateway Must be Approval |
![]() |
1.1 | 25 | |
![]() |
1.2 | 26 | * The Gateway EUI must match the Approval Gateway EUI in above screen shot |
27 | * The keep alive status set to 300 seconds. Default 30 seconds is too short to Senra | ||
![]() |
1.1 | 28 | |
![]() |
13.7 | 29 | |
![]() |
9.2 | 30 | [[image:image-20220524181455-2.png]] |
![]() |
1.1 | 31 | |
![]() |
13.7 | 32 | |
![]() |
1.2 | 33 | Configure the Gateway with correct settings. |
![]() |
1.1 | 34 | |
![]() |
13.7 | 35 | |
![]() |
1.2 | 36 | Gateway should be Active after have internet connection. like below: |
![]() |
1.1 | 37 | |
![]() |
13.2 | 38 | [[image:image-20220526114401-1.png||height="395" width="1337"]] |
![]() |
1.1 | 39 | |
![]() |
1.2 | 40 | Configure the Gateway with correct settings. |
![]() |
1.1 | 41 | |
![]() |
13.2 | 42 | |
![]() |
1.2 | 43 | |
![]() |
13.7 | 44 | = 3. Notice for End node = |
![]() |
1.2 | 45 | |
![]() |
13.7 | 46 | == 3.1 Set up for OTAA mode == |
![]() |
1.2 | 47 | |
![]() |
13.7 | 48 | |
49 | |||
50 | == 3.2 Set up for ABP Mode == | ||
51 | |||
52 | |||
![]() |
1.2 | 53 | ((( |
![]() |
2.4 | 54 | ((( |
![]() |
1.2 | 55 | ABP Mode devices has to be IN868 frequency band as well, User can use ABP mode to update data. |
56 | ))) | ||
![]() |
2.4 | 57 | ))) |
![]() |
1.2 | 58 | |
59 | ((( | ||
![]() |
2.4 | 60 | ((( |
![]() |
13.7 | 61 | For Dragino End Node, user can access to the device console and run AT Command "(% style="color:blue" %)**AT+NJM=0**(%%)" to set it to ABP mode. |
![]() |
1.2 | 62 | ))) |
![]() |
2.4 | 63 | ))) |
![]() |
1.2 | 64 | |
65 | ((( | ||
![]() |
2.4 | 66 | ((( |
![]() |
13.7 | 67 | User can know the keys by run (% style="color:blue" %)**AT+CFG**. |
68 | |||
69 | |||
![]() |
1.2 | 70 | ))) |
![]() |
2.4 | 71 | ))) |
![]() |
1.2 | 72 | |
![]() |
9.2 | 73 | [[image:image-20220524181520-4.png]] |
![]() |
1.2 | 74 | |
75 | AT+CFG command output from End node | ||
76 | |||
77 | In Senra, need to create a ABP device | ||
78 | |||
![]() |
9.2 | 79 | [[image:image-20220524181532-5.png]] |
![]() |
1.2 | 80 | |
81 | Create ABP Device | ||
82 | |||
![]() |
13.5 | 83 | |
![]() |
13.8 | 84 | **(% style="color:blue" %)And input the keys:** |
![]() |
1.2 | 85 | |
![]() |
13.8 | 86 | * **(% style="color:#037691" %)Device EUI : ** (%%) Use the value from AT+DEUI |
87 | * **(% style="color:#037691" %)Device ADDR:**(%%) Use the value from AT+DADDR | ||
88 | * **(% style="color:#037691" %)Application session key:** (%%) Use the value from AT+APPSKEY | ||
89 | * **(% style="color:#037691" %)Network Session Key:** (%%) Use the value from AT+NWKSKEY | ||
![]() |
1.2 | 90 | |
![]() |
9.2 | 91 | [[image:image-20220524181549-6.png]] |
![]() |
1.2 | 92 | |
93 | Create ABP Device | ||
94 | |||
![]() |
13.6 | 95 | |
![]() |
1.2 | 96 | After Successfule uplink, User will be to see the activity: |
97 | |||
![]() |
13.2 | 98 | [[image:image-20220526114506-2.png]] |
![]() |
1.2 | 99 | |
100 | ABP Device Info |