Numworks Epsilon  1.4.1
Graphing Calculator Operating System
mcu_serial.cpp
Go to the documentation of this file.
1 #include "command.h"
2 #include <ion.h>
3 
4 namespace Ion {
5 namespace Device {
6 namespace Bench {
7 namespace Command {
8 
9 void MCUSerial(const char * input) {
10  if (input != nullptr) {
12  return;
13  }
14  char response[11+Ion::SerialNumberLength + 1] = {'M', 'C', 'U', '_', 'S', 'E', 'R', 'I', 'A', 'L', '=', 0};
15  Ion::getSerialNumber(response+11);
16  reply(response);
17 }
18 
19 }
20 }
21 }
22 }
const char *const sSyntaxError
Definition: command.cpp:11
void getSerialNumber(char *buffer)
Definition: device.cpp:77
void MCUSerial(const char *input)
Definition: mcu_serial.cpp:9
void reply(const char *s)
Definition: command.cpp:15
Definition: backlight.h:6