{"id":325154,"date":"2021-06-19T03:00:08","date_gmt":"2021-06-19T03:00:08","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=325154"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=325154","title":{"rendered":"\u0414\u0435\u0448\u0438\u0444\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u041e\u0440\u0438\u043e\u043d Bolid"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a85\/601\/462\/a85601462f4eec5626b677353f5a8cbe.png\" alt=\"\" title=\"\" width=\"1065\" height=\"424\"><figcaption><\/figcaption><\/figure>\n<p>\u201c<a href=\"https:\/\/bolid.ru\/\" rel=\"noopener noreferrer nofollow\">\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Bolid<\/a> \u2013 \u043b\u0438\u0434\u0435\u0440 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438\u201d &#8212; \u0442\u043e, \u0447\u0442\u043e \u0432\u044b \u0443\u0441\u043b\u044b\u0448\u0438\u0442\u0435, \u0435\u0441\u043b\u0438 \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u0435 \u0438\u043c \u043f\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443. \u042d\u0442\u043e \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0434\u0430 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 Apple \u0432 \u0441\u0444\u0435\u0440\u0435 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%90%D0%B2%D1%82%D0%BE%D0%BC%D0%B0%D1%82%D0%B8%D0%B7%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%BD%D0%B0%D1%8F_%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B0_%D1%83%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F_%D1%82%D0%B5%D1%85%D0%BD%D0%BE%D0%BB%D0%BE%D0%B3%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%BC_%D0%BF%D1%80%D0%BE%D1%86%D0%B5%D1%81%D1%81%D0%BE%D0%BC\" rel=\"noopener noreferrer nofollow\">\u0410\u0421\u0423\u0422\u041f<\/a>, \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0439 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0443.<\/p>\n<h2>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435  <\/h2>\n<p>\u0411\u043e\u0301\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 <a href=\"https:\/\/bolid.ru\/\" rel=\"noopener noreferrer nofollow\">Bolid <\/a>\u043e\u0431\u044b\u0447\u043d\u043e \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u0434\u0432\u0443\u043c\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/en.wikipedia.org\/wiki\/RS-485\" rel=\"noopener noreferrer nofollow\">RS-485<\/a> \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 <a href=\"https:\/\/en.wikipedia.org\/wiki\/8-N-1\" rel=\"noopener noreferrer nofollow\">9600\/8-N-1<\/a>.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f 2 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430: \u041e\u0440\u0438\u043e\u043d \u0438\u043b\u0438 \u041e\u0440\u0438\u043e\u043d \u041f\u0440\u043e. \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u044f \u043f\u043e\u043a\u0430 \u043d\u0435 \u0437\u043d\u0430\u044e \u0432 \u0447\u0451\u043c \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u0440\u0430\u0437\u043d\u0438\u0446\u0430, \u0432\u043e \u0432\u0441\u044f\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0434\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0447\u044c \u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0435 \u041e\u0440\u0438\u043e\u043d (\u0431\u0435\u0437 \u201c\u041f\u0440\u043e\u201d).<\/p>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e <a href=\"https:\/\/bolid.ru\/production\/orion\/signal-transfer\/s2000-pp.html\" rel=\"noopener noreferrer nofollow\">\u04212000-\u041f\u041f<\/a> \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 <a href=\"https:\/\/bolid.ru\/\" rel=\"noopener noreferrer nofollow\">Bolid <\/a>\u0434\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 bolid-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b <a href=\"https:\/\/en.wikipedia.org\/wiki\/Modbus\" rel=\"noopener noreferrer nofollow\">Modbus-RT<\/a>U. \u041d\u043e \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043a\u0440\u0430\u0439\u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/269\/7c1\/6d4\/2697c16d416602f275d9cf68c50526b3.png\" width=\"4684\" height=\"3356\"><figcaption><\/figcaption><\/figure>\n<h2>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u041e\u0440\u0438\u043e\u043d  <\/h2>\n<p>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u041e\u0440\u0438\u043e\u043d \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f \u043f\u043e\u0434\u043e\u0431\u0438\u0435 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Modbus\" rel=\"noopener noreferrer nofollow\">Modbus-RTU<\/a>, \u0435\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u0430\u0439\u0442 \u0438 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cyclic_redundancy_check\" rel=\"noopener noreferrer nofollow\">CRC<\/a>.<\/p>\n<p>\u041c\u044b \u043e\u0431\u0449\u0430\u0435\u043c\u0441\u044f \u0441\u043e slave-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u043a\u0430\u043a master, \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0430\u043c \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442.<\/p>\n<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c. \u0425\u043e\u0440\u043e\u0448\u0438\u043c \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043c\u0435\u0449\u0451\u043d\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u0423 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u0438\u0434\u0451\u0442 \u043d\u0430 0x80 \u0438\u043b\u0438 0d128. \u041a\u0430\u043a \u0438\u0442\u043e\u0433 127 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 + 128 \u0447\u0438\u0441\u043b\u043e \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f = 255 (\u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430 \u0438\u0437 2^8 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445).<\/p>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0442\u0432\u0435\u0447\u0430\u043b\u0438 \u043d\u0430 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u201c\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447\u201d &#8212; GLOBAL_KEY \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0445\u043e\u0442\u044f \u0431\u044b \u0435\u0434\u0438\u043d\u043e\u0436\u0434\u044b (\u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u043a\u0430\u043a\u043e\u0439 \u0441\u0442\u043e\u0438\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e).<\/p>\n<p>\u041f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f MESSAGE_KEY \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 Bolid-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u043b\u0438\u043d\u0438\u0438 <a href=\"https:\/\/en.wikipedia.org\/wiki\/RS-485\" rel=\"noopener noreferrer nofollow\">RS-485<\/a> (\u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e <a href=\"https:\/\/en.wikipedia.org\/wiki\/Electrical_termination\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u0440\u043c\u0438\u043d\u0430\u0442\u043e\u0440\u044b<\/a>, \u0438\u043d\u043e\u0433\u0434\u0430 \u0431\u0435\u0437 \u043d\u0438\u0445 \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430).<\/p>\n<h2>\u0420\u0430\u0441\u0447\u0451\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b<\/h2>\n<p>\u0414\u043b\u044f \u0440\u0430\u0441\u0447\u0451\u0442\u0430 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cyclic_redundancy_check\" rel=\"noopener noreferrer nofollow\">CRC <\/a>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f CRC-8-Dallas, \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c\u044b\u0439 \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c.<\/p>\n<pre><code>byte[] CrcTable = {             0x00,0x5E,0xBC,0xE2,0x61,0x3F,0xDD,0x83,0xC2,0x9C,0x7E,0x20,0xA3,0xFD,0x1F,0x41,             0x9D,0xC3,0x21,0x7F,0xFC,0xA2,0x40,0x1E,0x5F,0x01,0xE3,0xBD,0x3E,0x60,0x82,0xDC,             0x23,0x7D,0x9F,0xC1,0x42,0x1C,0xFE,0xA0,0xE1,0xBF,0x5D,0x03,0x80,0xDE,0x3C,0x62,             0xBE,0xE0,0x02,0x5C,0xDF,0x81,0x63,0x3D,0x7C,0x22,0xC0,0x9E,0x1D,0x43,0xA1,0xFF,             0x46,0x18,0xFA,0xA4,0x27,0x79,0x9B,0xC5,0x84,0xDA,0x38,0x66,0xE5,0xBB,0x59,0x07,             0xDB,0x85,0x67,0x39,0xBA,0xE4,0x06,0x58,0x19,0x47,0xA5,0xFB,0x78,0x26,0xC4,0x9A,             0x65,0x3B,0xD9,0x87,0x04,0x5A,0xB8,0xE6,0xA7,0xF9,0x1B,0x45,0xC6,0x98,0x7A,0x24,             0xF8,0xA6,0x44,0x1A,0x99,0xC7,0x25,0x7B,0x3A,0x64,0x86,0xD8,0x5B,0x05,0xE7,0xB9,             0x8C,0xD2,0x30,0x6E,0xED,0xB3,0x51,0x0F,0x4E,0x10,0xF2,0xAC,0x2F,0x71,0x93,0xCD,             0x11,0x4F,0xAD,0xF3,0x70,0x2E,0xCC,0x92,0xD3,0x8D,0x6F,0x31,0xB2,0xEC,0x0E,0x50,             0xAF,0xF1,0x13,0x4D,0xCE,0x90,0x72,0x2C,0x6D,0x33,0xD1,0x8F,0x0C,0x52,0xB0,0xEE,             0x32,0x6C,0x8E,0xD0,0x53,0x0D,0xEF,0xB1,0xF0,0xAE,0x4C,0x12,0x91,0xCF,0x2D,0x73,             0xCA,0x94,0x76,0x28,0xAB,0xF5,0x17,0x49,0x08,0x56,0xB4,0xEA,0x69,0x37,0xD5,0x8B,             0x57,0x09,0xEB,0xB5,0x36,0x68,0x8A,0xD4,0x95,0xCB,0x29,0x77,0xF4,0xAA,0x48,0x16,             0xE9,0xB7,0x55,0x0B,0x88,0xD6,0x34,0x6A,0x2B,0x75,0x97,0xC9,0x4A,0x14,0xF6,0xA8,             0x74,0x2A,0xC8,0x96,0x15,0x4B,0xA9,0xF7,0xB6,0xFC,0x0A,0x54,0xD7,0x89,0x6B,0x35         }; <\/code><\/pre>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0430\u0441\u0447\u0451\u0442\u0430 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cyclic_redundancy_check\" rel=\"noopener noreferrer nofollow\">CRC<\/a>:<\/p>\n<pre><code class=\"cpp\">byte \u0441alculate_\u0441rc(byte[] inputMessage) {             byte crc = 0;              if (inputMessage.Count == 0)             {                 return 0;             }              var length = inputMessage.Count;              for (int i = 0; i &lt; length; ++i)             {                 crc = CrcTable[crc ^ inputMessage[i]];             }              return crc; } <\/code><\/pre>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0430\u0441\u0447\u0451\u0442\u0430 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cyclic_redundancy_check\" rel=\"noopener noreferrer nofollow\">CRC<\/a>:<\/p>\n<pre><code class=\"cs\">byte CalculateCrc(IList&lt;byte&gt; inputMessage) {             return inputMessage.Aggregate((byte)0, (prev, next) =&gt; CrcTable[prev ^ next]); } <\/code><\/pre>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u201c\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430\u201d<\/h2>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u0449\u0430\u0442\u044c\u0441\u044f \u0441 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u201c\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447\u201d<a href=\"https:\/\/en.wikipedia.org\/wiki\/Hexspeak\" rel=\"noopener noreferrer nofollow\"> <\/a>(\u0434\u043b\u044f \u0437\u0430\u0431\u0430\u0432\u044b \u0438 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u0431\u0440\u0430\u043d \u043a\u043b\u044e\u0447 0xBA, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u201c<a href=\"https:\/\/en.wikipedia.org\/wiki\/Hexspeak\" rel=\"noopener noreferrer nofollow\">BABA<\/a>\u201d).<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0435\u0433\u043e \u201c\u0438\u043b\u0438\u201d (XOR) \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0442\u044c\u0441\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c \u201c^\u201d.<\/p>\n<p>\u0417\u0430\u0434\u0430\u0434\u0438\u043c Bolid-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c 3 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<pre><code>0x03 0x06 0x00 0x11 0xBA 0xBA 0x8D<\/code><\/pre>\n<ul>\n<li>\n<p>0x03 &#8212; \u0430\u0434\u0440\u0435\u0441 Bolid-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u0435\u0442 \u0430\u0434\u0440\u0435\u0441 3 (\u0438\u0437 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 1..127);<\/p>\n<\/li>\n<li>\n<p>0x06 &#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u0430\u0439\u0442 (\u0438\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0434\u043b\u0438\u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043c\u0438\u043d\u0443\u0441 \u043e\u0434\u0438\u043d);<\/p>\n<\/li>\n<li>\n<p>0x00 &#8212; GLOBAL_KEY ^ MESSAGE_KEY (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 GLOBAL_KEY = MESSAGE_KEY, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 GLOBAL_KEY ^ MESSAGE_KEY == 0);<\/p>\n<\/li>\n<li>\n<p>0x11 &#8212; \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; \u043d\u043e\u0432\u044b\u0439 GLOBAL_KEY;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; \u043d\u043e\u0432\u044b\u0439 GLOBAL_KEY (\u043f\u043e\u0432\u0442\u043e\u0440 \u0431\u0430\u0439\u0442\u0430, \u0432\u0438\u0434\u0438\u043c\u043e \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439);<\/p>\n<\/li>\n<li>\n<p>0x8D &#8212; \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC-8.<\/p>\n<\/li>\n<\/ul>\n<h2>\u0421\u0447\u0438\u0442\u0430\u0435\u043c \u0441\u0442\u0430\u0442\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/h2>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre><code>0x83 0x08 0x00 0xED 0xB8 0xBA 0xBA 0xBA 0x62<\/code><\/pre>\n<ul>\n<li>\n<p>0x83 &#8212; ADDRESS + 0x80(\u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u043f\u0440\u0438 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0438) (ADDRESS == 3);<\/p>\n<\/li>\n<li>\n<p>0x08 &#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u0430\u0439\u0442 (\u0438\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0434\u043b\u0438\u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043c\u0438\u043d\u0443\u0441 \u043e\u0434\u0438\u043d);<\/p>\n<\/li>\n<li>\n<p>0x00 &#8212; GLOBAL_KEY ^ MESSAGE_KEY (\u043e\u043d\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u043e\u043b\u044c);<\/p>\n<\/li>\n<li>\n<p>0xED &#8212; 0x57 ^ MESSAGE_KEY \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430;<\/p>\n<\/li>\n<li>\n<p>0xB8 &#8212; 0x02 ^ MESSAGE_KEY \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0x62 &#8212; \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC-8.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0442\u0432\u0435\u0442 \u043d\u0430\u0432\u0440\u043e\u0434\u0435:  <\/p>\n<pre><code>0x83 0x0A 0xE2 0xB8 0xBA 0xBE 0xB9 0x7D 0x2F 0x72 0xD7<\/code><\/pre>\n<ul>\n<li>\n<p>0x83 &#8212; ADDRESS + 0x80 (ADDRESS == 3);<\/p>\n<\/li>\n<li>\n<p>0x0A &#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u0430\u0439\u0442 (\u0438\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0434\u043b\u0438\u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043c\u0438\u043d\u0443\u0441 \u043e\u0434\u0438\u043d);<\/p>\n<\/li>\n<li>\n<p>0xE2 &#8212; 0x88 ^ MESSAGE_KEY &#8212; \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u0430 \u043c\u043d\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>0xB8 &#8212; 0x02 ^ MESSAGE_KEY &#8212; \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u0430 \u043c\u043d\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0xBE &#8212; 0x04 ^ MESSAGE_KEY &#8212; \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u0430 \u043c\u043d\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>0xB9 &#8212; 0x03 ^ MESSAGE_KEY &#8212; \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u0430 \u043c\u043d\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>0x7D &#8212; STATUS_1(0xC7) ^ MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0x2F &#8212; STATUS_2(0x95) ^ MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0x72 &#8212; 0xC8 ^ MESSAGE_KEY &#8212; \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u0430 \u043c\u043d\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>0xD7- \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC-8.<\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 2 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 STATUS_1 \u0438 STATUS_2:<\/p>\n<pre><code>0xC7 \u0438 0x95<\/code><\/pre>\n<p>199 \u0438 149, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p>\u0421\u0442\u0430\u0442\u0443\u0441 199 &#8212; \u044d\u0442\u043e \u201c\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f\u201d;<\/p>\n<p>\u0421\u0442\u0430\u0442\u0443\u0441 149 &#8212; \u044d\u0442\u043e \u201c\u0412\u0437\u043b\u043e\u043c \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u043f\u0440\u0438\u0431\u043e\u0440\u0430\u201d.<\/p>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0441\u0442\u0430\u0442\u0443\u0441\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430 <a href=\"https:\/\/bolid.ru\/files\/373\/566\/s2000_pp_rept_jan_21.pdf\" rel=\"noopener noreferrer nofollow\">\u04212000-\u041f\u041f<\/a>. <\/p>\n<p><a href=\"https:\/\/forum.cxem.net\/index.php?\/topic\/105126-%D0%BF%D1%80%D0%BE%D1%82%D0%BE%D0%BA%D0%BE%D0%BB-%D0%BE%D1%80%D0%B8%D0%BE%D0%BD-%D0%B1%D0%BE%D0%BB%D0%B8%D0%B4\/page\/4\/\" rel=\"noopener noreferrer nofollow\">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0434\u043d\u043e\u0438\u043c\u0451\u043d\u043d\u0443\u044e \u0442\u0435\u043c\u0443 \u0444\u043e\u0440\u0443\u043c\u0430 cxem.net<\/a><\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/563584\/\"> https:\/\/habr.com\/ru\/post\/563584\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u201c<a href=\"https:\/\/bolid.ru\/\" rel=\"noopener noreferrer nofollow\">\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Bolid<\/a> \u2013 \u043b\u0438\u0434\u0435\u0440 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438\u201d &#8212; \u0442\u043e, \u0447\u0442\u043e \u0432\u044b \u0443\u0441\u043b\u044b\u0448\u0438\u0442\u0435, \u0435\u0441\u043b\u0438 \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u0435 \u0438\u043c \u043f\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443. \u042d\u0442\u043e \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0434\u0430 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 Apple \u0432 \u0441\u0444\u0435\u0440\u0435 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%90%D0%B2%D1%82%D0%BE%D0%BC%D0%B0%D1%82%D0%B8%D0%B7%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%BD%D0%B0%D1%8F_%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B0_%D1%83%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F_%D1%82%D0%B5%D1%85%D0%BD%D0%BE%D0%BB%D0%BE%D0%B3%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%BC_%D0%BF%D1%80%D0%BE%D1%86%D0%B5%D1%81%D1%81%D0%BE%D0%BC\" rel=\"noopener noreferrer nofollow\">\u0410\u0421\u0423\u0422\u041f<\/a>, \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0439 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0443.<\/p>\n<h2>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435  <\/h2>\n<p>\u0411\u043e\u0301\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 <a href=\"https:\/\/bolid.ru\/\" rel=\"noopener noreferrer nofollow\">Bolid <\/a>\u043e\u0431\u044b\u0447\u043d\u043e \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u0434\u0432\u0443\u043c\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/en.wikipedia.org\/wiki\/RS-485\" rel=\"noopener noreferrer nofollow\">RS-485<\/a> \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 <a href=\"https:\/\/en.wikipedia.org\/wiki\/8-N-1\" rel=\"noopener noreferrer nofollow\">9600\/8-N-1<\/a>.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f 2 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430: \u041e\u0440\u0438\u043e\u043d \u0438\u043b\u0438 \u041e\u0440\u0438\u043e\u043d \u041f\u0440\u043e. \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u044f \u043f\u043e\u043a\u0430 \u043d\u0435 \u0437\u043d\u0430\u044e \u0432 \u0447\u0451\u043c \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u0440\u0430\u0437\u043d\u0438\u0446\u0430, \u0432\u043e \u0432\u0441\u044f\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0434\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0447\u044c \u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0435 \u041e\u0440\u0438\u043e\u043d (\u0431\u0435\u0437 \u201c\u041f\u0440\u043e\u201d).<\/p>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e <a href=\"https:\/\/bolid.ru\/production\/orion\/signal-transfer\/s2000-pp.html\" rel=\"noopener noreferrer nofollow\">\u04212000-\u041f\u041f<\/a> \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 <a href=\"https:\/\/bolid.ru\/\" rel=\"noopener noreferrer nofollow\">Bolid <\/a>\u0434\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 bolid-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b <a href=\"https:\/\/en.wikipedia.org\/wiki\/Modbus\" rel=\"noopener noreferrer nofollow\">Modbus-RT<\/a>U. \u041d\u043e \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043a\u0440\u0430\u0439\u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h2>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u041e\u0440\u0438\u043e\u043d  <\/h2>\n<p>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u041e\u0440\u0438\u043e\u043d \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f \u043f\u043e\u0434\u043e\u0431\u0438\u0435 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Modbus\" rel=\"noopener noreferrer nofollow\">Modbus-RTU<\/a>, \u0435\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0430, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u0430\u0439\u0442 \u0438 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cyclic_redundancy_check\" rel=\"noopener noreferrer nofollow\">CRC<\/a>.<\/p>\n<p>\u041c\u044b \u043e\u0431\u0449\u0430\u0435\u043c\u0441\u044f \u0441\u043e slave-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u043a\u0430\u043a master, \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0430\u043c \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442.<\/p>\n<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c. \u0425\u043e\u0440\u043e\u0448\u0438\u043c \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043c\u0435\u0449\u0451\u043d\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u0423 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u0438\u0434\u0451\u0442 \u043d\u0430 0x80 \u0438\u043b\u0438 0d128. \u041a\u0430\u043a \u0438\u0442\u043e\u0433 127 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 + 128 \u0447\u0438\u0441\u043b\u043e \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f = 255 (\u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430 \u0438\u0437 2^8 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445).<\/p>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0442\u0432\u0435\u0447\u0430\u043b\u0438 \u043d\u0430 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u201c\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447\u201d &#8212; GLOBAL_KEY \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0445\u043e\u0442\u044f \u0431\u044b \u0435\u0434\u0438\u043d\u043e\u0436\u0434\u044b (\u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u043a\u0430\u043a\u043e\u0439 \u0441\u0442\u043e\u0438\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e).<\/p>\n<p>\u041f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f MESSAGE_KEY \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 Bolid-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u043b\u0438\u043d\u0438\u0438 <a href=\"https:\/\/en.wikipedia.org\/wiki\/RS-485\" rel=\"noopener noreferrer nofollow\">RS-485<\/a> (\u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e <a href=\"https:\/\/en.wikipedia.org\/wiki\/Electrical_termination\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u0440\u043c\u0438\u043d\u0430\u0442\u043e\u0440\u044b<\/a>, \u0438\u043d\u043e\u0433\u0434\u0430 \u0431\u0435\u0437 \u043d\u0438\u0445 \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430).<\/p>\n<h2>\u0420\u0430\u0441\u0447\u0451\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b<\/h2>\n<p>\u0414\u043b\u044f \u0440\u0430\u0441\u0447\u0451\u0442\u0430 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cyclic_redundancy_check\" rel=\"noopener noreferrer nofollow\">CRC <\/a>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f CRC-8-Dallas, \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c\u044b\u0439 \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c.<\/p>\n<pre><code>byte[] CrcTable = {             0x00,0x5E,0xBC,0xE2,0x61,0x3F,0xDD,0x83,0xC2,0x9C,0x7E,0x20,0xA3,0xFD,0x1F,0x41,             0x9D,0xC3,0x21,0x7F,0xFC,0xA2,0x40,0x1E,0x5F,0x01,0xE3,0xBD,0x3E,0x60,0x82,0xDC,             0x23,0x7D,0x9F,0xC1,0x42,0x1C,0xFE,0xA0,0xE1,0xBF,0x5D,0x03,0x80,0xDE,0x3C,0x62,             0xBE,0xE0,0x02,0x5C,0xDF,0x81,0x63,0x3D,0x7C,0x22,0xC0,0x9E,0x1D,0x43,0xA1,0xFF,             0x46,0x18,0xFA,0xA4,0x27,0x79,0x9B,0xC5,0x84,0xDA,0x38,0x66,0xE5,0xBB,0x59,0x07,             0xDB,0x85,0x67,0x39,0xBA,0xE4,0x06,0x58,0x19,0x47,0xA5,0xFB,0x78,0x26,0xC4,0x9A,             0x65,0x3B,0xD9,0x87,0x04,0x5A,0xB8,0xE6,0xA7,0xF9,0x1B,0x45,0xC6,0x98,0x7A,0x24,             0xF8,0xA6,0x44,0x1A,0x99,0xC7,0x25,0x7B,0x3A,0x64,0x86,0xD8,0x5B,0x05,0xE7,0xB9,             0x8C,0xD2,0x30,0x6E,0xED,0xB3,0x51,0x0F,0x4E,0x10,0xF2,0xAC,0x2F,0x71,0x93,0xCD,             0x11,0x4F,0xAD,0xF3,0x70,0x2E,0xCC,0x92,0xD3,0x8D,0x6F,0x31,0xB2,0xEC,0x0E,0x50,             0xAF,0xF1,0x13,0x4D,0xCE,0x90,0x72,0x2C,0x6D,0x33,0xD1,0x8F,0x0C,0x52,0xB0,0xEE,             0x32,0x6C,0x8E,0xD0,0x53,0x0D,0xEF,0xB1,0xF0,0xAE,0x4C,0x12,0x91,0xCF,0x2D,0x73,             0xCA,0x94,0x76,0x28,0xAB,0xF5,0x17,0x49,0x08,0x56,0xB4,0xEA,0x69,0x37,0xD5,0x8B,             0x57,0x09,0xEB,0xB5,0x36,0x68,0x8A,0xD4,0x95,0xCB,0x29,0x77,0xF4,0xAA,0x48,0x16,             0xE9,0xB7,0x55,0x0B,0x88,0xD6,0x34,0x6A,0x2B,0x75,0x97,0xC9,0x4A,0x14,0xF6,0xA8,             0x74,0x2A,0xC8,0x96,0x15,0x4B,0xA9,0xF7,0xB6,0xFC,0x0A,0x54,0xD7,0x89,0x6B,0x35         }; <\/code><\/pre>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0430\u0441\u0447\u0451\u0442\u0430 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cyclic_redundancy_check\" rel=\"noopener noreferrer nofollow\">CRC<\/a>:<\/p>\n<pre><code class=\"cpp\">byte \u0441alculate_\u0441rc(byte[] inputMessage) {             byte crc = 0;              if (inputMessage.Count == 0)             {                 return 0;             }              var length = inputMessage.Count;              for (int i = 0; i &lt; length; ++i)             {                 crc = CrcTable[crc ^ inputMessage[i]];             }              return crc; } <\/code><\/pre>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0430\u0441\u0447\u0451\u0442\u0430 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cyclic_redundancy_check\" rel=\"noopener noreferrer nofollow\">CRC<\/a>:<\/p>\n<pre><code class=\"cs\">byte CalculateCrc(IList&lt;byte&gt; inputMessage) {             return inputMessage.Aggregate((byte)0, (prev, next) =&gt; CrcTable[prev ^ next]); } <\/code><\/pre>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u201c\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430\u201d<\/h2>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u0449\u0430\u0442\u044c\u0441\u044f \u0441 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u201c\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447\u201d<a href=\"https:\/\/en.wikipedia.org\/wiki\/Hexspeak\" rel=\"noopener noreferrer nofollow\"> <\/a>(\u0434\u043b\u044f \u0437\u0430\u0431\u0430\u0432\u044b \u0438 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u0431\u0440\u0430\u043d \u043a\u043b\u044e\u0447 0xBA, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u201c<a href=\"https:\/\/en.wikipedia.org\/wiki\/Hexspeak\" rel=\"noopener noreferrer nofollow\">BABA<\/a>\u201d).<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0435\u0433\u043e \u201c\u0438\u043b\u0438\u201d (XOR) \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0442\u044c\u0441\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c \u201c^\u201d.<\/p>\n<p>\u0417\u0430\u0434\u0430\u0434\u0438\u043c Bolid-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c 3 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<pre><code>0x03 0x06 0x00 0x11 0xBA 0xBA 0x8D<\/code><\/pre>\n<ul>\n<li>\n<p>0x03 &#8212; \u0430\u0434\u0440\u0435\u0441 Bolid-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u0435\u0442 \u0430\u0434\u0440\u0435\u0441 3 (\u0438\u0437 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 1..127);<\/p>\n<\/li>\n<li>\n<p>0x06 &#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u0430\u0439\u0442 (\u0438\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0434\u043b\u0438\u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043c\u0438\u043d\u0443\u0441 \u043e\u0434\u0438\u043d);<\/p>\n<\/li>\n<li>\n<p>0x00 &#8212; GLOBAL_KEY ^ MESSAGE_KEY (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 GLOBAL_KEY = MESSAGE_KEY, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 GLOBAL_KEY ^ MESSAGE_KEY == 0);<\/p>\n<\/li>\n<li>\n<p>0x11 &#8212; \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; \u043d\u043e\u0432\u044b\u0439 GLOBAL_KEY;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; \u043d\u043e\u0432\u044b\u0439 GLOBAL_KEY (\u043f\u043e\u0432\u0442\u043e\u0440 \u0431\u0430\u0439\u0442\u0430, \u0432\u0438\u0434\u0438\u043c\u043e \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439);<\/p>\n<\/li>\n<li>\n<p>0x8D &#8212; \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC-8.<\/p>\n<\/li>\n<\/ul>\n<h2>\u0421\u0447\u0438\u0442\u0430\u0435\u043c \u0441\u0442\u0430\u0442\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/h2>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre><code>0x83 0x08 0x00 0xED 0xB8 0xBA 0xBA 0xBA 0x62<\/code><\/pre>\n<ul>\n<li>\n<p>0x83 &#8212; ADDRESS + 0x80(\u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u043f\u0440\u0438 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0438) (ADDRESS == 3);<\/p>\n<\/li>\n<li>\n<p>0x08 &#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u0430\u0439\u0442 (\u0438\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0434\u043b\u0438\u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043c\u0438\u043d\u0443\u0441 \u043e\u0434\u0438\u043d);<\/p>\n<\/li>\n<li>\n<p>0x00 &#8212; GLOBAL_KEY ^ MESSAGE_KEY (\u043e\u043d\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u043e\u043b\u044c);<\/p>\n<\/li>\n<li>\n<p>0xED &#8212; 0x57 ^ MESSAGE_KEY \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430;<\/p>\n<\/li>\n<li>\n<p>0xB8 &#8212; 0x02 ^ MESSAGE_KEY \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0x62 &#8212; \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC-8.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0442\u0432\u0435\u0442 \u043d\u0430\u0432\u0440\u043e\u0434\u0435:  <\/p>\n<pre><code>0x83 0x0A 0xE2 0xB8 0xBA 0xBE 0xB9 0x7D 0x2F 0x72 0xD7<\/code><\/pre>\n<ul>\n<li>\n<p>0x83 &#8212; ADDRESS + 0x80 (ADDRESS == 3);<\/p>\n<\/li>\n<li>\n<p>0x0A &#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u0430\u0439\u0442 (\u0438\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0434\u043b\u0438\u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043c\u0438\u043d\u0443\u0441 \u043e\u0434\u0438\u043d);<\/p>\n<\/li>\n<li>\n<p>0xE2 &#8212; 0x88 ^ MESSAGE_KEY &#8212; \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u0430 \u043c\u043d\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>0xB8 &#8212; 0x02 ^ MESSAGE_KEY &#8212; \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u0430 \u043c\u043d\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>0xBA &#8212; MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0xBE &#8212; 0x04 ^ MESSAGE_KEY &#8212; \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u0430 \u043c\u043d\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>0xB9 &#8212; 0x03 ^ MESSAGE_KEY &#8212; \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u0430 \u043c\u043d\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>0x7D &#8212; STATUS_1(0xC7) ^ MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0x2F &#8212; STATUS_2(0x95) ^ MESSAGE_KEY;<\/p>\n<\/li>\n<li>\n<p>0x72 &#8212; 0xC8 ^ MESSAGE_KEY &#8212; \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u0430\u0439\u0442\u0430 \u043c\u043d\u0435 \u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>0xD7- \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 CRC-8.<\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 2 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 STATUS_1 \u0438 STATUS_2:<\/p>\n<pre><code>0xC7 \u0438 0x95<\/code><\/pre>\n<p>199 \u0438 149, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p>\u0421\u0442\u0430\u0442\u0443\u0441 199 &#8212; \u044d\u0442\u043e \u201c\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f\u201d;<\/p>\n<p>\u0421\u0442\u0430\u0442\u0443\u0441 149 &#8212; \u044d\u0442\u043e \u201c\u0412\u0437\u043b\u043e\u043c \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u043f\u0440\u0438\u0431\u043e\u0440\u0430\u201d.<\/p>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0441\u0442\u0430\u0442\u0443\u0441\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430 <a href=\"https:\/\/bolid.ru\/files\/373\/566\/s2000_pp_rept_jan_21.pdf\" rel=\"noopener noreferrer nofollow\">\u04212000-\u041f\u041f<\/a>. <\/p>\n<p><a href=\"https:\/\/forum.cxem.net\/index.php?\/topic\/105126-%D0%BF%D1%80%D0%BE%D1%82%D0%BE%D0%BA%D0%BE%D0%BB-%D0%BE%D1%80%D0%B8%D0%BE%D0%BD-%D0%B1%D0%BE%D0%BB%D0%B8%D0%B4\/page\/4\/\" rel=\"noopener noreferrer nofollow\">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0434\u043d\u043e\u0438\u043c\u0451\u043d\u043d\u0443\u044e \u0442\u0435\u043c\u0443 \u0444\u043e\u0440\u0443\u043c\u0430 cxem.net<\/a><\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/563584\/\"> https:\/\/habr.com\/ru\/post\/563584\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-325154","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/325154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=325154"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/325154\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=325154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=325154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=325154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}