Add RequestInfo/ResponseInfo with MAC address

This commit is contained in:
Ian Gulliver
2026-04-04 15:00:16 +09:00
parent 46af5becfe
commit d2b9a2e2aa
6 changed files with 67 additions and 0 deletions

View File

@@ -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;
}
}
}
}