Categories
General

End of life

This blog has reached its end of life. I will instead post updates on VSCP matters in the VSCP discussion area from now on. See you there.

Categories
General

Future

Just turned 70 early this month. How did that happen? I dont know. But I am still kicking. Oh well, slightly… But think more and more about the future. I will not be around for ever, but will VSCP? Don’t know how to solve that. Trying to figure that out, if it is worth the effort or not to find a solution. Thoughts on this are welcome.

Still working all day with VSCP. Still a lot to do. Or “still a lot I would like to do” is more correct. Claude and Copilot have lately come to my help. Great friends, work hard if I just ask them. No need even to ask politely. Speed a lot of things up, and I think Claude writes better code than most of us do nowadays.

Well, AI usage cost a lot of money. Fight with that every day now. Spend way to much on it. I guess that the limiting factor for most open source projects when you accept this to be a valuable tool just as a wrench is in other areas.

Want to share some things that have happend latley

  • The binary mode now also use HMAC for security. MQTT, USP, Multicast and tcp/ip support it.
  • VSCP Works support raw MQTT and raw socketcan.
  • VSCP Works can visualize measurement values.
  • Filters work in VSCP works.
  • A lot of security, memory and bug fixes all over the place. Claude has been a great help here.
  • Drivers that use mongoose will change license to GPLv2
  • A ton of other changes.

Well, thats it for today. Have fun!

Categories
General

Breaking change!!!

The latest release of the vscp-firmware repository has a breaking change that will reflect a lot of software/firmware depending on it. In this release the “common” folder has changed name to “src” to be consistent with the rest of the repositories.

Also the version format is now year.month.patch. This will also be used everywhere except for vscp-helper-lib and other libs where a change in the major-version means a breaking change, a change in the minor-version additions and bug fixes and version-patch is updated for every update.

Categories
Development VSCP

Releases

VSCP. So many repositories. So many releases. Now in the VSCP wiki I will keep a list of all releases here

Categories
VSCP

Good days

After a few fantastic days at the keyboard (you know how it is when everything just flows), I’m sitting here grinning. Satisfied, really.

  • TLS is implemented on the VSCP link server (vscp-tcpip-daemon) and in the client code. The VSCP helper library will get these changes once I’ve had a chance to test a bit more.
  • The binary protocol that has been running over UDP/multicast and elsewhere now also runs over TCP/IP. It’s included in the server code and the client code, including the helper code for firmware. For security, there’s AES-128/192/256 encryption, and if you’re VERY paranoid you can add HMAC-SHA256. And if it’s really, really, REALLY bad, to the point where you should probably be partying with your psychiatrist, you can run TLS on top of all of this. But if you feel that need, you probably need help. Quickly!
  • A new command, measurement, has been added to the VSCP link protocol. It makes it very easy to create measurement events from data without having to pack the information in event form. Intended for low-end devices, of course.

The new daemon/server (vscp-tcpip-daemon) for the VSCP Link protocol, which will live alongside vscp-mqtt-daemon, runs on Linux, Windows and macOS just like its cousin. It’s essentially the old VSCP daemon/server in a more stripped-down form. If and when time allows, all the functions of the old one will return in the form of drivers. Much of it is already there, but some of that code is pretty shaky and needs a review.

If this were a team, this would be the kind of moment where you’d head into town to celebrate. Grinning together is always better than celebrating alone on your hill. But here I am, on my own. I did get a few cookies with my coffee, though. And if you like cookies, as I do, that’s not so bad either.

A note: your message contained the whole text twice, so I translated it once. Also, “kubb” is left as is, since I’m not certain which sense you mean (it’s also the name of the Swedish lawn game). If you meant a sweet or treat, “a few pieces” would work.

Categories
Programming

Not my problem…

When you start the game of being a programmer it is common to point fingers on others when something goes wrong. When you been in the game for some time you end up in the other end always thinking the problem is on your side.

So I have looked into this problem of mine for almost a week now. Harden code and tested, tested, tested. The problems is intermittent so it takes a very long time to debug.

So

kernel: ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback – urb stopped: -32

is spotted in the logs. The problem sits in the USB <-> serial adapter.

Well well… Found it eventually. NOT my fault. Possibly somewhat responsible for having bought cheap USB<->serial adapters from China, though. This is when you wish you worked at a bigger company so you could point the finger at someone else…. 🙂 But when it’s just you, you obviously can’t do that. You’re stuck standing there. Gotta fix it yourself.

Swapping the adapter is of course the obvious solution. But it would be even nicer if you could detect this in the driver and account for it. I’ll probably start down that road.

We’ll see how it goes.

Categories
Programming

Not for serveradmins

Still searching for the problem with the serial data from the measurement system

No server admin would be happy about something like this. But here, I’m the one who decides, and I like it. Or, if truth be told, maybe I don’t like it that much either, but if I eventually get some kind of clue from this, I might even end up loving it.

For anyone curious, it’s (among other things) the value below that flies by

  • A anemometer that goes to a counter on a microprocessor ->
  • a VSCP event is sent over CAN –>
  • The message is received by a microprocessor and converted into a serial protocol –>
  • The serial protocol is parsed (what we see here) and converted into a VSCP event. –>
  • The VSCP event is sent to a server over tcp/ip –>
  • node-red reads it from the server over tcp/ip –>
  • Code calculates the wind speed –>
  • Presents and stores it

The art of making the simple complicated, basically. That’s kind of my job, in a way. You have to imagine that counter is sitting in an industrial environment on the other side of the globe. If you want to try to understand why everything has to be so damn complicated, you just have to stick your head in a bucket and go “hmmmm… and wonder about it all“

Categories
General

26

Well, 26 years today, counting from when the project was uploaded to Sourceforge as ‘EDA-Simple Service Gateway.‘ Doesn’t mean anything, of course. One more year in the service of the sand art [i.e., in the spirit of Buddhist sand mandalas — impermanent by nature]. Pretty happy with that!

Categories
General

AI or !AI

Had the exact same thought earlier today. Where does the fun (and the driving force within) go?

Categories
General

VSCP the movie