JanLoebel / eufy-node-client

Experiment to talk to eufy security
43 stars 6 forks source link

Misconception: first/last multipart message #5

Closed JanLoebel closed 3 years ago

JanLoebel commented 3 years ago

I have done some misconception regarding the recognition of first / last messages while receiving multipart messages. Does anybody have an idea how that could be done?

https://github.com/JanLoebel/eufy-node-client/blob/e6473b583ad89e38c831a3d5e788ae520f4c3acd/src/p2p/device-client.service.ts#L165-167

JanLoebel commented 3 years ago

Okay, found a better way, it's fixed.