UDP test:
Local ADDR-10.10.10.198 port-10086
Server addr-10.10.10.102 port-10010
Packet Length = 0x00*256 + 0x0e
Data Verification = 66
Extcommand = 0x01
Subcommand = 0x12
Print it in the serial port to view
F5 03 00 0e 11 22 33 44 45 46 01 88 12 13 55 65 98 57 66
Deviceaccess:
F5 03 00 0e 11 22 33 44 45 46 00 F4 AA 13 55 65 98 57 66
**************************************** **************************************** ****************************
********************
UDP -- Module
Module_access_request: Module Access
UDP transmission: F5 08 00 08 11 22 33 44 55 66 0a 07 66 (CRC settings)
UDP reception: F5 07 00 08 11 22 33 44 55 66 1D 01 99
Module_describe_info: module IDPs
UDP sending: F5 08 00 5d 11 22 33 44 55 66 1D 16 15 14 13 12 11 10 9 8 6 5 4 3 2 11 22 33 44 55 66 77 88 99
UDP reception: F5 08 00 08 11 22 33 44 55 66 41 44 44 44 44 44 99
Description: 93 byte (86 + 7) IDPs information is sent.
Receives the list of IDPs update modules and sends configuration information (41 44 44 44 44 44) 99 as the default CRC
Device_access_inform: Device Access
UDP transmission: F5 08 00 08 11 22 33 44 55 66 45 B2 66
UDP receiving: F5 08 00 17 00 00 00 00 00 A1 B6 C0 F9 77 7d 46 EE D1 AA 41 BC D4 9B 6D 9f 99 (16-byte certified random number A1-9F)
IDPs sending: f5 08 00 08 11 22 33 44 55 66 45 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 19 20 21 22 23 24 25 26 27
28 29 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 47 48 49 50 51 53 54 56 57 58 59 60 61 62
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 81 84 85 86
IDPs-DDL: 1-86 (online product list test * getdynamiclistprofile ())
**************************************** **************************************** ************************************
*****************
UDP transmission-Device Access: f5 08 00 08 11 22 33 44 55 66 45 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 48 49 50 51 52 53 54 56 57 58 60 60 61 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 81 84 85 86 99 88 77 66 55 44
(1-86: IDPs 99 88 77 66 55 44: UID)
Receive reply: F5 08 00 1A 99 88 77 66 55 44 00 F4 fa 2B 24 60 16 E4 69 6a 04 48 0d 6a 42 FB 7b 0f 1B 99
Successfully authenticated UDP: F5 08 00 08 99 88 77 66 55 44 00 F4 FD
Notification module authentication successful: F5 08 00 0d 00 00 00 00 47 99 88 77 66 55 44 99
**************************************** **************************************** *************************************
Test
********************
1. The extended module notifies devices of access, reports IDPs + uid + device configuration ts, and inserts the list (UID: 0a 0b 0C 0d 0e 0f)
F5 00 00 63 11 22 33 44 55 66 45 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 48 49 50 51 52 53 54 56 57 58 60 60 61 62 63 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 81 84 85 86 0a 0b 0C 0d 0e 0f 66
2. If the authentication is successful, set certifyflag to 1 in the list.
F5 00 00 09 0a 0b 0C 0d 0e 0f 00 F4 FD 66
3. After the authentication is successful, use this UID to perform other tests.
F5 00 00 09 0a 0b 0C 0d 0e 0f 00 (Type + cmd + data) CRC
**********************
Test
"Prodidps": {"PTL": "com. jiuan. hgv010 "," Sn ":" 0123456789000001 "," fver ":" 1.0.2 "," hver ":" 1.0.1 "," MFR ":" ihealth "," model ": & quot; bp3 11070 & quot;, & quot; Name & quot;: & quot; BP monitor & quot "}
**************************************** **************************************** **************************************** ******************************
1. (UID: 000001 30 30 30 30 31) the extension module notifies devices of access and reports IDPs + uid + device configuration ts.
F5 ff 00 63 00 00 00 00 00 45 42 50 33 20 31 31 30 37 30 30 00 00 00 00 00 00 31 30 32 31 30 31 69 48 65 61 6C 74 68 00 00 00 00 00 00 00 00 63 6f 6D 2E 6a 69 75 61 6e 2E 48 47 56 30 30 42 50 33 20 4D 6f 6e 69 74 6f 72 00 00 00 00 30 31 32 33 34 35 36 37 38 30 30 30 30 31 30 30 30 30 30 30 31 23
2. If the authentication is successful, set certifyflag to 1 in the list.
F5 ff 00 09 30 30 30 30 31 00 F4 FD 23
3. After successful authentication, you can use this UID to perform other tests "send data" base_data_type
F5 ff 00 09 30 30 30 30 31 00 F2 88 23