canopen icon indicating copy to clipboard operation
canopen copied to clipboard

Add custom eds storage format & block transfer mechanism

Open samsamfire opened this issue 2 years ago • 2 comments

Hi,

CiA defines objects 0x1021 for storing EDS and object 0x1022 for storing the format used (which suppose to be mandatory according to spec btw). I've added two optional parameters to add_node :

  • block_transfer to enable or disable block transfer
  • eds_format_handler, callable that takes sdo io and returns an eds file handle. The point of this is so that anyone with a specific format can handle their own logic. I've also added some documentation , an example and description for parameters.

samsamfire avatar Jan 15 '23 21:01 samsamfire

During the weekend will try to give it a look.

af-silva avatar Feb 10 '23 18:02 af-silva

Bump have you had a chance to look at it ?

samsamfire avatar Mar 15 '23 21:03 samsamfire