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