Gents,
Here is the image from my Icom IC-V80. As confirmed by Icom's software, the first two memory locations are filled, and contain:
1) 146.52, simplex. No tone. Label AAAAA
2) 146.76, offset minus, 600 KHz. Tone, 88.5. Label BBBBB
It appears to me that a memory channel is 16 bytes long. The first two bytes appear to be frequency / 5000, not three as in IC-T70. So, I have changed frequency in the mem structure to ul16. The next two appear to be offset / 5000, same as IC-T70 . (I am aware of the IC-T70 changes to that for oddball spacings, which I will later confirm are the same here.) The next 5 bytes are the memory label. After that, I can start setting/unsetting bits and figure out the other features.
Is it correct that CTCSS tones are usually enumerated rather than literal values? Where can I find the enumerations?
Also, since this radio does not use memory banks, do I have to strip out any bank code and/or structures from the IC-T70 driver, or does setting:
rf.has_bank = FALSE
rf.has_bank_index = FALSE
rf.has_bank_nmames = FALSE
...take care of all that?
Making the changes noted to the data structure and bank definitions does not result in the UI showing the correct frequency (it just says ERROR), so I am not clear on what else I am missing. Any tips appreciated.
73,
Drew K3PA
-----Original Message-----
From: Drew Vonada-Smith [mailto:drew@whisperingwoods.org]
Sent: January 01, 2013 16:34
To: 'chirp_devel@intrepid.danplanet.com'
Subject: RE: [chirp_devel] chirp_devel Digest, Vol 20, Issue 13
Dan,
Thank you for explaining. I also found I made an error and was using the wrong driver to begin. Some of the names are very close; ict7h vs ict70. Got the new driver and set the things I already knew; model string, number of memories, band limits etc.
Began again and got a memory size of 0xE80.
Next thing: I know from the manual that the T70 uses ASCII channel labels and had memory banks. The V80 has neither. Do you recommend I just delete those items from the structure and try again, or how do you go about reverse engineering the memory channel structure?
-----Original Message-----
From: chirp_devel-bounces@intrepid.danplanet.com [mailto:chirp_devel-bounces@intrepid.danplanet.com] On Behalf Of Dan Smith
Sent: January 01, 2013 15:28
To: chirp_devel@intrepid.danplanet.com
Subject: Re: [chirp_devel] chirp_devel Digest, Vol 20, Issue 13
> 0e80 was the size I used, and this resulted in:
Right, and if you look at this:
> Last addr: 0e80
It's saying it stopped there. That's because the radio has a larger memory than 0x0E80, and so the driver stopped because you told it to, not because the radio refused a read. If you set the memsize to 0x10000 or something else large, then you should see that "Last addr" change to the actual end. The T70's size is 0x19E0, which is much larger than the
0x0E80 you told it to look for.
> Anyway, you seem to be looking for someone with more experience at
> this than I have, so I'd best pass on driver work. Maybe the info
> above is useful to someone...
Well, that's your call, I didn't mean to scare you off. Writing a driver is not trivial thing and it does require some study. I'm not a Windows developer, but I did expect that even a power user would have familiarity with the platform enough to search for files and redirect output. Maybe that's a bad assumption on my part.
I won't push you, but I think you're pretty close to at least getting an image of the radio. Once you do, all that is left is sifting through it looking for the data and fields you need...
--
Dan Smith
KK7DS