Forum Discussion
May 16, 2017
Or try to include something like this. I think the example above will not work, because the heximal representation of the serial includes the colon signs.
set fields [split $sn ":"]
set sn_decimal ""
foreach field $fields {
scan $field %x decimal
set sn_decimal [concat $sn_decimal$decimal]
}