Dangerous Prototypes

Dangerous Prototypes => USB Infrared Toy => Topic started by: antoxic on January 13, 2017, 06:33:27 pm

Title: Write IR Toy serial number
Post by: antoxic on January 13, 2017, 06:33:27 pm
Hi!

Is there any chance to write a serial number to the toy? At the moment the serial number is 00000001

Code: [Select]
# /bin/udevadm info --name=/dev/ttyACM0 | grep SERIAL_SHORT
E: ID_SERIAL_SHORT=00000001

I want to connect few of them to the same computer and distinguish them.

Any help would be appreciated.

Regards
Title: Re: Write IR Toy serial number
Post by: tayken on January 15, 2017, 10:01:35 am
You have to recompile the firmware with changing line 132 at descriptors.h file: https://github.com/DangerousPrototypes/ ... ors.h#L132 (https://github.com/DangerousPrototypes/dangerous-prototypes-open-hardware/blob/master/USB_IR_Toy/Firmware-main/descriptors.h#L132)
Title: Re: Write IR Toy serial number
Post by: antoxic on May 26, 2017, 10:09:51 am
Thank you! I will try that!