Wilkins White
Wilkins White
The ip-validation bot seems to be checking my alternative emails, not sure what to do about that
I'm also interested in seeing this work. I'll see if I can modify it myself and make a pull-request.
Fixed that problem, so I'll include the patch. Unfortunately since this was written in such an old version of Bluez I'm sure there's other problems. For now I think this...
Interesting, a 65kB transfer using segmented takes about 163ms in the test suite but the same transfer using block takes almost 30 seconds.
After some investigation I've determined that this isn't a bug so much as a bad interaction with Node's timers. Node cannot schedule a timer faster than 1 ms which means...
Thanks for the sample code, I'll see if I can reproduce
I think I've fixed it. There was a race condition in several methods where the event that sends the CAN message happens before the state of the transfer gets updated....
The block transfer works by sending a large "block" of messages without any explicit flow control. It sounds like the receiver may be running out of buffer space, or otherwise...
I think you're creating a conflict. The `loopback` option is just to support running tests. All messages generated by a Device with `loopback` set will be emitted into its own...
I wrote a simple file transfer example, both read and write, and 40kB transfers work fine. Please see `https://github.com/Daxbot/node-canopen/tree/main/examples/sdo/file_transfer` and see if you can modify it to show your problem....