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