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