From c7677c1a695b210114070f53d9bcadaa6fd5e5e7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 29 Jul 2020 23:54:17 -0700 Subject: Add photo testing script --- tools/test-photo.sh | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100755 tools/test-photo.sh diff --git a/tools/test-photo.sh b/tools/test-photo.sh new file mode 100755 index 000000000..2333462fe --- /dev/null +++ b/tools/test-photo.sh @@ -0,0 +1,103 @@ +#!/bin/bash + +echo "\ +imei:123456789012345,vt10,200729133914,,F,163910.000,A,1556.7517,S,04816.3609,W,0.00,0,,0,0,0.00%,,;\ +\ +imei:123456789012345,vr,0000fa01ffd8ffdb008400140e0f120f0d14121012171514181e32211e1c1c1e3d2c2e243249404c4b47404645505a73\ +6250556d5645466488656d777b8182814e608d978c7d96737e817c011517171e1a1e3b21213b7c5346537c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c\ +7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7cffc000110800f0014003012100021101031101ffdd0004000affc401\ +a20000010501010101010100000000000000000102030405060708090a0b100002010303020403050504040000017d01020300041105122131410613\ +516107227114328191a1082342b1c11552d1f02433627282090a161718191a25262728292a3435363738393a434445464748494a535455565758595a\ +636465666768696a737475767778797a838485868788898a92939495969798999aa2a3a4a5a6a7a8a9aab2b3b4b5b6b7b8b9bac2c3c4c5c6c7c8c9ca\ +d2d3d4d5d6d7d8d9dae1e2e3e4e5e6e7e8e9eaf1f2f3f4f5f6f7f8f9fa0100030101010101010101010000000000000102030405060708090a0b1100\ +020102040403040705040400010277000102031104052131061241510761711322328108144291a1b1c109233352f0156272d10a162434e125f11718\ +191a262728292a35363738393a434445464748494a535455565758595a636465666768696a7374757677b800;\ +\ +imei:123456789012345,vr,0100fa0178797a82838485868788898a92939495969798999aa2a3a4a5a6a7a8a9aab2b3b4b5b6b7b8b9bac2c3c4c5c6\ +c7c8c9cad2d3d4d5d6d7d8d9dae2e3e4e5e6e7e8e9eaf2f3f4f5f6f7f8f9faffda000c03010002110311003f00956d5f80cd1423a61064ff004159fa\ +c466dee1156591a374cf27a9efd29682bdca4b8c715a1a53fefdd3fbe9fa8a064dae2efb68e51fc2ff00a115cbcff2bb81c60e7eb4090d0369c9f5e2\ +af698fbe39e1f4f9c7f23fd28296e3255c3551957121f7e6921c86d771a34be7e996ec79fdded3f871fd29b24c7d394c5777307a0603f03ffd7a76ab\ +692dd3c5e426e3cfb003aff5a4808adf46ba5911d9e25dac0e324f4fc2ac368aaf2bbbcc7e6627013ffaf4c0963d2a18d1977390d8cf23b7e1532d9c\ +29d327f134800da5b93b8c48c7d5941fe74e10c43eec4a3e831480ffd076c03f871f8546d2449f79e35fab015170233796c3fe5bc5f830a8db50b51f\ +f2d81fa293fd28018753b61fc6c7e88698755b7ecb29ff00808ff1a0086e7538e6b592108ff38e09c71fad665030abda71f95fea29302f8a5a918545\ +2cc1320e455455c96c8bce53de992b0f971eb4dab05cb9b432f22ab358c6c49dcc09fc6a53b1427d94a0e1f77d4544c197b552607fffd1e7ae16f2d6\ +ee17b994b9dc18306dc3ad6ceabfbeb48a65e763633ec6908cf4e953d9c9e55d46dd006c1fa74a066bdf1300;\ +\ +imei:123456789012345,vr,0200fa01279963327521491f8735ca4c06fde7b8a0457639356b4d5916ed1846c54fca78ec681962e930c7eb4965a67f\ +6848c3cc09b067eb528b91a917876d53991ddff4ad5b4863b5458a25da80f4a641893e2dbc40c58855639c9e0722af0bcb4857e6b88c9031f29ddfca\ +9011beb168bf74c8ff00eea7f8e2a07d6e3fe081cffbcc07f8d016216d6a53f7608c7d589ff0a85b55ba6e8635ff00753fc7340ec42d7f76dd6761f4\ +c0fe55134f337de9a53f5734058fffd2e648cf5e7eb49803b0a8285a4a041450025140055dd3ba49f87f5a4f602f8a5a918b475e0d0046d6f13758d7\ +f0e3f9545f64404e198fa67b55733158b038141a918d34d650c3045007ffd3ce88c1716eb02c32b96c12c4e769f5000ad2b7b391f44b88e61fbc5538\ +f7c5240cc446cad293e94867450c826891fb3a827f91aa29e1f83acd2349ec3814c45c8b4cb487ee40b9f53cd4af35bdbf0f2c51fb640fd280306fc2\ +33978c8646e411dea0b1bb6b3959d1431c6307bff9c549a3d8b126b176ff0074c71ffba9fe39aad25ddccbf7ee253ec1b03f4a08b107d692800a4a06\ +2514084c8a72c6eff7119bfdd526819fffd4c15b2ba6e96f2fe2b8fe7522e9776dff002c82fd5c540c9068f707ef3c43f127fa53d7466fe29c0fa2e7\ +fad30b8f1a347fc5339fa2814f1a45b8ead29fc47f8501717fb32d4750c7eaf4e163663fe59afe2c7fc64000;\ +\ +imei:123456789012345,vr,0300fa01815c5169663fe5947fcea65b583cb3e4a229ff00645017212bb4e08c1a4c56650b450014845001da92801292\ +803fffd5a9a25bc97b68ca6f658a389b1e5c6003cf39cfe75bf676f1dac7e4a17287392edb8f3484ce4a58fc99e58bfb8e47eb4dcd228bf6baa0b6b7\ +58fca2eea4e0eec0c5365d66e9fee6c8c7fb2b93fad20b1524b99e6ff5b348c3d0b71f9543803a0a00b511f32d4af743fa1ff26a9b8c31a45f417b50\ +39381c9f6a6497ed34a6b88f7c8ed17cd8c18f9faf5a6269178e065153fde71fd29d857265d0e53f7e68d7e809ff000a997438c7df9dcffbaa07f8d1\ +60b922e93669f795dbfde7ff000c5482d2ca3e90c5f88ddfce815c786863fb8aabfeeae283723fda3401ffd60dc7a2feb4c33b7602a406999fdbf2a6\ +99643fc46801bbdcf563f9d34e7d680130693140062a48a428d91480b4e8b3a065fbdfe78aaa460e0d2921a0a2a461450014868010d36803ffd7c3d3\ +6fa6b277f2481e60c1c8cf4ff26ac4b7d7537fac9dc8f40703f4a91d8af494804a33400f8ede697fd5c523fd149ab51e9178fd63083fdb6029d80b49\ +a5496d148ef2ab7cbcaa83fceb2675c31a4cb4ee8d9d2e0b47b2479228da404862c33dff00c315a0b24518c46028f455c5519b2379b2e08ce31d29a6\ +76ec050218d2b9ef8a61673d58fe7486369314c04c5262901fffd08b1498a90131498a0031498a004c51f100;\ +\ +imei:123456789012345,vr,0400fa0140071450049148636e3a77153cb109577a7defe740157a1e68acca0a2800a4a004349401ffd1e601c10476ab\ +91ab48711ab37d066a4a2d47a5ddc9ff002cb60f5738ab71e84c7fd6cea3d95734ec2b965347b48fefef7ff79b03f4a9d22b583fd5c51a9f50b93f9d\ +02b8f3703b02698676ec00a6218d23b0209e0f06b06f23d9211ef52cb816749933be33f51fe7f2ad2c5084f713146298842293140094d3480292803f\ +ffd28e92a404c518a004c518a004c518a004c518a002a6865d8707ee9a009278770de9d7f9d55a990d051523128a004a43401fffd3e63bd74da35d86\ +d3d131f3464a1f7ee3f43fa54a1b2e99dbb002986473dea8919c9eb4628017145002566ea51f3b877a4cb8ee54d3e4f2aed33d09c7e75b99a4852dc4\ +a4a6210d262800c526280131462901ffd44c5262a404c518a004c518a004c518a004c518a006e28a00b104b8f958f1da92e21c12ea38ef49ec08af45\ +41421a4a004a2803ffd5e66b4b459765cb447a48bc7d47ff005b3528a66dd1544066933400b9a4a004c541791ee84fb52635b98adf23d6fc6de646ae\ +3f8803491531d8a5c5324691498a003146290098a4a00fffd628a9010d250025140094940094500252500156a09770dadd7f9d00453c3b3e65fba7f4\ +a82a1e834069290c4a4a00ffd7e645490c86195245ea841fad4947500860194e548c83ed455102e28c501f00;\ +\ +imei:123456789012345,vr,0500fa01018a2800a465dea57d462819cf5d82ae78e6b5f4b62f61193db23f5a94548b54532469346680128a40252628\ +03ffd05c5262a4031498a004c518a004c518a004c52500262928012941c1c8a00b71b895083d7bd559a2f2dbd41e9498223a4a8284349401ffd1e616\ +9d5251d0693379b64aa4fcd19da7e9dbfcfb55dc5510c28a0028cd002668a00864b58656cc8993f5c548aa1142a80aa3a014877b8b4500368c5200c5\ +18a004c518a00fffd27628a9013145002518a004c5250021a4a004a2900869b4c0723146c8ab5f2cb1fb1fd280293a1462a69b599421a4a00fffd3e6\ +3bd3aa4b343479bcbba319e928c7e2391fd6b7334d10c4a5a620a2818514005148028a006d2d200a4a003149401fffd47d15201486801292800a4a00\ +4a43400da4a004a4a002a4864d8dcf4a009a68c489c751d2a91c8383c54c868434d35233ffd5e629c3a5496391ca3aba9c329047d6ba88dc4b1ac8bd\ +1c0229a258ea2992145030a5a0028a40251da80129690094500149401fffd69292a40292801292800a4a004a4a004c5250021a6d00251480b1049fc2\ +7f0a4b98b237af5ef4dea80a94959947ffd7e60d28a92c756de8d36fb7688f58ce47d0ff00f5f342259a145512145030a2900533ccc9381d2800dcde\ +d4d2cdeb4809051400514005262803ffd093145480525002628a004a4a00434940094868010d34d002524300;\ +\ +imei:123456789012345,vr,0600fa0150000e2adc526f5e7af7a0456b88b6364743505432d1ffd1e69873495258eea2ad69d379176849c2b7cadf43\ +ff00d7c5023a1a4aa2028a062d14804638526a34e05003b04ff09a42ad9048c5003c52d200a2800a4a00ffd29a9315201494009450021a4a004a4a00\ +4a4a0069a43400d34940094e47dac08a00b471227b1aa32214620d292047ffd3e7e45c13ed50915058a29d4c0e8ace6f3ed9243f7b186fa8a9ea880a\ +5a0029690051400521a0029690052500145007ffd49a8a90128a004a4a000d3680128a006d21a0069a43400d3486801b4669012c326d383d0d493209\ +17dc5303ffd5c9bd87ca998763d2a830c1a82c4069e28034f479b0ef093c30dc3ea3aff9f6ad6aa4430a5a602d148028a005a4340051400514804a28\ +03ffd69a8a90128a004a4a004a4a004a28010d34d0021a69a0069a69a00434da4019ab3149b860f514c0ffd7835087cc8b7e395fe558b28c66a5ee52\ +d884d3d0e45032686430cc922ff09cfd6ba30430054e41e41a68963a8a62168a0028a402d277a0028a0028a40251401fffd09a8a90129280128a004a\ +28012928010d368010d34d0034d34d0034d34d201334aafb4e45007fffd179c1183c8358d7b6fe5b9c0e3b54b1c4cf618a1786a064a2b6f4c9bccb50\ +84fcd19dbf876ff3ed42065ca5aa2428a402d1400b486800a2800a4a40145007ffd29a92a404a2801292be00;\ +\ +imei:123456789012345,vr,0700fa01800a4a0029a6801292801a4d34d00349a693400d34841a40262908a00fffd35a82f2112c44f714982dcc5953\ +150f439a945b241d2ae69b379574a09f95fe53fd29899b94b544851400b45002d21a40252d00149480292803ffd49a92a404a4a0029280129280109a\ +4a004e68c1a006914981400d2290d0034d34d002534d007fffd55a2811937d079721c743d2a830f6a834043c5482981d05a4de7dbab9fbdd1beb5353\ +205a298052d0014948028a00293348033499a00fffd6949a4cd4809460d00260d18a00314981400521a004a4a00434d3400d34d3400d3484500260d2\ +6d3401ffd72968110dd442588fa8e958b22e09a97b96b6210706a5140cd0d2a6db2b447a38c8fa8ad5cd344b173466988334b9a4014940073460d200\ +c518a6018a31480fffd09a8a9012834009494005250025250021a4a004c1a4da68010ad34ad0026d1487028010914c6902f5e3eb401fffd14cd2d021\ +6b32fa0d8f91d0f349951339c60d0add052289918a3865e194e457411b09635917a30cd08963f6d18aa10b8a5a4014500252d0025140051480ffd29a\ +8a9012834009460d001b4d1b0d001b3de8d82800da3d2931400d3814d26802a35d824855ce0f5cf5a8dae1cf4c0fd6818b14a4921dbaf4a909a04319\ +d47522abcb26fe074fe7480fffd35a514085a8ae6212c44771d28608c399307a5573c1a93464e0e466b59d00;\ +\ +imei:123456789012345,vr,0800fa017499b2ad09edf32fd3bd084cd1a2a89168a00292900514005140060d2ed3480fffd4b1b0d2eca900d946d140\ +060518a0038a692280137534b50034b1a6b13eb400de7bd34d005436cca3e5607ebc546d1385dc474a0647494806d14c0fffd55a70a0414b40199a8d\ +bed6de0706b2dd706a0d3742c67b558b794c132483f84f23d477a6074406e00af208c834bb0d5102f967da97cbf7a401e5fbd2f962800d829768f4a0\ +0303d28a4014991401ffd6b7b8526ea90137526ea004cd26680133499a004cd349a004269a680109a69a0069a69e7ad0046d12375503e9c544d6e3f8\ +588fad0030dbbe382a6a368dd4f2a7f0e6819fffd7b3b052841e94085da3d29703d28022b8844d0b2639ed5cedc45b1cad4b2e3b158706a61cf340cd\ +dd22e3ccb631b1f9a33c7d2afee14d12c4dc28dc281016a4df4009b8d1b8d0026e3eb46680133499a00fffd09f346690099a334804cd266980949400\ +9494008690d0034d34d002536801b486900869a6803fffd19f71a371a042ee346ea00375676a56f9fde28ebd7eb49951dcc79170688dbb5228b9653f\ +d9ee55cfdd3c37d2b7f34d12c4cd19a62026933400668cd002668cd200a4a00fffd29a92900525001494009494009450036928010d34d0021a69a402\ +1a69a00434da00ffd3928a042e68a005a4750ea55ba1a00c3bb80c6c41154bee9a8342653919adcd3e7f1100;\ +\ +imei:123456789012345,vr,09005a013adc027e74f94ff434d0996a8aa244349400b4500251480292803fffd4969290051400945002525002525002\ +525002534d0034d250021a6d20129b401fffd57d2d020a5a00296802adf40248f701cafea2b0e54c1a97b96b61a8db4d5dd3e6315da0ed21da7f1a01\ +9b94b54488692800a2800a4a40145007ffd6928a402514005250025250021a4a004a434009486801b4940094d3480434d3401fffd7928a042d140052\ +d001591a85bf96f951f29e949951331860d58b23bae601dc48bfce90d9d1d15448869280168a40251400945007ffd092929005250025140094500368\ +a00434da004a4a004a43400da426900da43401ffd1968a041450014b4005473c4268ca1fc3da8030aead658db0636fa81906a6d32ce5fb524af1958d\ +39cb0c64f6a455cdca298869a2800a280128a00292901fffd27d266900525001494009494005250025266801b9a42680133499a00434d34804a4a00f\ +ffd92c00;\ +" | nc "localhost" "5001" -- cgit v1.2.3