6663b6c9
adorian
projet complet av...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "command.h"
#include <ion.h>
#include "../../device.h"
namespace Ion {
namespace Device {
namespace Bench {
namespace Command {
void MCUSerial(const char * input) {
if (input != nullptr) {
reply(sSyntaxError);
return;
}
char response[11 + Ion::Device::SerialNumberLength + 1] = {'M', 'C', 'U', '_', 'S', 'E', 'R', 'I', 'A', 'L', '=', 0};
Ion::Device::copySerialNumber(response + 11);
reply(response);
}
}
}
}
}
|