使用gatewayworker连续接收智能手表数据,到一定量会自动断开连接和设备重连

lbfeng

使用gatewayworker连续接收智能手表数据,到一定量会自动断开连接和设备重连

和智能手表建立长连接后,在手表端进行心电检测(我们心电发送的是原始数据,数据量比较大,每次30s检测时间,每秒会发送一组检测数据,总共30组左右),每次在接收到第八组数据之后,连接就会断开,不知道是什么原因

下面是服务器接收到的心电数据,到第八组
[2024-07-09T08:26:36+08:00][succ] 7f0000010b550000008a:IWAPEG,1,aaaa1202000300840500f900034408328503ffffe58cfe5af939f5b9f98afe5cfd35f6c7f49ff933fda1fb3ef5e4f5fbfbe3fec6faa6f4fdf6b6fca4fe7bf919f4a1f7bafe31ff25fa22f71afb2affa6fe39f87af7cbfd36013ffdeef82ff86cfdf3ffa8fa88f4f0f72efcbffd3bf6c3f29ff68efcacfbe2f578f310f92aff52fe49f872f873ff0803bc004dfa99fbd502ba054f0048fae2fdd9041f04a6fda3f91efd0d0338021cfae5f783fc6a0153fecdf6cdf39ff79afbbdf9dbf4e1f47df91ffc38f862f4b4f66ffa35fd0ff971ec16cffda7ce8d8c96ccbab9d6e0cc4cae24a8f5cdc4fba10cc208920cfc1a201766f3c4d5d2e3e811672a431ca110d8247e3cda264ae379b2f0c17cec6dfd34edcee80afe210750e968be24b63bd4a5eac3e4b0e76c117547314ff51a93e09ddc4806411ec90541d82ebde5c55ed759ed9909a7263c2a4807eede2cdee009d531322aee04c1f68413f139e033d2017fd550d4eef68814bf13f0ffb8f00fef8ef356f6deec78db11cf70da07fa8f23d834f523c4005ae334da1ce356f63d0b271a301c131075fd9fee63ea51f0cafd3f06800e8c0c98068cff6efaadf71ffb52fe4a02100482052001730158fe94fde8feb60076ff7f022301040084006300d4feda011b002c002200690114ff1d0139001f000f00850158ff520131fff0ffeb006d011bfef001180097014101d3020aff71017d00e50131014e014ffec100c3ffed001000690101ff06014d006a004a005700e8ff4702170177012200d40144ffb502620147009700710142013aff98fdf7fec201e2034600a0ffe0fe9b02a5028dfdbefb0a05ef16281b270c75f00ededcebd60b3126af271b1122f33ee50aea1bfd9a0d18077af176dd3add2bf9361f36338325250028dcc1cdf1dbf7facd15dd1c7a0a16ef64e00bed070c91251f24490c2bf2dfe7aef52215ef3bc053584bef2920fc91e273e0d7e972edfaef30fb5712e52f2942e64912429d2e89111
[2024-07-09T08:26:36+08:00][succ] 7f0000010b550000008a:6f1d6e4e5f07a07f816ff13e6032fed35d3feb7019c318e2f920ca103b02abb7ec701d539e0aae2c0debfe1c3f5db15ac31cb41ed458e4b1659d96af36dc66218508b479b496944f2386c317c41f8622d72275c042f8a14761ed239863ef32151f733e12deab902d10e58fe95dac5ba34b2a4c6edecd70b0916181167038ff22dddcfc2bea7c197e091e4923a90868fbb9bf0bb76e82e1098268e2867249b1f37183b0d6e0117f474e362caf0b6eebd2fe72121be49d44afb2ef20efe0067008c139d2da9411433a90646c75d9f079839ae34d37201c531b5466b2ea5f0fec22dce620c5c439f3f3e056ad2f1d95c0d2f35fa2433e01ea3bda04fd1f3104a30b02aed1241ff2ff4f9f8e202741326210d2aaa3031380447155ac568535d152dbce81fb673b806e6230b0f039ce44adffc0197241d198fec36d316e5f90072f30dbde59335,#
[2024-07-09T08:26:37+08:00][succ] 7f0000010b550000008a:IWAPEG,2,aaaa1202c80300840500f900034408328503ffffe5c4cb5beb5ee2ccc528a8859fa19e039ef4a299a8fdb0d6c078db96f1d9f214d888c1f4d36306dc2f4a28ef0302ee57032b253226680730e98cec890540150210fd05f5fd45ed69cd94ad42ab26d3fb152e468d51fa32d1ffa4d4dbc6d0d1d7e051d51eb14f8b5f79fa7ff29218a05ba8f5ae9fb118ae52a931a586a961b095b3feb803c037c905cbeac0daaa6396e595f4b108d3bae1d7cfbeb5f6be61f71c3bac54ec35150867059d30795523459003b7c92ac440f51a346f59a157d735600747de4dc755c090ca60eaeb18e53ba832bef56caad390c2c11f126e42b936db0972e674de7de3ebe132dfc1f3b61ade309e1814d726a313a52cdbc8140526451eda1b1f285c2fd2230c0f43164b34d245532d26f7cfd07dce2dd9f4db63d5fbdf37f66a0fe411a301fcf64cfb6d09811356126e090afcd0f1d7ebd4ed91f70c04990f3b12bc0bc0042ef983f3f6f4a4fa71ff70072e085506ca0349ffc8fafdfc79fcbcfeff01b002fc020303af002efeb6feb0ffb2ff39012dfe94ff9401e10247fe56fc63ff7704c807980124fad7fc42fb84f91ff578f550fa92f9b3ec67e431f0d40b6517870f7efb77f6f3043c1225126b0d09015cf372e3dce2bbf9c5221b37352b1a0437dd61c9a1d601fd532b46445e30dc0427e2d1e8fa033e0d6003070243134725721c2ffc3ce751f64e1b8e2af51229e0bac2bfcc1ff4c516cb20b51bc71ee530984362435c3aaa3bc846353eaa1472d6f2b798d0480aea38543a3f1927e76ab91697428dcca710def516f22d441f5d0320f68305a122d82fbd209cf9f2d57cc1a5c612dfd00062109a019ee1c3d331e9d91225281422fe1d8b2e4543fa3b011409fc7e183d4cc057f51a4fbae77d9b80c9aecce12208d31f2220bb0f03fa5ef74a094219f121ac2c4c44105509478f2e6333925cd175404b56004fe8771e00546a35f6e00ac408129d70f268820887d15e08da5c0
[2024-07-09T08:26:37+08:00][succ] 7f0000010b550000008a:c5074f2ebc5860bc76b8462c9fdc1c655050b615559dbf93ac6ea094966bb5e18fb09c648072164435c48fa6fc79405ab607a5d2a008ecc25029a568156ff04a7cfb1fdc84ee55f831ce9d7f8d59f0a61352937fa20b100e5db11b557a89ec4cefe832fe0401b2ed60faaecdcd97ee233028d212823bb0471ea1ceca6059219721263fda4ece1ea9fef60f407f43bf6fef359ee93ee8ff6e5fbbef9b3ededef76088127972f5b12b3e4a3c628c809e021f7dffef8fea5f924f9d800a9091f056ff33fd7dac32ecba6ef3915f31e530658e6faddc6f7f11c7a24350554d450bd2dd23609ae37a03cd41092d18faf1dbf82f846340545ae1ffede08b234b9f7ef7d2c97411f1ea8e076b7adbf09f03628543ad91949dc0bb2deba5bed01267138c71702da92afefb6c7e78c207931df0bf6c9229a9aa185cfdcfd1afea7d533a61399580000,#
[2024-07-09T08:26:38+08:00][succ] 7f0000010b550000008a:IWAPEG,3,aaaa1202c80300840500f900034408328503ffffe5c41b52283a1d000dee0abd15c9224f27e31c3202d6e7a6d7dddc46f14d11942cb2386c31b61d48061ef828f9cc08b91c992d47364d372031a0297c2392235828ca309a376b3c0f3ebf3f903e5e3c423b6f3d4e41084493472149454b644cac4c694ba74c194e114ff95067502a510d538755d1564d55915568569257bc57bf57205748588a599c598e58f8591459e15a4e59f3599c5a0d5a955a1b58e1584d59285a3e5a33595c593d5a575b365aa659455873584d577c559c540a542f554a555d541f536454ee58015a7d5b915c315d5b5e985f1a5f245f9860385f9d5d795b405a9f5b4b5b5159ed584d580658df595c58e4583d5842587957fa570856ae574e585d58d2585e57c957ff58a65866571a559755615699563753895034503f56805f406702690561bb5399483b4bd15e126ead6aac5117372d2934224e17530442f388eac9e58edb44cd04c495ca04e13f0a342ead361f1800f17ae8cb000e0dedf06cbfc7b5d6ea66353359c2463619abfadafaa811892c7035f8199ddb6d9eee85d699c9c241e163ef9dedf8e3d1dab0e128f9560b8a03d3ed10e358f8210a6bf700c5a4a9aac80a046e2197007dc299a119b4bcddf6f49deb62e10bebfd0351098cf1d0d7dfe6d2174437661a52d317ad14ce7d1571392b20c5f7aaeeeb04d80daef53ed904dd1e03b72d0a3f7439f9236200dcdb2fc2d5c081ca8fc61ab1fd9db59d6fab11b5e3b6f0b646b955bd09b454a63fa1c1b03bd050ee52fc71f098cca4a345918eaa8be26a123c15eaec3eb7f89f11ab4bc99ce4b1f77e079f147d126bf7ceca7d9f2a8acf9643bbbaeb7a130a24cc1c1cff86dc53c191b99fc634e009fa840ad90d2e047bf6d1e9e5e251e2f8eb70f775010a04c6035affd4fc9dfa7df9d7fb1ffe3f01f004bb066807880863087107a006f9078a092e0aa70b640c070d2b0e550e900dfc0daa0e3d0f0b0f390f2f0feb1175127
[2024-07-09T08:26:38+08:00][succ] 7f0000010b550000008a:312231192123b1418154714b4138f13a4150e160d15a814e7155a16c717611684159e1669186c198418ab172516ee184419af1a1019b019691955192d1916198e1aa01b6c1b621afa1b2d1c041c9c1c811c3a1cab1db21e4a1e0d1d9d1dd31e811ede1ea61e631e9f1f041f121ee11f0d1fbe204220231fc81fd4204220501fd81f841fdc205c203b1fc61ff82123221321a420491f8e201820cd209a1fda1fc920b3217c217b212b214d2197214620a120c021e322a9220020cd20e9229123e0235421e0218922b5239622d12137207720e6213120a61ff41fd31fb11e941ccf1b9e1b3119db163d11450d060a1606a30129fa89f514f1cdef74ecd8ea6ce989ea56eb86ec34ecc2edf8ef9ef0e9f1cdf2e7f457f52ff50ef527f6d3f9acfba6fbcefbbffd8d00fb03a4042b03e004e3071b087f082c077d082d09e80b160b470b910cbc0db9,#
[2024-07-09T08:26:39+08:00][succ] 7f0000010b550000008a:IWAPEG,4,aaaa1202c80300840500f900034408328503ffffe5c40d1d0bbd0c170df70e7a0c630a660b970ec010600f6d100615801b971be9174819d927713da94c2f4eaf472d3f9040534e7965bf6f1862174ab94a8a6cb68e70807136acea87d695faec21651e3affc2f49b0ca528122107f8c1d22ecb68e49d08241ca3139cef5bc509b0decbde0a574e66707e616e2ab8e5f6b0f99a8aa920cd65f7ac16da1e610e7ff42aebc3fb9016ac28a429122362243a26cf1d4d0535eda5e5aaed06f6c9f9e9f6e0f43ef9e60d4a2de74de4556e38bc049bd79bc6e1cf59e0b5ecb6effbeaf3dd17c949b878b339bafdc8bbd446d99ad7ead05cc6a6bfd3becac2cec8ebce39d14dd1fed0bdce88ccd9ccfccf09d1c9d3f8d53fd624d703d7bed849d8ddd9e8db57dcdfde82e075e2aee482e58ae62ce72ee882e9c2ebedee7cf03bf096f106f379f6dbf810f699f680fa5bfe1efc31f68ef8dd0b5525ff384a395230df2d4033723e0e4546475248004b2a53e05cc863ea693a6db774ab7601698c524e410c413c4ba350fb4fba567b67ac6902411afffdd944eafe147b19b4eaa0b8b9be19fac5371942532021f7d1e405dda2d544ca50c5d6caf1cc14c562bf5ec6c4ddf9f0def1a0e4c3db73e0dfeccef235f010f2d904371a2921ee15260096f6e1fad2006efd6bf639f5aefc7a0138fd20f72dfd781062211c23ad1bac171f1c191f9e16c303bcf24ce828ddeecd77bd3eb94fc362cd62cbd1c263bda2c3a8cb6ec9f2bed0b1d9aa81a808a635a43aa3a5a517a79aaa5dad9cb0f7b359b316b0deae9bad66adc0aff9b3cab7f0baadbb9cbbc5bc35bcc8bcddbd02be91c1f8c598c79bc811c869c979ca95cb37cc35ce7cd15ed2d8d282d228d38fd63cd7ffd82ed84dd9c8dbe6dce5dcb1dce9dea1e0c9e1dbe210e2c7e488e61fe6a8e6fee84eea34eb0bea7cea35ebc4ee65efe5efb2ef66f09af2a8f3a5f32cf2a0f36af4f4f5b7f560f50cf5e3f796f8fef987f970f91
[2024-07-09T08:26:39+08:00][succ] 7f0000010b550000008a:bf89bf862f8f1fa22fac8fa03f8ddf926fb4efd7cfdabfc47fbadfd3dff9a007fffa8fed8ff7a00e501bf01e10254039d04ed057e058205b30630068f06dc0774083e087307ce0763084109e70a86097d08380853099b0a4b09bb090b09760a930ae80a1f09760a030b2d0b740a9e09cf09e20a4309d40896078b0749070d062e052a050005c7064f061d065008630c110f2310180fc7102f11ef13b4140612de118110a9103a0fea0f9d0f5c0ee20e3e0dfb0e5c0ec20e490d520d340e6b0fad0f400d550bc10be90d070d680cae0bc50b770b520ad80a8a0b1d0c520cd90c200b2e0b420c510d2e0d450cfe0cf90cfb0c7f0be60bdb0c570c5a0b720a9e0b250ce40e2b0de40cd10c7c0d4d0e010d8f0c490b500b270b3f0b2c0b200b890c420c990c640c0b0c150c6a0c880c360b9c0b0a0a8d0a5b0ac30bbc0cab0cd20c580c0d0c82,#
[2024-07-09T08:26:40+08:00][succ] 7f0000010b550000008a:IWAPEG,5,aaaa1202c80300840500f900034408328503ffffe5c40dcd0dc40db70dee0dfd0d9d0d4f0db30e950ed90e0a0d100d1e0e310f020ec80ddb0db30f57110510ba0ee80e5e107412e112f710eb108e1377159012c50e1d112021e739ef4a454a8f411f3ceb46a7589a660967085f695a085e0069817395747b6bb65e7952d64a3b43113c9d3755346d32f130f92e9b2e1a30d53483359b321e2ae723541f071f6423cf287428c624461d80187614cb0d830134f6b0f5bafd6303fe03dc024f08c8175b22bc2457225d270d31ac374433e731993aa449224bf73ce52a5726d232773aad30751965075b05020c1b0f9909f5fef3f5a1f0f6ef71eedfee1aebf5e8f7e625e42fe364e3dde568e6cbe716e582e2bae0d1e12ee2f9e411e3c4e35be415e534e4e1e2f3e15fe1fde457e67be76fe7c7e861e8f9e904e8e0e95cea96eba0ec07ec68ed5eee7deebaee48ee63ef61f134f2caf304f262f294f49bf70bf70df45af348f6d7fbb7fb0cf4d6f3defcfd10a21ff427ad27bd24c621f623762d4c3bb24355405a413354cb6eba6d123a9cf760dd09f82118790aacdd4cc7e4eefb2d0049d241c840e55e54758456250c9cd8f6e0fa0157fa52cbafaca9cdcb0c8d1fe8eefeb230b32ef94642154f10263eff16018722553aac3dc037522f6e1f22fce4d95dd04ef5232dfd535d5289367c19170a21090f109c1a9b230d278227a8263722b61a9f0eac057006af108918c118a9133a1040117b11410c8a059e0044fc99f705eeafe424d6d3c6cab7cbb2aabb95cb16d489d1f3cad0ca19d0d7d645d10bc286b3d0abb5aa6dabcdacecade2af8bb1a1b30db371b3abb474b504b4c1b393b295b352b635b9f1bcf4be98bf23bef9be72be54bf49c122c2b3c352c3fec5f8c910cb6bcbe6cb8ecc28cdfbcf74cf71ceaeceaccfa6d09dd124d207d412d6b0d8ccdaa3dd81e1afe565e6bfe632e609e7baea26eb5feaf7ea23e9f7ea29ea3cea64eb0cebcdebcceb37eb27ec3bed96ee09edd6ee20ef3af014effbefdcf110f355f4d3f49cf3cdf411f572f674f65ff608f69af7fcf906f933f903f930f9d5faacfb79fbfefc0cfbc7fbddfccffe0efe76fdbefd42fe32fff0009cff50fd92fd7dff2e00a10035fecdfe7d000101b701e200d60061017602dd030b022201b502bc043a04b303ff033d034e03e9046604a604eb050004890400046705df06ef066004f00477059506a9062704b40437053c062805b704b304d9063407170686058205ad06f407d7078e06f1072307dd081d07d9080509200a380a5309c009b50a9b0b660b490acd0b2a0c870db60def0dba0e290f3e0ff60fc90f530f75100710541027101d10b3118a11fd11eb11c611e31220125e129c12c5128811e911a5125713ac14671410139613ef14ca14e214061384146215ca15da145c13401429162c16c6151c12f6129113e214fd14c80000,#
[2024-07-09T08:26:41+08:00][succ] 7f0000010b550000008a:IWAPEG,6,aaaa1202c80300840500f900034408328503ffffe5c414fa1588155f150114e814c3145013eb1409144d13fc135d1363145114fa143a12d8127d13891477140f13331381150315d314e813a5140215c9168514de127a11df13b616221698151b13ec14ba166816da17631519127e10e811bf1546134311c217ca26fc32852ca31e0d1a1430ac4cdc48a11608d3e0b30ac233eedb14531c150ab2e9fac9b0bd7fd39d01b421aa1189da54add8b74ce9320c35f93acc10be6ee737206f302d106fe700dd5bf3c30eff201829f134232f621290eab8daa6eddd1402365c44dd3f7529db0747de47c1a6bfacd781f4af074a03c7f395eb1df936190030aa2ec21025e984d207d38fe67d0334165013a1fc60e284dc1ae96cfc15fe06f0baea50f3080483113b0c27fbe4ee4ef2a303b313a8139bf982d50dc681dcb010aa3f684ee134a7070be517e6b01143461856f32f1cf199d5dcfb1f3e335fdc4a151ecd0c850df0043ee73fded20f125de377ab33cbc1f27e9a957fdc650da8082de9bdd64bd4dfd82fd9f3e4f2fa7615b323311749f7bfd1bfbc86c12cdf5e0f0345917303810c64c530cb124b26df583b6f254d1c0f00f0bf03061ba50a43d6eabbbae1e6307b69866ff65da95be16dc470bc4df919f502081cd351e77cce81f668ee3f7014f9f58debc4f9f1145c274123520cbaf494ecedfd4519e42d32281e0964e477ce67d453f5ca29635c1f72975b871ef9e260cc86e57414ba38303ff831c81a0e0160eaacdb1bd85fe3ccf8730c1616be176a12300bdd07cc03dbfd29f408eb4ce646e2ccdb40cbd5b647a38b9b7e9f01a7a2ac59ab55a8d5a99aadd5aff8ac63a4869cc69928994b9a899b929d2fa031a3dba676a75fa7b8a8b5aa34ab5babccac60ae4eb1aeb531b7b5b914b9e0ba81bb2ebc33bdb6bf77c0e9c20ec373c548c6eac799c7cdc8cfcb14cd7fce9dce98cef7d099d29fd3b6d3ecd475d600d7b1d87fd8bfd98bdb20dc5ddc70dc1adcb
[2024-07-09T08:26:41+08:00][succ] 7f0000010b550000008a:ade92e044e0c3e091e0f6e24be39ae422e431e4a0e595e68ce758e851e9b8eb03ebb9ec37ed34eebff016f0dbf18bf2c7f44bf551f5e2f6d3f882fa10fa62f9e3fa22fbc3fd8cfe07fd87fd9dfef8004a0037ff4eff4e00bf021501eb00d500a001e60345036802b0028a036904380414036e038304a105ee068f06a706fe07e208e30976098c0988099409a00999097b094e0914090b096d0a300ae30b230b230b4e0bb40bc60b280a4d09e909f409b308ed0880092f0a800aeb0a01090309610ad60bb00b220a280a190adf0b590b240ade0b300bb30bae0b4d0b420bb00be40b7d0afc0afd0b3f0afd0a4009cc0a0a0a650a12095c093809f70aca0ad90a6d0a420a800a65097f0876083a08e10967092c0891085a089e08b90887086608ad08df084c0756071d083709ab0a05090007c707b608c209d30a140993090d08f1094e09cc0a00,#
[2024-07-09T08:26:42+08:00][succ] 7f0000010b550000008a:IWAPEG,7,aaaa1202c803b7840500f900034408328503ffffe50d0a2a0a180a490ab70af90a9809d609940a2e0afd0ad109a208c709630afc0bcd0b0809ba09830aa00b940b2e09d208e3090909a60a060a100a0f0a1209fc0a1b0a9f0b310aeb09c608cd08df099b09ad08cd0806083908ca085e07010616066706b405ce044b0363038803c0033a024702120307045b052404d303620209024d066f0e6616f01bf41ada165f145419a7275438a0476d505b55235b0364f470a9774672d3648553b34887459245ca43cc3f673cc23ea541b841423c7738063827393034d52b49241a266f2f31355c355d3405361936fd2fb123a41f802a6b39ad3ba42d251d301ab6220022c81636065300d705ad09030486fd92fc23ff29fe2ef5aaea81e376e184e010dcd1d922d72fd792d939db01dc40dca4dbeeda6ed886d5e5d2ded121d200d491d618d538d361d2ddd406d55bd646d819dbe6e06fe338e3a9e391e4c5e6bde79be6f3e63ce6bae7c3e7f6e754e724e81fe943e95ae899e84be919ea48eaf0eb0eeb31eb89ebd3ec2decccee66f0bbf1aef087ef03efc4f252f3d8f2ddf15bf2fdf6f7f9b2f2c6eab3ee5202c01a7e24041d4416011c052be6398242c44f1e5def60074ab02191fccae687dcf9e01bfc6435066f7e841d68493eb42ddf36813b852e6d210f21841c26f343b3c5959ec5e325e86e46759e52292dd613e3f5b4d45dcbeeeeb626bd4a854bb53fab36e12e301265ee31e01ff68a1cdd30e62745110d02e4ff22f989eb83de7ee01ef20406fc10550be405e6091b13e71ba419ca148115891e2b265026f222882052221221b71b07102b0585fba5ede1db1fc7e9b9d6b349b0dbaf63ae3cad85add3ae07adb9ad71ac70aaf2a8cba6a0a5a0a63ea823aaaaad37af4db066b076b00eb005b0c6b216b3bcb5a4b7aeb97dba8bbb0bbbb5bd21bf11c0dec250c3b9c575c732c86fc93dca1dcb61cc92cd51cdeecf00d096d1e0d269d2b5d3aed567d6e7d794d7d
[2024-07-09T08:26:42+08:00][succ] 7f0000010b550000008a:cd8afda24db73dc09dc4adcfade32df7ae07de148e20ae2b2e335e3cee4c6e5dde686e6cde763e8c6ea7eeb97ebe8ec24eceaedc8edf8edaaedbdeea7efaff008effdf087f1f7f356f3c4f38df3a5f456f4edf4eff4e3f582f685f700f6dbf70cf834f98bf9e2f93ef8f5f9f3fb74fc20fba9fb02fb05fb89fc0efc7cfcfffd67fd37fcc9fd01fe17fef4fe82fd4afcfefe69003f00c0ffe5ff41ffd300da012400a8006700e4014a00fb007c00b901ad026b0284027802e203600338028f023f02bc036e03a0037e03bc0494055e05b405de063d067705f3050904bf059506bd071106880621068e075b07cf07f1082208600810072f06ac0736082d082406ed05d90610070f0747066f05d4068507ca0816071906090602068d068f05da0545056405bb05e4063a071b080e080706f60601062306de06f50626055c0571061406ac0764,#
[2024-07-09T08:26:43+08:00][succ] 7f0000010b550000008a:IWAPEG,8,aaaa1202c8033b840500f900034408328503ffffe58909d409fa08da07cb07f208ca08ba075306000623075b082007da076707bc088908d50878081e084b088d086f0841085a0892087f080307df08c70a650b500abb098709aa0c170ea70e580b6a09df0cf7138b18ee1acc1b421c691d6c1c5d1c3e238332d4421947ac448143fc4df45c52617b57e048c9413f44804ada4b45466543f948b8508e530d4c34417d3b6f3b913ac131c824211de6266b36063df9388e2e782bee3179350c2f1322ff1ac01a781e1f1ffb1e761b551776121a0c49088307bb075a03a6fd22f77cf56ef64af753f69ef4c5f2a7f085ee58ec4beb19eaa8ea70ea3eea2aea4cea4cea00e9ade9b7ea2eea95eab4eadbeb4eebcfebebebd1ebfcec7aecceecb3ecb7ed91ef2df095f10cf0c4f054f014efddefacefc2f03af0d7f13bf182f20cf2ebf3abf3d6f3a2f393f3daf414f3e1f39af3fbf540f6a6f752f752f773f825f8dbf8fbf8bcf8c1f92df97af985f9d4facbfbecfc67fc74fd04fe6cffa1ff87feaefe9dffe20142017b00ee00f902040318038203c504a505ca06140577052105e807030721064005a005fd06fe07c70821088c09690a5f0ac00a3a095f09d30bc10d130bab08af08670e0e16bd1c3f1c541adb1c1a1e9e1e541c9120fa2e973cf540c73c4137303f654f7a584a5080408231f02f47322232272ef832cf469d652772455c1f2d62fd19e270da8fe412fa5119372191ffd7c371a83ece341b004869354f04f4ef5b00b216810ea2f6b9fba61d893bfc3304166d0d5f27f93995165bcb1597eaa413ddbc0f8a1b411032ff1dfb2bfd5a0b65127504fed5d4ad43b046e8481c3826cf0b8cfc7107b7154a06d1f044ed8109411f3b15b7f6a4ddbfd6e4da94dc65e063e4c9e99de6bbde4fd502d2d6d07bd4b2d670dbe9dbd5dd33d8e7d82dd491d613d4c4d7f8d760da13d81bd9d8d885dbe9db3fdd3dda9ddc79dbe7df8cde31df67dce4df99df57e270e09
[2024-07-09T08:26:43+08:00][succ] 7f0000010b550000008a:0e227e063e2f4e1a5e3ede255e4bae332e576e404e6ace574e7e4e6a0e99de8a3ea87e7c1e976e8e2ecdfebd0ecf5ea32eccfecc1f002ee2deff9eec2f1d6f05ff220f091f3fff39ef5cdf32df508f471f7fff68bf7c7f53ef772f60df80ff5f9f835f70cf953f707f892f6fcf998f7b0f8f6f6b4f959f87cfaadf841f9ebf88efb28f91efa52f7f9fa38f8b4fa94f868fa7ef926fb82f9cefc38fb39fde7fbf7fd78fb92fe1dfc83fdeafb4ffd7efcbeff82fd43fe6efc83ff59fe23ffd5fd29fea7fcb5fe89fc67fe66fcd9fec5fc30fda7fc54ff97fe48ff8afcd7ff34fe9c0118fe53ff30fd5f0060ff1700b7fe7300daffbb01c4ff570127fff1028800470130feae00ccfefc0047fd51fe7cfbf5fcdaf9affb1ff9e2fcb9faabfbc4f9eefdeeff3203af031b05f9056208b00776097d07a209ba0763080f04c40618042b05b0,#
197 1 0
1个回答

