Comments for Long-term Memory / A collection of note-to-self's Sun, 24 Mar 2019 23:04:45 +0000 hourly 1 https://wordpress.org/?v=5.1.1 Comment on iMax B6 charger protocol reverse engineered by Bjorn /2012/01/29/imax-b6-charger-protocol-reverse-engineered/comment-page-1#comment-261429 Sun, 24 Mar 2019 23:04:45 +0000 http://blog.dest-unreach.be/?p=2195#comment-261429 There seems to only be logging available for the B6AC V2, so I started digging into how to start charge/discharge with the new HID interface.

Probably won’t finish deconding the whole protocol, but some of the findings are here at my fork of existing logging code https://github.com/beikeland/imax-b6mini-datalogger/

]]>
Comment on HP ProCurve: MST misbehaves by Jimbo /2008/06/03/hp-procurve-mst-misbehaves/comment-page-1#comment-261420 Thu, 05 Apr 2018 12:31:23 +0000 http://blog.dest-unreach.be/?p=17#comment-261420 oh… and for what it’s worth i paired mine with an old 3com in the lab, and the 3com did what we wanted and took the vlans into account.

]]>
Comment on HP ProCurve: MST misbehaves by Jimbo /2008/06/03/hp-procurve-mst-misbehaves/comment-page-1#comment-261419 Thu, 05 Apr 2018 12:18:48 +0000 http://blog.dest-unreach.be/?p=17#comment-261419 Hi Niobos,

Well it’s 2018, and i have the same grumble. Indeed the HP solution is dangerous as it designates a port that can’t actually carry the traffic for the vlans which the instance is configured for. In my opinion very stupid.

I think replacing the switches may be the way to go!

]]>
Comment on Cisco config syntax highlighting in Gvim by Sam Garcia /2008/06/08/cisco-config-syntax-highlighting-in-gvim/comment-page-1#comment-261416 Thu, 16 Nov 2017 16:35:56 +0000 http://blog.dest-unreach.be/?p=24#comment-261416 Hey, thanks for the quick response. Here is an example for the class-maps, see below. I’d like to fold them in a similar manner to how you folded the interfaces. I just made a copy of the interface code and changed the keywords to “class-maps”

class-map match-any DSCP_Trusted_Hosts
description Marking Class for Hosts with Trusted Markings
match access-group name DSCP_Trusted_Hosts

]]>
Comment on Cisco config syntax highlighting in Gvim by Niobos /2008/06/08/cisco-config-syntax-highlighting-in-gvim/comment-page-1#comment-261415 Wed, 15 Nov 2017 19:41:57 +0000 http://blog.dest-unreach.be/?p=24#comment-261415 Sam,

Can you post more information about your error. Does it say on what line of what file the error occurred? What do you mean by “your interface line”?

]]>
Comment on Cisco config syntax highlighting in Gvim by Sam Garcia /2008/06/08/cisco-config-syntax-highlighting-in-gvim/comment-page-1#comment-261414 Wed, 15 Nov 2017 19:29:04 +0000 http://blog.dest-unreach.be/?p=24#comment-261414 I have a large number of router configs that have class maps. I tried to copy your interface line to fold the class-maps. I keep getting an E475 error “invalid argument” Any help would be greatly appreciated.

thank you

Sam

]]>
Comment on SolarMax MaxTalk protocol reverse engineered by Sam /2009/04/15/solarmax-maxtalk-protocol-reverse-engineered/comment-page-2#comment-261413 Tue, 14 Nov 2017 16:46:54 +0000 http://blog.dest-unreach.be/?p=1023#comment-261413 Trying just to access my SM3000S. I’m a server admin so I think I know a little about connecting networking kit but this thing just does not want to communicate, I have it connected to a powerline network system which I tested with a laptop and works fine, the LAN connecton light goes on when I turn on the ethernet on the SM3000S but the static IP I have set does not show on my router and I cant access it via the powertalk software. 🙁

]]>
Comment on SolarMax MaxTalk protocol reverse engineered by Niobos /2009/04/15/solarmax-maxtalk-protocol-reverse-engineered/comment-page-2#comment-261411 Fri, 29 Sep 2017 10:42:05 +0000 http://blog.dest-unreach.be/?p=1023#comment-261411 To accept either between 3 and 4 characters, you need to change it to \w{3,4}

]]>
Comment on SolarMax MaxTalk protocol reverse engineered by JeroenS /2009/04/15/solarmax-maxtalk-protocol-reverse-engineered/comment-page-2#comment-261410 Fri, 29 Sep 2017 09:39:06 +0000 http://blog.dest-unreach.be/?p=1023#comment-261410 In reply to StevenMa questions about the script failing for the MT series converters. I have found the issue but I am not a coder and would appreciate if somebody can help me with the following.
Is seems the MT series does not know the UDC command but instead has the UD01 and UD02 commands.
However, this peace of code:

die(“invalid response”) unless $V_MSG =~ m/^\|64:(\w{3})=([0-9A-F]+)\|([0-9A-F]{4})}$/;
# TODO: check checksum
die(“wrong response”) unless $1 eq $P_COMMAND->{‘name’};

Checks the length of the returned values and expect a 3 letter code to identify the returned value. But, we are getting back a 4 letter identification code. I can change the w{3} to w{4} but than it fails for all the other queries.
Here is a query and response from the converter getting CUD02 from one of them (I have two):

Query: {FB;D6;27|64:UD02;UGD;UI1;UI2;UI3|08B4}
Response: {D6;FB;3C|64:UD02=1251;UGD=D28;UI1=F45;UI2=F45;UI3=F4E|0D86}

How can I change the piece of code to also accept both 3 and 4 letter commands?

Thanks in advance.

]]>
Comment on Reverse engineering the Elco heating protocol by xAPPO /2012/12/14/reverse-engineering-the-elco-heating-protocol/comment-page-1#comment-261407 Mon, 03 Apr 2017 12:56:01 +0000 http://blog.dest-unreach.be/?p=2390#comment-261407 @Pasi Google has been my friend for those two English docs… now reading.. thanks

]]>