Wiki source code of Connection to Senra
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.3 | 1 | **~ Contents:** |
![]() |
1.1 | 2 | |
![]() |
2.3 | 3 | {{toc/}} |
![]() |
1.1 | 4 | |
![]() |
2.3 | 5 | |
![]() |
1.2 | 6 | = 1. Introduction = |
![]() |
1.1 | 7 | |
![]() |
1.2 | 8 | Here list some notice when connect to Senra. |
![]() |
1.1 | 9 | |
![]() |
13.2 | 10 | |
![]() |
1.2 | 11 | = 2. Notice for Gateway = |
![]() |
1.1 | 12 | |
![]() |
1.2 | 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 | ))) | ||
![]() |
1.1 | 16 | |
![]() |
9.2 | 17 | [[image:image-20220524181429-1.jpeg]] |
![]() |
1.1 | 18 | |
![]() |
2.5 | 19 | |
![]() |
1.2 | 20 | Gateway Must be Approval |
![]() |
1.1 | 21 | |
![]() |
1.2 | 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 | ||
![]() |
1.1 | 24 | |
![]() |
9.2 | 25 | [[image:image-20220524181455-2.png]] |
![]() |
1.1 | 26 | |
![]() |
1.2 | 27 | Configure the Gateway with correct settings. |
![]() |
1.1 | 28 | |
![]() |
1.2 | 29 | Gateway should be Active after have internet connection. like below: |
![]() |
1.1 | 30 | |
![]() |
13.2 | 31 | [[image:image-20220526114401-1.png||height="395" width="1337"]] |
![]() |
1.1 | 32 | |
![]() |
1.2 | 33 | Configure the Gateway with correct settings. |
![]() |
1.1 | 34 | |
![]() |
13.2 | 35 | |
![]() |
1.2 | 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 | ((( | ||
![]() |
2.4 | 43 | ((( |
![]() |
1.2 | 44 | ABP Mode devices has to be IN868 frequency band as well, User can use ABP mode to update data. |
45 | ))) | ||
![]() |
2.4 | 46 | ))) |
![]() |
1.2 | 47 | |
48 | ((( | ||
![]() |
2.4 | 49 | ((( |
![]() |
1.2 | 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 | ))) | ||
![]() |
2.4 | 52 | ))) |
![]() |
1.2 | 53 | |
54 | ((( | ||
![]() |
2.4 | 55 | ((( |
![]() |
1.2 | 56 | User can know the keys by run **AT+CFG**. |
57 | ))) | ||
![]() |
2.4 | 58 | ))) |
![]() |
1.2 | 59 | |
![]() |
9.2 | 60 | [[image:image-20220524181520-4.png]] |
![]() |
1.2 | 61 | |
62 | AT+CFG command output from End node | ||
63 | |||
64 | In Senra, need to create a ABP device | ||
65 | |||
![]() |
9.2 | 66 | [[image:image-20220524181532-5.png]] |
![]() |
1.2 | 67 | |
68 | Create ABP Device | ||
69 | |||
![]() |
13.5 | 70 | |
![]() |
1.2 | 71 | And input the keys: |
72 | |||
73 | * Device EUI : Use the value from AT+DEUI | ||
74 | * Device ADDR: Use the value from AT+DADDR | ||
75 | * Application session key: Use the value from AT+APPSKEY | ||
76 | * Network Session Key: Use the value from AT+NWKSKEY | ||
77 | |||
![]() |
9.2 | 78 | [[image:image-20220524181549-6.png]] |
![]() |
1.2 | 79 | |
80 | Create ABP Device | ||
81 | |||
82 | After Successfule uplink, User will be to see the activity: | ||
83 | |||
![]() |
13.2 | 84 | [[image:image-20220526114506-2.png]] |
![]() |
1.2 | 85 | |
86 | ABP Device Info |