Wiki source code of Connection to Senra

Version 13.6 by Xiaoling on 2022/05/30 14:36

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