summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irecovery.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irecovery.c b/src/irecovery.c
index 95cd649..075ee79 100644
--- a/src/irecovery.c
+++ b/src/irecovery.c
@@ -344,6 +344,11 @@ int main(int argc, char* argv[]) {
}
}
+ irecv_device_t device = NULL;
+ irecv_get_device(client, &device);
+ if (device)
+ debug("Connected to %s, model %s, cpid 0x%04x, bdid 0x%02x\n", device->product, device->model, device->chip_id, device->board_id);
+
switch (action) {
case kResetDevice:
irecv_reset(client);