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