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 | ||
1.2 | 10 | = 2. Notice for Gateway = | |
1.1 | 11 | ||
1.2 | 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 | ))) | ||
1.1 | 15 | ||
9.2 | 16 | [[image:image-20220524181429-1.jpeg]] | |
1.1 | 17 | ||
2.5 | 18 | ||
1.2 | 19 | Gateway Must be Approval | |
1.1 | 20 | ||
1.2 | 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 | ||
1.1 | 23 | ||
9.2 | 24 | [[image:image-20220524181455-2.png]] | |
1.1 | 25 | ||
1.2 | 26 | Configure the Gateway with correct settings. | |
1.1 | 27 | ||
1.2 | 28 | Gateway should be Active after have internet connection. like below: | |
1.1 | 29 | ||
9.2 | 30 | [[image:image-20220524181508-3.png]] | |
1.1 | 31 | ||
1.2 | 32 | Configure the Gateway with correct settings. | |
1.1 | 33 | ||
1.2 | 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 | ((( | ||
2.4 | 41 | ((( | |
1.2 | 42 | ABP Mode devices has to be IN868 frequency band as well, User can use ABP mode to update data. | |
43 | ))) | ||
2.4 | 44 | ))) | |
1.2 | 45 | ||
46 | ((( | ||
2.4 | 47 | ((( | |
1.2 | 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 | ))) | ||
2.4 | 50 | ))) | |
1.2 | 51 | ||
52 | ((( | ||
2.4 | 53 | ((( | |
1.2 | 54 | User can know the keys by run **AT+CFG**. | |
55 | ))) | ||
2.4 | 56 | ))) | |
1.2 | 57 | ||
9.2 | 58 | [[image:image-20220524181520-4.png]] | |
1.2 | 59 | ||
60 | AT+CFG command output from End node | ||
61 | |||
62 | In Senra, need to create a ABP device | ||
63 | |||
9.2 | 64 | [[image:image-20220524181532-5.png]] | |
1.2 | 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 | |||
9.2 | 75 | [[image:image-20220524181549-6.png]] | |
1.2 | 76 | ||
77 | Create ABP Device | ||
78 | |||
79 | After Successfule uplink, User will be to see the activity: | ||
80 | |||
9.2 | 81 | [[image:image-20220524181604-7.png]] | |
1.2 | 82 | ||
83 | ABP Device Info |