Blog

Retrieving recorded measures over the Internet

By seb, in Programming, march 04,2016.

There is a data logger in almost all of our sensors. This data logger can automatically record values measured by the sensor. The advantage is that it continues to record data even network connectivity is lost or when the application stops. When the application takes control again, it is possible to get back the measures performed during the interval. But up till now, it was unfortunately impossible to retrieve data logger measure using the HTTP callback mode. Thanks to the new WebSocket callback mode, you can now use the data logger over an Internet link without limits. This week, we are writing a Java web application which illustrates this feature.

No comment yetRead more...

Yoctopuce modules: inventory and tree structure

By martinm, in Programming, january 17,2016.

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 yetRead more...

The WebSocket callbacks in Java

By seb, in Programming and New stuff, january 01,2016.

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 yetRead more...

Remote device control using WebSocket callbacks

By mvuilleu, in New stuff and Programming, december 26,2015.

websocket_iconUntil 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 yetRead more...

Experimenting with EcmaScript 2015

By mvuilleu, in Programming and New stuff, december 18,2015.

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 yetRead more...

1 ... 10 ... 20 21 22 23 24 25 26 27 28 29 30 ... 37

Yoctopuce, get your stuff connected.