70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
network.unsignedShortValue];
[OFStdOut writeFormat: @"\tNode: %02X\n", node.unsignedCharValue];
if (phase != nil)
[OFStdOut writeFormat: @"\tPhase: %@\n", phase];
if (range != nil) {
unsigned short start = [range.firstObject unsignedShortValue];
unsigned short end = [range.secondObject unsignedShortValue];
[OFStdOut writeFormat: @"\tNet range: %04X-%04X", start, end];
}
}
static void
setConfiguration(OFArray OF_GENERIC(OFString *) *arguments,
OFString *networkString, OFString *nodeString, OFString *phaseString,
OFString *rangeString)
|
|
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
network.unsignedShortValue];
[OFStdOut writeFormat: @"\tNode: %02X\n", node.unsignedCharValue];
if (phase != nil)
[OFStdOut writeFormat: @"\tPhase: %@\n", phase];
if (range != nil) {
unsigned short start = [range.firstObject unsignedShortValue];
unsigned short end = [range.secondObject unsignedShortValue];
[OFStdOut writeFormat: @"\tNet range: %04X-%04X\n", start, end];
}
}
static void
setConfiguration(OFArray OF_GENERIC(OFString *) *arguments,
OFString *networkString, OFString *nodeString, OFString *phaseString,
OFString *rangeString)
|