[chirp_devel] Multiple icom sub models
Marco Filippi IZ3GME
Mon Jun 15 04:20:38 PDT 2015
On 14/06/2015 18:22, Dan Smith wrote:
>> I've seen the update on #280 and thought to implement it.
>> Making a class for IC-W32E derived from W32A is a couple of code lines
>> BUT the two models would have the very same file format breaking the
>> match_model magic
>>
>> I looked at the W32A image and I don't identify any model signature in it.
>
> Hmm, bummer! I thought that the Icom images did have that string in it.
> Have you looked for just the first two bytes? IIRC, The first two bytes
> signal the main model, and then the last two signal the variant or model
> (i.e. the E one). You might look for the first two and see if it looks
> like the second two are there nearby anywhere (not necessarily right
> after the first two).
No, in the icf files the first two bytes are the model number but i
don't find them in the memory image we save.
>
>> Any suggestions?
>> I'm very tempted to add model id (4 bytes) at the end of new IC-W32E
>> file ....
>
> Yeah, that's less ideal, but if it's the only way it'll work.
>
I had an image from the user so I'll work on this solution in short.
73 de IZ3GME Marco
More information about the chirp_devel
mailing list