Add RequestInfo/ResponseInfo with MAC address
This commit is contained in:
@@ -52,6 +52,12 @@ int main() {
|
||||
sleep_ms(100);
|
||||
reset_usb_boot(0, 1);
|
||||
break;
|
||||
case RequestInfo::ext_id: {
|
||||
ResponseInfo info;
|
||||
getSHAR(info.mac.data());
|
||||
send_bytes(encode_response(msg->message_id, info));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user