Wiki source code of Connection to Senra

Version 13.7 by Xiaoling on 2022/07/23 17:26

Hide last authors
Xiaoling 13.7 1 **~ Table of Contents:**
Xiaoling 1.1 2
Xiaoling 2.3 3 {{toc/}}
Xiaoling 1.1 4
Xiaoling 2.3 5
Xiaoling 13.7 6 = 1.  Introduction =
Xiaoling 1.1 7
Xiaoling 13.7 8
Xiaoling 1.2 9 Here list some notice when connect to Senra.
Xiaoling 1.1 10
Xiaoling 13.2 11
Xiaoling 13.7 12 = 2.  Notice for Gateway =
Xiaoling 1.1 13
Xiaoling 13.7 14
Xiaoling 1.2 15 (((
16 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.
Xiaoling 13.7 17
18
Xiaoling 1.2 19 )))
Xiaoling 1.1 20
Xiaoling 9.2 21 [[image:image-20220524181429-1.jpeg]]
Xiaoling 1.1 22
Xiaoling 2.5 23
Xiaoling 1.2 24 Gateway Must be Approval
Xiaoling 1.1 25
Xiaoling 1.2 26 * The Gateway EUI must match the Approval Gateway EUI in above screen shot
27 * The keep alive status set to 300 seconds. Default 30 seconds is too short to Senra
Xiaoling 1.1 28
Xiaoling 13.7 29
Xiaoling 9.2 30 [[image:image-20220524181455-2.png]]
Xiaoling 1.1 31
Xiaoling 13.7 32
Xiaoling 1.2 33 Configure the Gateway with correct settings.
Xiaoling 1.1 34
Xiaoling 13.7 35
Xiaoling 1.2 36 Gateway should be Active after have internet connection. like below:
Xiaoling 1.1 37
Xiaoling 13.2 38 [[image:image-20220526114401-1.png||height="395" width="1337"]]
Xiaoling 1.1 39
Xiaoling 1.2 40 Configure the Gateway with correct settings.
Xiaoling 1.1 41
Xiaoling 13.2 42
Xiaoling 1.2 43
Xiaoling 13.7 44 = 3.  Notice for End node =
Xiaoling 1.2 45
Xiaoling 13.7 46 == 3.1  Set up for OTAA mode ==
Xiaoling 1.2 47
Xiaoling 13.7 48
49
50 == 3.2  Set up for ABP Mode ==
51
52
Xiaoling 1.2 53 (((
Xiaoling 2.4 54 (((
Xiaoling 1.2 55 ABP Mode devices has to be IN868 frequency band as well, User can use ABP mode to update data.
56 )))
Xiaoling 2.4 57 )))
Xiaoling 1.2 58
59 (((
Xiaoling 2.4 60 (((
Xiaoling 13.7 61 For Dragino End Node, user can access to the device console and run AT Command "(% style="color:blue" %)**AT+NJM=0**(%%)" to set it to ABP mode.
Xiaoling 1.2 62 )))
Xiaoling 2.4 63 )))
Xiaoling 1.2 64
65 (((
Xiaoling 2.4 66 (((
Xiaoling 13.7 67 User can know the keys by run (% style="color:blue" %)**AT+CFG**.
68
69
Xiaoling 1.2 70 )))
Xiaoling 2.4 71 )))
Xiaoling 1.2 72
Xiaoling 9.2 73 [[image:image-20220524181520-4.png]]
Xiaoling 1.2 74
75 AT+CFG command output from End node
76
77 In Senra, need to create a ABP device
78
Xiaoling 9.2 79 [[image:image-20220524181532-5.png]]
Xiaoling 1.2 80
81 Create ABP Device
82
Xiaoling 13.5 83
Xiaoling 1.2 84 And input the keys:
85
Xiaoling 13.7 86 * **Device EUI : ** Use the value from AT+DEUI
87 * **Device ADDR:**  Use the value from AT+DADDR
88 * **Application session key:**  Use the value from AT+APPSKEY
89 * **Network Session Key:**  Use the value from AT+NWKSKEY
Xiaoling 1.2 90
Xiaoling 9.2 91 [[image:image-20220524181549-6.png]]
Xiaoling 1.2 92
93 Create ABP Device
94
Xiaoling 13.6 95
Xiaoling 1.2 96 After Successfule uplink, User will be to see the activity:
97
Xiaoling 13.2 98 [[image:image-20220526114506-2.png]]
Xiaoling 1.2 99
100 ABP Device Info