ic-705-tools/wit/README.md

37 wiersze
1.2 KiB
Markdown

2020-09-23 00:31:55 +00:00
## wit - WiFi Image Transfer (for Icom IC-705).
'wit' is simple utility to send picture directly to radio over WiFi. IC-705 need to be accessible over IP with TCP port 60000 to work with this tool.
You can watch this software in action on my youtube channel https://youtu.be/BRDKWNSRsig
2020-09-23 00:31:55 +00:00
#### How it works?
In gimp or any other software create jpeg file with resolution 640x480 and disabled interlace. In script change IP (line 17) and change filename (line 22). After that run script, acknowledge transfer on radio and wait :)
#### Simple protocol specification.
Create tcp connection to radio to port 60000 and send command:
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
`\x01\x00\x00\x00\x00\x04\x00\x00\x00` + file size in hex (2 bytes)
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
Radio will answer with command ack:
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
`\x01\x01\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00`
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
and receive ack:
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
`\x01\x02\x00\x00\x00\x02\x00\x00\x04\x00`
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
Now we can send header:
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
`\x01\x03\x00\x00\x04\x03\x00\x00\x01` + size of data + 1024 bytes of data
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
and wait for receive ack.
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
On last package of data we need to send:
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
`\x01\x03\x00\x00\x00\x74\x00\x00\x01` + size of data (2 bytes) + last part of data (<= 1024B).
------------
Yes, on test photo is my hedgehog :)
2020-09-23 00:34:35 +00:00
2020-09-23 00:31:55 +00:00
No, this tool is not some kind of wit, it's only acronym :)