The Yoctopuce API was designed to easily drive any Yoctopuce module with a minimum of code. It's therefore very easy to make an inventory of all the modules directly connected by USB to a machine. However, up till now, it was rather difficult, not to say impossible, to rebuild the exact tree structure of a system based on Yoctopuce modules, in particular for modules connected via the network. The latest version of the API now allows you to do this thanks to three new functions.
No comment yet | Read more... |
Last week we published a preview of our Java and Javascript library with WebSocket support. This week we have updated our RSS feed reader example in Java, which was using the classical HTTP Callback. We have now made it interactive with the help of WebSockets.
No comment yet | Read more... |
Until now, there were two different ways of accessing Yoctopuce devices over the network: either by direct connection over a local network, or using the special HTTP callback mode which makes it possible to drive a Yoctopuce module sitting on a remote network behind a NAT filter. The HTTP callback method however had some limitations. Today, we are introducing a new connection method, named WebSocket callback, that brings all direct connection features to the callback scheme.
No comment yet | Read more... |
JavaScript comes back from far away. Originally, it was only a source of incompatibilities and a nightmare for web designers. Having to code a version for IE and one for Netscape on the same web site was commonplace. Fortunately, the JavaScript language has evolved amazingly to become the ubiquitous companion of HTML5 on almost all internet sites on the planet. With the latest version of the language, adopted as a new standard this past Summer, new possibilities came into being. They deserve to be known and exploited.
No comment yet | Read more... |
Yoctopuce support quite often receives calls for help from customers somewhat lost when they discover this error message: "Another process is already using yAPI". This issue is discussed in the documentation of Yoctopuce products but, this week, we are going to take the time to understand where this error message is coming from and how to avoid it.
No comment yet | Read more... |