Mailing list archives : pcb-rnd

ID:5114
From:Majenko Technologies <ma...@majenko.co.uk>
Date:Sat, 4 Sep 2021 17:06:54 +0100
Subject:Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto
in-reply-to:5112 from rn...@igor2.repo.hu
replies: 5116 from rn...@igor2.repo.hu
--00000000000069dfe005cb2d9bbc
Content-Type: text/plain; charset="UTF-8"
 
I'm thinking a library that deals just with the device io. No protocols,
just getting the raw data. Plugins for serial, HID Serial, raw USB packets,
etc. libut61x uses it to get the data from the device, and you specify what
plugin to use to get that data from the device. My programmes also use it
to get the data from the devices, etc.
 
Like hid-rnd but for device io not human io.
 
On Sat, 4 Sep 2021, 16:48 , <rnd2@igor2.repo.hu> wrote:
 
>
>
> On Sat, 4 Sep 2021, Majenko Technologies wrote:
>
> >I have a collection of Tenma device protocol libraries that could then
> come
> >under the same umbrella - things like the serial protocol for my desktop
> >power supply, the video stream from my oscilloscope, the video stream from
> >my function generator, etc. Some serial, some HID, some custom USB devices
> >with no name, etc. All fun to reverse engineer, especially when they then
> >employ some anonymous RLE encoding that you have to try and fathom out...
>
> Nice! The main question is what's your umbrella.
>
> I do not think the way is to write a big unified library or software
> environemnt for all the different devices. If we need that, sigrok already
> has something like that.
>
> What I prefer is that the environment is UNIX and I have small,
> stdio based command line tools that I can put in a pipeline. This also
> means there's no unified protocol format, as each device may have very
> different way of communicating. The UT61E has a handful of things that I
> found real surprising while developing the lib.
>
> So if your vision matches that, a set of independent command line tools
> (and independent C minilibs), we can indeed make up an umbrella project
> for it.
>
>
> Best regards,
>
> Igor2
>
>
>
>
 
--00000000000069dfe005cb2d9bbc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 
<div dir=3D"auto"><div>I&#39;m thinking a library that deals just with the =
device io. No protocols, just getting the raw data. Plugins for serial, HID=
 Serial, raw USB packets, etc. libut61x uses it to get the data from the de=
vice, and you specify what plugin to use to get that data from the device. =
My programmes also use it to get the data from the devices, etc.=C2=A0</div=
><div dir=3D"auto"><br></div><div dir=3D"auto">Like hid-rnd but for device =
io not human io.<br><br><div class=3D"gmail_quote" dir=3D"auto"><div dir=3D=
"ltr" class=3D"gmail_attr">On Sat, 4 Sep 2021, 16:48 , &lt;<a href=3D"mailt=
o:rnd2@igor2.repo.hu">rnd2@igor2.repo.hu</a>&gt; wrote:<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex"><br>
<br>
On Sat, 4 Sep 2021, Majenko Technologies wrote:<br>
<br>
&gt;I have a collection of Tenma device protocol libraries that could then =
come<br>
&gt;under the same umbrella - things like the serial protocol for my deskto=
p<br>
&gt;power supply, the video stream from my oscilloscope, the video stream f=
rom<br>
&gt;my function generator, etc. Some serial, some HID, some custom USB devi=
ces<br>
&gt;with no name, etc. All fun to reverse engineer, especially when they th=
en<br>
&gt;employ some anonymous RLE encoding that you have to try and fathom out.=
..<br>
<br>
Nice! The main question is what&#39;s your umbrella.<br>
<br>
I do not think the way is to write a big unified library or software <br>
environemnt for all the different devices. If we need that, sigrok already =
<br>
has something like that.<br>
<br>
What I prefer is that the environment is UNIX and I have small, <br>
stdio based command line tools that I can put in a pipeline. This also <br>
means there&#39;s no unified protocol format, as each device may have very =
<br>
different way of communicating. The UT61E has a handful of things that I <b=
r>
found real surprising while developing the lib.<br>
<br>
So if your vision matches that, a set of independent command line tools <br=
>
(and independent C minilibs), we can indeed make up an umbrella project <br=
>
for it.<br>
<br>
<br>
Best regards,<br>
<br>
Igor2<br>
<br>
<br>
<br>
</blockquote></div></div></div>
 
--00000000000069dfe005cb2d9bbc--
 

Reply subtree:
5114 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto from Majenko Technologies <ma...@majenko.co.uk>
  5116 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial from rn...@igor2.repo.hu
    5117 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto from Majenko Technologies <ma...@majenko.co.uk>