Add fw cmd to get UDI

This commit is contained in:
Daniel Lublin 2022-11-21 14:19:09 +01:00 committed by Michael Cardell Widerkrantz
parent 98a3a1240b
commit acb9c37ee7
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5
3 changed files with 24 additions and 1 deletions

View file

@ -96,6 +96,11 @@ void fwreply(struct frame_header hdr, enum fwcmd rspcode, uint8_t *buf)
nbytes = 128;
break;
case FW_RSP_GET_UDI:
len = LEN_32;
nbytes = 32;
break;
default:
puts("fwreply(): Unknown response code: 0x");
puthex(rspcode);