Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Z-Wave driver preview
#71
The thing is, it seems to be reacting to all of the units. But the first time you run the client interface after loading the driver the client interface won't know about all of the units. It can't know that until you do the first replication. So it seems like it would have to be at least after you have done a replication.

BTW, I was doing some thinking last night, when I should have been sleeping. When the driver hands off an outgoing msg to the Z-Stick, there are two scenarios. It can just wait for the Z-Stick to acknowledge that it has queued the msg, or it can wait for the Z-Stick to announce that it has actually transmitted the msg.

My strategy, for maximum speed and overlap has been to do the former for queries and the latter for outgoing commands. For queries, we don't wait around for the result. We send it, and at some point it either sends the response or it doesn't and we time out and try again (if that's appropriate.) So there's no real need to wait around for it to be transmitted. As long as we know it's queued to be sent its fine.

But, I got to wondering that maybe I'm overrunning the Z-Sticks buffer on your systems because you have more units than me, and likely its straining a bit more to get then transmitted so there may be more re-tries which allows more time for other queries to be queued up.

So I think, as a sanity check, I should try sending all msgs in the wait for actual transmission style. That way we know we aren't going to overcook the Z-Stick. It'll be a bit slower, but safer. If it makes absolutely no difference, I can go back again easily enough. If it makes it a lot better, I'll keep that and just get rid of the option so that that decision doesn't even have to be made by the code.
Dean Roddey
Software Geek Extraordinaire
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  "Client Side Driver Directory Could Not be Cleaned Out" TurboSam 15 390 09-27-2018, 01:43 PM
Last Post: TurboSam
  CML Driver IDE docs - where? rbroders 1 129 09-18-2018, 05:41 PM
Last Post: Dean Roddey
  Timer Driver Question kblagron 5 197 09-14-2018, 02:43 AM
Last Post: znelbok
  reset driver statistics? rbroders 9 531 09-11-2018, 07:50 PM
Last Post: Dean Roddey
  Driver Configuration w/8 prompts rbroders 1 321 09-03-2018, 09:28 PM
Last Post: Dean Roddey
  Driver info/stats rbroders 6 456 09-02-2018, 08:34 PM
Last Post: Dean Roddey
  Sonos Driver zra 3 285 09-01-2018, 03:09 PM
Last Post: Dean Roddey
  HTTP Get driver not working znelbok 10 653 08-28-2018, 10:10 AM
Last Post: Dean Roddey
  Can't add fields to ElkDev driver rbroders 4 364 08-07-2018, 06:24 PM
Last Post: Dean Roddey
  Possible to copy all the name in a driver so can paste is elsewhere? ghurty 11 777 07-14-2018, 05:24 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)