Changes for page Set up CoAP Server
Last modified by Xiaoling on 2024/08/19 16:01
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +1,6 @@ 1 - **~Contents:**1 +Contents: 2 2 3 -{{toc/}} 4 4 5 - 6 6 = 1. Introduction = 7 7 8 8 ((( ... ... @@ -13,11 +13,10 @@ 13 13 Below is the network structure. The end device use CoAP to connect our Emqx server via NB-IoT network. EMQ X broker will further process the data for the actually application. 14 14 ))) 15 15 16 -[[image:image -20220530084843-1.png]]14 +[[image:https://wiki.dragino.com/images/thumb/2/25/CoAP_1.png/600px-CoAP_1.png||height="219" width="600"]] 17 17 18 18 Network structure 19 19 20 - 21 21 = 2. Install CoAP server = 22 22 23 23 Set up example in Ubuntu 18.04 ... ... @@ -33,9 +33,7 @@ 33 33 ./bin/emqx_ctl plugins load emqx_coap # Run COAP service 34 34 ))) 35 35 36 -((( 37 37 (% style="color:red" %)**Notice: CoAP default port use 5683, if you install EMQX in a cloud server, make sure you open the UDP port 5683. So can receive the packets from NB-IoT.** 38 -))) 39 39 40 40 = 3. Test CoAP Server = 41 41 ... ... @@ -60,7 +60,7 @@ 60 60 61 61 Install Copper APP 62 62 63 -[[image:https://wiki.dragino.com/images/thumb/7/70/CoAP_Test_3.png/6 87px-CoAP_Test_3.png||alt="File:CoAPTest3.png"]]58 +[[image:https://wiki.dragino.com/images/thumb/7/70/CoAP_Test_3.png/600px-CoAP_Test_3.png||height="523" width="600"]] 64 64 65 65 Install APP Successful 66 66 ... ... @@ -100,6 +100,7 @@ 100 100 101 101 Connect to CoAP server 102 102 98 + 103 103 == 3.3 Test CoAP Uplink == 104 104 105 105 ((( ... ... @@ -120,8 +120,13 @@ 120 120 121 121 MQTT.fx get the update of this topic on CoAP server 122 122 119 + 123 123 == 3.4 Test CoAP Downlink == 124 124 125 -((( 126 126 Try to use MQTT.fx to publish a message to the topic (topic0) in the server. CoAP extension will see this incomming message. 127 -))) 123 + 124 + 125 +Use MQTT.fx to publish the topic 126 + 127 + 128 +CoAP extension see the incoming message
- image-20220530084843-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -57.1 KB - Content