Categories
VSCP

node-vscp (1.0.16)

A new version of the package node-vscp (1.0.16) was published at 2020-02-11T16:42:32.073Z from
87.249.187.214. The shasum of this package was c4f34e541bcfcebdaf035a735e176985ed72b7d5.
Categories
VSCP

node-vscp (1.0.15)

A new version of the package node-vscp (1.0.15) was published at 2020-02-11T16:14:33.908Z from
87.249.187.214. The shasum of this package was d0f480f5b72bec6f20b94a14359f7243b6e87662.
Categories
VSCP

node-vscp (1.0.14)

A new version of the package node-vscp (1.0.14) was published at 2020-02-11T15:19:43.097Z from
87.249.187.214. The shasum of this package was f5ac0f87bf0f7844d47abd274ac71c523d57ae1c.
Categories
VSCP

node-vscp (1.0.13)

A new version of the package node-vscp (1.0.13) was published at 2020-02-11T14:37:12.767Z from
87.249.187.214. The shasum of this package was 62eb7d3e752576d8335dfd201b275a47524a55af.
Categories
VSCP

node-vscp (1.0.12)

A new version of the package node-vscp (1.0.12) was published at 2020-02-11T13:53:10.719Z from
87.249.187.214. The shasum of this package was 8bd859405c9a27145158bf237800882f17f044ca.
Categories
VSCP

#VSCP wiki

I have closed down the VSCP wiki because we have had unwanted visitors on it several times during the last year and it’s to hard to keep up with that junk. Will do a new try later when time permits.

/Ake

Categories
VSCP

Fresh data for free

VSCP events are probably the most important part of VSCP. They make it possible for different type of hardware and different types of systems to talk to each other and they also makes it possible to write one application to solve many problems in one shot. A typical examples is a logger for measurement data or a presentation system for the same. They abstract things that happens in the world and they abstract how we can interact with the world.

Everyone that knows a bit about VSCP use the specification to search for events or to read more about them. But what everyone is not aware of is that they are also available here in a multiple of formats that are suited for a machines, always up to date. Just check the version.json file to see if the docs you have downloaded is the latest. Otherwise fetch the updated version.

In the docs folder you even find the full documentation for all VSCP events in markdown format. You can do your own documentation from it if you want.

And best of all. Maybe. Is that is all is free. Just as everything else is with VSCP & Friends.

And of course. If you are missing an event, tell us, and we will add it if it’s not there already.

Categories
Development General VSCP

Change of #VSCP package header definition

The VSCP package header is a 16-bit code that give some information about a VSCP event. A change has been made to this header that is not binary backward compatible. Software relying on it must therefore be recompiled to be compatible with other software for the upcoming version 14.0 of VSCP & Friends.

The first change is that the dumb-node bit has been moved from bit 14 to bit 15. This bit is used to indicate that an event originate from a node that does not have a MDF, no registers, noting else than that it can send VSCP events and maybe receive VSCP events. Ignorant of any other rules. Applications that used the VSCP_HEADER16_DUMB define will handle this perfectly if recompiled.

The second change is the bit that tells that the GUID is an IPv6 address. This bit was previously in bit 15 but is now in bit 12. Furthermore a field of three bits (14/13/12) has been allocated for GUID types. Applications that want to be compatible with the upcoming 14.0 release must take care of this.

Two new GUID types are also introduced. RFC-4122 V1 and RFC-4122 V4. You can read more about the difference between them here. This make sit easier to take advantage of UUID generating tools like this one.

So the complete header is now defined as

/*
            Bit 15 - This is a dumb node. No MDF, register, nothing.
            Bit 14 - GUID type 
            Bit 13 - GUID type
            Bit 12 - GUID type (GUID is IP v.6 address.)
            Bit 8-11 = Reserved
            Bit 765 =  priority, Priority 0-7 where 0 is highest.
            Bit 4 = hard coded, true for a hard coded device.
            Bit 3 = Don't calculate CRC, false for CRC usage.
                  Just checked when CRC is used.
                  If set the CRC should be set to 0xAA55 for
                  the event to be accepted without a CRC check.
            Bit 2 = Rolling index.
            Bit 1 = Rolling index.
            Bit 0 = Rolling index.
 */

New and old/changed defines are

#define VSCP_HEADER16_IPV6_GUID 0x1000 /* GUID is IPv6 address */
#define VSCP_HEADER16_DUMB 0x8000      /* This node is dumb */

/* Bits 14/13/12 for GUID type */
#define VSCP_HEADER16_GUID_TYPE_STANDARD  0x0000 /* VSCP standard GUID */
#define VSCP_HEADER16_GUID_TYPE_IPV6  0x1000     /* GUID is IPv6 address */
/* https://www.sohamkamani.com/blog/2016/10/05/uuid1-vs-uuid4/ */
#define VSCP_HEADER16_GUID_TYPE_RFC4122V1  0x2000 /* GUID is RFC 4122 Version 1 */
#define VSCP_HEADER16_GUID_TYPE_RFC4122V4  0x3000 /* GUID is RFC 4122 Version 4 */

Categories
Development General VSCP

New #VSCP documentation site

The VSCP project will move away from Gitbook (with all it’s problem and slow/no support) in favor of Docsify deployed on one of our own servers. This will make it easier to add versioned documentation, among many other things.

At the moment only the VSCP spec. is available but other documentation will follow.

The VSCP documentation site is located at http://docs.vscp.org

Categories
Drivers General VSCP

The new #VSCP #MQTT driver

The MQTT driver is next i line in the major rewrite of the VSCP software that is going on. Currently MQTT publishing works. As before the “simple” method is available so that one can publish the value for an event on a MQTT topic. But now it is also possible to publish VSCP events on string form, XML form and JSON form. The same functions will work for subscribing. It is therefore very easy to interface for example node-red and others. But for node-red more support functionality will come.

Also new in the next release is that Level II drivers use a totally new interface. You may now also (re)configure them on the fly if you need and enable that functionality.

But still some code to go through before the 12.0.0 release.