Thanks for the clear instructions.
Here’s some of the results from the serial monitor. Let me know if you need me to past over more.
Opening serial monitor for com port: "COM4"
Serial monitor opened successfully:
4\x13*\xe1q\xc0\x13\xd0\xd6\xe5\t\x83\x83\x0f\x83"
16.783 AT read + 16 "\r\n+USOST: 0,58\r\n"
16.798 AT read OK 6 "\r\nOK\r\n"
22.882 AT read + 14 "\r\n+CIEV: 2,3\r\n"
0000024517:DEBUG: virtual particle::protocol::ProtocolError particle::protocol::DTLSMessageChannel::send(particle::prot...message length 29
40020001b168ff000a00020000000a000c270037000d51363034323832
0000024537:DEBUG: int Spark_Send_UDP(const unsigned char*, uint32_t, void*) (267):send 58
socketSendTo(0,184.72.215.47,5684,,58)
24.551 AT send 36 "AT+USOST=0,\"184.72.215.47\",5684,58\r\n"
24.568 AT read > 3 "\r\n@"
24.621 AT send 58 "\x17\xfe\xfd\x00\x01\x00\x00\x00\x00\x00\x05\x00-\x00\x01\x00\x00\x00\x00\x00\x05\xd5T\xef\xda\xd0&\xdf\xc1)/\xb1k\xa8\xd7\x90\x81\xdb\xbeR\r\"F\xad\x10\x90\xef\x8e\xba\x11\x87\x86\xe4\x94\x19d\x95`"
24.784 AT read + 16 "\r\n+USOST: 0,58\r\n"
24.799 AT read OK 6 "\r\nOK\r\n"
25.883 AT read + 14 "\r\n+CIEV: 2,2\r\n"
26.888 AT read + 14 "\r\n+CIEV: 2,3\r\n"
27.883 AT read + 14 "\r\n+CIEV: 2,2\r\n"
30.888 AT read + 14 "\r\n+CIEV: 2,3\r\n"
31.883 AT read + 14 "\r\n+CIEV: 2,2\r\n"
33.888 AT read + 14 "\r\n+CIEV: 2,3\r\n"
37.113 AT read + 14 "\r\n+CIEV: 2,2\r\n"
0000040518:DEBUG: virtual particle::protocol::ProtocolError particle::protocol::DTLSMessageChannel::send(particle::prot...message length 29
40020001b168ff000a00020000000a000c270037000d51363034323832
0000040538:DEBUG: int Spark_Send_UDP(const unsigned char*, uint32_t, void*) (267):send 58
socketSendTo(0,184.72.215.47,5684,,58)
40.552 AT send 36 "AT+USOST=0,\"184.72.215.47\",5684,58\r\n"
41.959 AT read > 3 "\r\n@"
42.012 AT send 58 "\x17\xfe\xfd\x00\x01\x00\x00\x00\x00\x00\x06\x00-\x00\x01\x00\x00\x00\x00\x00\x06\x0e1&\ac\xbe1\xd8\x18\xb2\xceg4\x95e\xd6`2\x87\x13E\x838Z\xb0\xb0\x93\x95\x1c\xffq\x80\xeba\x926\xa7"
42.174 AT read + 16 "\r\n+USOST: 0,58\r\n"
42.189 AT read OK 6 "\r\nOK\r\n"
0000072523:DEBUG: virtual particle::protocol::ProtocolError particle::protocol::DTLSMessageChannel::command(particle::p...session command: 0
0000072537:ERROR: int particle::protocol::Protocol::begin() (236):Hanshake: could not send hello message: 10
0000072548:WARN : void handle_cloud_connection(bool) (267):Cloud handshake failed, code=10
0000072808:INFO : void cloud_disconnect(bool) (421):Cloud: disconnecting
0000072815:DEBUG: int Spark_Disconnect() (905):Close Attempt
socketClose(0)
72.823 AT send 12 "AT+USOCL=0\r\n"
74.028 AT read OK 6 "\r\nOK\r\n"
socketFree(0)
0000074033:DEBUG: int Spark_Disconnect() (907):socket_close()=success
0000074041:INFO : void cloud_disconnect(bool) (434):Cloud: disconnected
0000074048:INFO : void establish_cloud_connection() (213):Cloud: connecting
0000074056:DEBUG: int Spark_Connect() (827):sparkSocket Now =-1
0000074063:DEBUG: int Spark_Connect() (846):HAL_FLASH_Read_ServerAddress() = type:1,domain:$id.udp.particle.io,ip: 46.100.105.36, port: 65535
74.077 AT send 56 "AT+UDNSRN=0,\"270037000d51363034323832.udp.particle.io\"\r\n"
76.977 AT read + 28 "\r\n+UDNSRN: \"54.164.79.148\"\r\n"
76.994 AT read OK 6 "\r\nOK\r\n"
0000076999:INFO : int determine_connection_address(IPAddress&, uint16_t&, ServerAddress&, bool) (796):Resolved host 270037000d51363034323832.udp.particle.io to 54.164.79.148
socketSocket(UDP)
77.018 AT send 18 "AT+USOCR=17,5684\r\n"
77.034 AT read + 13 "\r\n+USOCR: 0\r\n"
77.049 AT read OK 6 "\r\nOK\r\n"
Socket 0: handle 0 was created
0000077056:DEBUG: int Spark_Connect() (857):socketed udp=1, sparkSocket=0, 1
0000077064:DEBUG: int Spark_Connect() (867):connection attempt to 54.164.79.148:5684
0000077073:INFO : void establish_cloud_connection() (220):Cloud socket connected
0000077081:DEBUG: int Spark_Handshake(bool) (539):starting handshake announce=0
0000077091:DEBUG: int Spark_Send_UDP(const unsigned char*, uint32_t, void*) (267):send 107
socketSendTo(0,54.164.79.148,5684,,107)
77.105 AT send 37 "AT+USOST=0,\"54.164.79.148\",5684,107\r\n"
77.123 AT read > 3 "\r\n@"
77.176 AT send 107 "\x16\xfe\xfd\x00\x00\x00\x00\x00\x00\x00\x00\x00^\x01\x00\x00R\x00\x00\x00\x00\x00\x00\x00R\xfe\xfd\x1a+E\xee\xd2\xe5I\bdU\xce\xc7\x12\xf7R\an\xebKf\x90=\x90\x89\xa8\xca\x03\xc8\xa2\xb5J\x03\x00\x00\x00\x04\xc0\xae\x00\xff\x01\x00\x00$\x00\r\x00\x06\x00\x04\x04\x03\x03\x03\x00\n\x00\x04\x00\x02\x00\x17\x00\v\x00\x02\x01\x00\x00\x13\x00\x02\x01\x02\x00\x14\x00\x02\x01\x02"
77.358 AT read + 17 "\r\n+USOST: 0,107\r\n"
77.373 AT read OK 6 "\r\nOK\r\n"
77.667 AT read + 17 "\r\n+UUSORD: 0,60\r\n"
Socket 0: handle 0 has 60 bytes pending
77.686 AT send 16 "AT+USORF=0,813\r\n"
77.711 AT read + 98 "\r\n+USORF: 0,\"54.164.79.148\",5684,60,\"\x16\xfe\xfd\x00\x00\x00\x00\x00\x00\x00\x00\x00/\x03\x00\x00#\x00\x00\x00\x00\x00\x00\x00#\xfe\xfd X\xf3\x1f)\xc2{[2-\xc4\x93\x9e\xe6jkv\xe9\xa5L\xcc\tq|\x8a\xc37>\xff\x8e5.\x96\""
77.747 AT read OK 6 "\r\nOK\r\n"
0000077751:DEBUG: int Spark_Receive_UDP(unsigned char*, uint32_t, void*) (285):received 60
0000077760:DEBUG: int Spark_Send_UDP(const unsigned char*, uint32_t, void*) (267):send 139
socketSendTo(0,54.164.79.148,5684,,139)
77.774 AT send 37 "AT+USOST=0,\"54.164.79.148\",5684,139\r\n"
77.792 AT read > 3 "\r\n@"
77.845 AT send 139 "\x16\xfe\xfd\x00\x00\x00\x00\x00\x00\x00\x01\x00~\x01\x00\x00r\x00\x01\x00\x00\x00\x00\x00r\xfe\xfd\x1a+E\xee\xd2\xe5I\bdU\xce\xc7\x12\xf7R\an\xebKf\x90=\x90\x89\xa8\xca\x03\xc8\xa2\xb5J\x03\x00 X\xf3\x1f)\xc2{[2-\xc4\x93\x9e\xe6jkv\xe9\xa5L\xcc\tq|\x8a\xc37>\xff\x8e5.\x96\x00\x04\xc0\xae\x00\xff\x01\x00\x00$\x00\r\x00\x06\x00\x04\x04\x03\x03\x03\x00\n\x00\x04\x00\x02\x00\x17\x00\v\x00\x02\x01\x00\x00\x13\x00\x02\x01\x02\x00\x14\x00\x02\x01\x02"
78.045 AT read + 17 "\r\n+USOST: 0,139\r\n"
78.060 AT read OK 6 "\r\nOK\r\n"
78.374 AT read + 18 "\r\n+UUSORD: 0,344\r\n"
Socket 0: handle 0 has 344 bytes pending
78.394 AT send 16 "AT+USORF=0,813\r\n"
78.419 AT read + 157 "\r\n+USORF: 0,\"54.164.79.148\",5684,118,\"\x16\xfe\xfd\x00\x00\x00\x00\x00\x00\x00\x01\x00i\x02\x00\x00]\x00\x01\x00\x00\x00\x00\x00]\xfe\xfdX\xf3\x1f)Q\xd9<\b\x9a&9\x9d\xcf\r\x91QN:\xe2G\x9cN\x00E'\x95?|N\x05\xaf( \xf2U\xf6\f\xd8\xdb\x01\x16u`FO\xd7\xc7\xab\xe9f\xea\xa7\x9d\xf3\xddE\xda\xa3 B4e\x8a\x81\xf5\xc0\xae\x00\x00\x15\xff\x01\x00\x01\x00\x00\v\x00\x02\x01\x00\x00\x13\x00\x01\x02\x00\x14\x00\x01\x02\""
78.475 AT read OK 6 "\r\nOK\r\n"
0000078479:DEBUG: int Spark_Receive_UDP(unsigned char*, uint32_t, void*) (285):received 118
78.488 AT read + 18 "\r\n+UUSORF: 0,226\r\n"
Socket 0: handle 0 has 226 bytes pending
78.508 AT send 16 "AT+USORF=0,813\r\n"
78.543 AT read + 207 "\r\n+USORF: 0,\"54.164.79.148\",5684,168,\"\x16\xfe\xfd\x00\x00\x00\x00\x00\x00\x00\x02\x00\x9b\f\x00\x00\x8f\x00\x02\x00\x00\x00\x00\x00\x8f\x03\x00\x17A\x04\xe0\x1f\x93 \x87=\x18\xd5\x9e\xdb\xde\x0fxZ\xe0\xc8a~5rN\xc5)\xde\xdd\xd8\xe2\xe0F\xd4\x8ca\xde\x02\xb6~|\xe9\xe6\xba\x82\xd9r\xfd\xe7\x16\x1ex\x92\xff\xd5]\xb4\v%n\a\xb0%\x1f\xae\xdbM[\x04\x03\x00F0D\x02 d \xac\xa0'R\x1a\xbe\x89\xde\x137\xbd4Lo\x0e\r{Q\t\xeaW\xae \a\x9a\xb2W\xd9\x9cI\x02 \x15\xa2f^^\f\x12\x86\xb2\xe3;<U\xca\xad\xe6'\xb3\x8f\xaeG\xd4\xc52$\x95t\xea\x01\x1dU\xf0\""
78.613 AT read OK 6 "\r\nOK\r\n"