X-Git-Url: https://git.ao2.it/visomat-utils.git/blobdiff_plain/90e334402a61f769b9876d9c6743b69c3b3d0343..b11c925b57646ed4376c7966de1e3ede0f6a8365:/README?ds=sidebyside diff --git a/README b/README index 07c9332..f8a07e9 100644 --- a/README +++ b/README @@ -21,7 +21,7 @@ communication anyways. Each data packet starts with the STX control character, and ends with ETX. -There are at least two kind of packets: requests and responses. +There are at least two kinds of packets: requests and responses. A request can be used to send command codes to the device. @@ -46,23 +46,41 @@ The structure can be better visualized when split in fields: 06 # number of records in this memory block # Each records stores date, time, systolic and diastolic pressure, pulses + # Maybe the third field is an indication of arrhythmia? + # Or a flag to mark test or out of scale measurements? - # yymmdd HHMM systolic diastolic pulses - 100101 1202 1151 102 120 - 100101 1208 1156 107 116 - 100101 1203 0103 065 073 - 440601 1320 0113 068 066 - 100101 1311 0127 084 066 - 100101 1203 0106 068 066 + # yymmdd HHMM ? systolic diastolic pulses + 100101 1202 1 151 102 120 + 100101 1208 1 156 107 116 + 100101 1203 0 103 065 073 + 440601 1320 0 113 068 066 + 100101 1311 0 127 084 066 + 100101 1203 0 106 068 066 # Same structure for the other memory block M 2 07 - 100101 1203 1155 111 116 - 100101 1202 0117 070 076 - 440601 1312 0128 071 072 - 440601 1317 0126 050 065 - 440601 1319 0114 063 066 - 100101 1400 0114 070 071 - 130312 1145 0121 080 072 + 100101 1203 1 155 111 116 + 100101 1202 0 117 070 076 + 440601 1312 0 128 071 072 + 440601 1317 0 126 050 065 + 440601 1319 0 114 063 066 + 100101 1400 0 114 070 071 + 130312 1145 0 121 080 072 + +When the number of records is 0, there is a dummy byte at the end of the user +memory block, e.g.: + + M1001M20115110321300134097083 + +The structure is: + + M + 1 + 00 + 1 # dummy byte, present only when the previous field is 00 + M + 2 + 01 + 151103 2130 0 134 097 083