Wiki source code of Connection to Senra
Last modified by Xiaoling on 2023/04/21 17:49
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **~ Table of Contents:** | ||
2 | |||
3 | {{toc/}} | ||
4 | |||
5 | |||
6 | = 1. Introduction = | ||
7 | |||
8 | |||
9 | Here list some notice when connect to Senra. | ||
10 | |||
11 | |||
12 | = 2. Notice for Gateway = | ||
13 | |||
14 | |||
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. | ||
17 | |||
18 | |||
19 | ))) | ||
20 | |||
21 | [[image:image-20220524181429-1.jpeg]] | ||
22 | |||
23 | |||
24 | Gateway Must be Approval | ||
25 | |||
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 | ||
28 | |||
29 | [[image:image-20220524181455-2.png]] | ||
30 | |||
31 | |||
32 | Configure the Gateway with correct settings. | ||
33 | |||
34 | |||
35 | Gateway should be Active after have internet connection. like below: | ||
36 | |||
37 | [[image:image-20220526114401-1.png||height="395" width="1337"]] | ||
38 | |||
39 | Configure the Gateway with correct settings. | ||
40 | |||
41 | |||
42 | |||
43 | = 3. Notice for End node = | ||
44 | |||
45 | == 3.1 Set up for OTAA mode == | ||
46 | |||
47 | == 3.2 Set up for ABP Mode == | ||
48 | |||
49 | |||
50 | ((( | ||
51 | ((( | ||
52 | ABP Mode devices has to be IN868 frequency band as well, User can use ABP mode to update data. | ||
53 | ))) | ||
54 | ))) | ||
55 | |||
56 | ((( | ||
57 | ((( | ||
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. | ||
59 | ))) | ||
60 | ))) | ||
61 | |||
62 | ((( | ||
63 | ((( | ||
64 | User can know the keys by run (% style="color:blue" %)**AT+CFG**. | ||
65 | |||
66 | |||
67 | ))) | ||
68 | ))) | ||
69 | |||
70 | [[image:image-20220524181520-4.png]] | ||
71 | |||
72 | AT+CFG command output from End node | ||
73 | |||
74 | In Senra, need to create a ABP device | ||
75 | |||
76 | [[image:image-20220524181532-5.png]] | ||
77 | |||
78 | Create ABP Device | ||
79 | |||
80 | |||
81 | (% style="color:blue" %)**And input the keys:** | ||
82 | |||
83 | * (% style="color:#037691" %)**Device EUI : ** (%%) Use the value from **AT+DEUI** | ||
84 | |||
85 | * (% style="color:#037691" %)**Device ADDR:**(%%) Use the value from **AT+DADDR** | ||
86 | |||
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 | |||
91 | [[image:image-20220524181549-6.png]] | ||
92 | |||
93 | Create ABP Device | ||
94 | |||
95 | |||
96 | After Successfule uplink, User will be to see the activity: | ||
97 | |||
98 | [[image:image-20220526114506-2.png]] | ||
99 | |||
100 | ABP Device Info |