Wiki source code of Connection to Senra
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 | |||
46 | == 3.1 Set up for OTAA mode == | ||
47 | |||
48 | |||
49 | == 3.2 Set up for ABP Mode == | ||
50 | |||
51 | |||
52 | ((( | ||
53 | ((( | ||
54 | ABP Mode devices has to be IN868 frequency band as well, User can use ABP mode to update data. | ||
55 | ))) | ||
56 | ))) | ||
57 | |||
58 | ((( | ||
59 | ((( | ||
60 | 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. | ||
61 | ))) | ||
62 | ))) | ||
63 | |||
64 | ((( | ||
65 | ((( | ||
66 | User can know the keys by run (% style="color:blue" %)**AT+CFG**. | ||
67 | |||
68 | |||
69 | ))) | ||
70 | ))) | ||
71 | |||
72 | [[image:image-20220524181520-4.png]] | ||
73 | |||
74 | AT+CFG command output from End node | ||
75 | |||
76 | In Senra, need to create a ABP device | ||
77 | |||
78 | [[image:image-20220524181532-5.png]] | ||
79 | |||
80 | Create ABP Device | ||
81 | |||
82 | |||
83 | (% style="color:blue" %)**And input the keys:** | ||
84 | |||
85 | * (% style="color:#037691" %)**Device EUI : ** (%%) Use the value from AT+DEUI | ||
86 | * (% style="color:#037691" %)**Device ADDR:**(%%) Use the value from AT+DADDR | ||
87 | * (% style="color:#037691" %)**Application session key:** (%%) Use the value from AT+APPSKEY | ||
88 | * (% style="color:#037691" %)**Network Session Key:** (%%) Use the value from AT+NWKSKEY | ||
89 | |||
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 |