Wiki source code of Connection to Senra
Last modified by Xiaoling on 2023/04/21 17:49
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 | |
![]() |
9.2 | 29 | [[image:image-20220524181455-2.png]] |
![]() |
1.1 | 30 | |
![]() |
13.7 | 31 | |
![]() |
1.2 | 32 | Configure the Gateway with correct settings. |
![]() |
1.1 | 33 | |
![]() |
13.7 | 34 | |
![]() |
1.2 | 35 | Gateway should be Active after have internet connection. like below: |
![]() |
1.1 | 36 | |
![]() |
13.2 | 37 | [[image:image-20220526114401-1.png||height="395" width="1337"]] |
![]() |
1.1 | 38 | |
![]() |
1.2 | 39 | Configure the Gateway with correct settings. |
![]() |
1.1 | 40 | |
![]() |
13.2 | 41 | |
![]() |
1.2 | 42 | |
![]() |
13.7 | 43 | = 3. Notice for End node = |
![]() |
1.2 | 44 | |
![]() |
13.7 | 45 | == 3.1 Set up for OTAA mode == |
![]() |
1.2 | 46 | |
![]() |
13.7 | 47 | == 3.2 Set up for ABP Mode == |
48 | |||
49 | |||
![]() |
1.2 | 50 | ((( |
![]() |
2.4 | 51 | ((( |
![]() |
1.2 | 52 | ABP Mode devices has to be IN868 frequency band as well, User can use ABP mode to update data. |
53 | ))) | ||
![]() |
2.4 | 54 | ))) |
![]() |
1.2 | 55 | |
56 | ((( | ||
![]() |
2.4 | 57 | ((( |
![]() |
13.7 | 58 | 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 | 59 | ))) |
![]() |
2.4 | 60 | ))) |
![]() |
1.2 | 61 | |
62 | ((( | ||
![]() |
2.4 | 63 | ((( |
![]() |
13.7 | 64 | User can know the keys by run (% style="color:blue" %)**AT+CFG**. |
65 | |||
66 | |||
![]() |
1.2 | 67 | ))) |
![]() |
2.4 | 68 | ))) |
![]() |
1.2 | 69 | |
![]() |
9.2 | 70 | [[image:image-20220524181520-4.png]] |
![]() |
1.2 | 71 | |
72 | AT+CFG command output from End node | ||
73 | |||
74 | In Senra, need to create a ABP device | ||
75 | |||
![]() |
9.2 | 76 | [[image:image-20220524181532-5.png]] |
![]() |
1.2 | 77 | |
78 | Create ABP Device | ||
79 | |||
![]() |
13.5 | 80 | |
![]() |
13.9 | 81 | (% style="color:blue" %)**And input the keys:** |
![]() |
1.2 | 82 | |
![]() |
13.11 | 83 | * (% style="color:#037691" %)**Device EUI : ** (%%) Use the value from **AT+DEUI** |
![]() |
1.2 | 84 | |
![]() |
13.11 | 85 | * (% style="color:#037691" %)**Device ADDR:**(%%) Use the value from **AT+DADDR** |
![]() |
13.9 | 86 | |
![]() |
13.11 | 87 | * (% style="color:#037691" %)**Application session key:** (%%) Use the value from **AT+APPSKEY** |
88 | |||
89 | * (% style="color:#037691" %)**Network Session Key:** (%%) Use the value from **AT+NWKSKEY** | ||
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 |