[chirp_devel] [senhaix_8800] New Model #7997
Nicolas Pike
Thu Nov 19 13:04:11 PST 2020
On Thu, 19 Nov 2020 at 20:30, Dan Smith via chirp_devel <
chirp_devel at intrepid.danplanet.com> wrote:
> > # HG changeset patch
> > # User Nicolas Pike <nicolas.jon.pike at gmail.com>
> > # Date 1605379022 0
> > # Sat Nov 14 18:37:02 2020 +0000
> > # Node ID f0e565a301835f2358ca2842b22e8cfc708c796b
> > # Parent 98b8a850b0f136c77fe09a4922c32a2a28f708be
> > [senhaix_8800] New Model #7997
> >
> > diff -r 98b8a850b0f1 -r f0e565a30183 chirp/drivers/senhaix_8800.py
> > --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> > +++ b/chirp/drivers/senhaix_8800.py Sat Nov 14 18:37:02 2020 +0000
> > @@ -0,0 +1,980 @@
> > +# Copyright 2020 Jiauxn Yang <jiaxun.yang at flygoat.com>
>
> Is this someone else's code? Obviously I can't accept someone else's
> copyrighted code without some indication that they intend it to be
> redistributed.
>
> https://chirp.danplanet.com/issues/7997#change-28249
* The author is hospitalized at the moment. Hopefully on the mend. I have
been helping test it and he asked me to submit it as per the issue page.
> > + at directory.register
> > +class SenHaiX8800Radio(chirp_common.CloneModeRadio):
> > + """SenHaiX 8800"""
> > + VENDOR = "SenHaiX"
> > + MODEL = "8800"
>
> I just want to check, especially because of the above: is this
> substantially similar to any other drivers in tree?
>
* This driver should also work with the Radioddity gs-5b. I do not know how
similar this driver may be to any others.
>
> > + @classmethod
> > + def match_model(cls, filedata, filename):
> > + if len(filedata) in [MEM_SIZE]:
> > + return True
> > +
> > + return False
>
> New drivers shouldn't be adding these handlers, you can just rely on the
> automatic metadata-based matching method from here on out.
> * I would need to look into that, as up to this point I have only been
> testing the driver.
>
> Can you please provide a radio image so I can test this?
> * Please find attached a radio image.
* Thanks
> Thanks!
>
> --Dan
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20201119/1c0a3e41/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SenHaiX_8800.img
Type: application/octet-stream
Size: 7333 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20201119/1c0a3e41/attachment-0001.img
More information about the chirp_devel
mailing list