robertklep / nefit-easy-core

Core functionality to implementation communications with Nefit/Bosch backend.
MIT License
21 stars 4 forks source link

Rewrite message loop #6

Open robertklep opened 8 years ago

robertklep commented 8 years ago

Instead of request/response + queue, run permanent message loop and resolve requests based on response id (possible issues: how to deal with errors, check if multiple requests can be sent without waiting for response)