Changes for page Set up CoAP Server
Last modified by Xiaoling on 2024/08/19 16:01
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -22,6 +22,7 @@ 22 22 Network structure 23 23 24 24 25 + 25 25 = 2. Install CoAP server = 26 26 27 27 ... ... @@ -41,6 +41,7 @@ 41 41 ((( 42 42 (% 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.** 43 43 45 + 44 44 45 45 ))) 46 46 ... ... @@ -63,6 +63,7 @@ 63 63 Run install.bat 64 64 65 65 68 + 66 66 (% style="color:blue" %)**3. Load the unpacked CoAP APP in Google Chrome:** 67 67 68 68 [[image:image-20220530085423-3.png||height="241" width="1250"]] ... ... @@ -70,11 +70,13 @@ 70 70 Install Copper APP 71 71 72 72 76 + 73 73 [[image:image-20220530085531-4.png]] 74 74 75 75 Install APP Successful 76 76 77 77 82 + 78 78 (% style="color:blue" %)**4. Load the unpacked CoAP extension in Google Chrome:** 79 79 80 80 [[image:image-20220530085638-5.png||height="338" width="1320"]] ... ... @@ -87,6 +87,7 @@ 87 87 Install Extension Successful 88 88 89 89 95 + 90 90 (% style="color:blue" %)**5. Replace the appID in file extension\endpoint\ClientPortChrome.js to Copper (Cu4Cr) Application ID** 91 91 92 92 [[image:image-20220530090444-10.png]] ... ... @@ -94,13 +94,15 @@ 94 94 Replace ID 95 95 96 96 97 -(% style="color:blue" %)**6. Open the Copper extension. If you see below message, means install successfully.** 98 98 104 +**(% style="color:blue" %)6. Open the Copper extension. If you see below message, means install successfully.** 105 + 99 99 [[image:image-20220530090404-9.png||height="658" width="1238"]] 100 100 101 101 Install Finished 102 102 103 103 111 + 104 104 == 3.2 Test CoAP connection == 105 105 106 106 ... ... @@ -114,6 +114,7 @@ 114 114 Connect to CoAP server 115 115 116 116 125 + 117 117 == 3.3 Test CoAP Uplink == 118 118 119 119 ... ... @@ -127,21 +127,22 @@ 127 127 Use MQTT.fx to subscribe the topic 128 128 129 129 139 + 130 130 [[image:image-20220530091358-18.png||height="549" width="1035"]] 131 131 132 132 Use CoAP Exension to send a update to CoAP server 133 133 134 134 145 + 135 135 [[image:image-20220530091237-17.png]] 136 136 137 137 MQTT.fx get the update of this topic on CoAP server 138 138 139 139 151 + 140 140 == 3.4 Test CoAP Downlink == 141 141 142 142 143 143 ((( 144 144 Try to use MQTT.fx to publish a message to the topic (topic0) in the server. CoAP extension will see this incomming message. 145 - 146 - 147 147 )))