Getting Started with Barionet Programming

Why program the Barionet ?

The Barionet product family is a versatile range of IO devices which can be programmed locally to fullfill simple to complex talks. It serves as an ideal IoT controller with intelligence and connectivity

Flexa

The Barix Flexa Environment takes the load of managing code and distribution of the code from you. You or your customer simply need to register devices with a unique registration key and the devices will automatically fetch their assigned application, configuration and start operating.

Best supported Language

Lua

Programming is generally done in Lua on the Barionet. Why Lua ? Lua is easy to learn, very powerful, lightweight and ideal for efficient programming of the Barionet device. All our examples will use lua.

Less supported Languages

If you want to program the Barionet in other languages than Lua, this is perfectly possible but we will only provide limited support to the effort as we have picked Lua as the main, offically supported programming environment.

Python

OpenWRT (the operating system running on the Barionet) fully supports python, there are all necessary support packages and the interpreter available for both version 2.7 and 3. Using the package manager (opkg) you can install whatever you deem necessary. Note, however, that the Barionet memory is quite limited.

C

C programming is possible and efficient. The compiler can not really run on the Barionet, you probably will need to set up a development server for cross compilation. Big project ? We will support you.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard