kopia lustrzana https://github.com/sq5t/ic-705-tools
Merge branch 'master' of github.com:sq5t/ic-705-tools
commit
b00d404d56
|
@ -3,4 +3,4 @@ Set of tools writen in different programming language based on what i really wan
|
|||
Most of them will be proof-of-concept to show possibility with open source and this radio. Any software that is not poc will be in seperate repository on my github.
|
||||
|
||||
------------
|
||||
[Image transfer over WiFi to Icom IC-705 and it's called wit. ](https://github.com/sq5t/ic-705-tools/wit/ "Image transfer over WiFi to Icom IC-705 and it's called wit. ")
|
||||
[Image transfer over WiFi to Icom IC-705 and it's called wit. ](https://github.com/sq5t/ic-705-tools/tree/master/wit "Image transfer over WiFi to Icom IC-705 and it's called wit. ")
|
||||
|
|
|
@ -6,18 +6,29 @@ In gimp or any other software create jpeg file with resolution 640x480 and disab
|
|||
|
||||
#### Simple protocol specification.
|
||||
Create tcp connection to radio to port 60000 and send command:
|
||||
|
||||
`\x01\x00\x00\x00\x00\x04\x00\x00\x00` + file size in hex (2 bytes)
|
||||
|
||||
Radio will answer with command ack:
|
||||
|
||||
`\x01\x01\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00`
|
||||
|
||||
and receive ack:
|
||||
|
||||
`\x01\x02\x00\x00\x00\x02\x00\x00\x04\x00`
|
||||
|
||||
Now we can send header:
|
||||
|
||||
`\x01\x03\x00\x00\x04\x03\x00\x00\x01` + size of data + 1024 bytes of data
|
||||
|
||||
and wait for receive ack.
|
||||
|
||||
On last package of data we need to send:
|
||||
|
||||
`\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 :)
|
||||
|
||||
No, this tool is not some kind of wit, it's only acronym :)
|
||||
|
|
Ładowanie…
Reference in New Issue