Gin

截图
两组数据格式不一样

  • lbfeng 10天前

    是呢,服务器收到就是这样的 有的一组数据是两次接收完的

  • xiasha11 10天前

    手表端心跳你没有回应吗

  • lbfeng 10天前

    回应了,手表端的心跳是8分钟一次

  • Gin 10天前

    你对数据进行处理没有, 会不会因为格式问题,导致处理有问题, 从而断开连接

  • lbfeng 10天前

    不是格式问题,我又测了几次数据,有的数据格式都是一样的,不会一组数据两次传输 数据一样格式情况下传到第十五六组时候会断开

  • Gin 10天前

    你把处理过程注释掉试试

  • lbfeng 10天前

    心电数据没有处理,接收到直接打印在日志里面

  • Gin 10天前

    https://www.workerman.net/q/2802 看看这个吧, 我也没啥思路了

  • xiasha11 10天前

    手表端的心跳是8分钟一次?太长了吧,设置45秒一次试试

  • jcy_tcp 10天前

    gateway进程打印生命周期情况,onClose. onError 等.关注下:https://www.workerman.net/doc/workerman/worker/on-buffer-full.html. 服务端我感觉很少主动去退出.然后说说心跳,心跳如果按你说客户端支持8分钟,那你60s以内的设置不会错.最后在客户端.客户端的打印事件的信息(不确定你们客户端自己写还是集成好的)

  • lbfeng 10天前

    $maxSendBufferSize、defaultMaxSendBufferSize这两个值调整过,没有作用 客户端是智能手表,集成好的,无法打印信息。能从服务端看出,每次心电数据接收到第十五六组时候就会自动触发close中的业务逻辑,随后再重新进行连接

  • jcy_tcp 10天前

    有调试过吗.https://www.workerman.net/doc/workerman/debug/busy-process.html.建议你把gateway和bus worker 任务进程 它们的数量设置1,观察调试下

×
🔝