Re: [riot-devel] alternative socket-api

2016-10-11 Thread Kaspar Schleiser
Hi, On 10/07/2016 03:49 PM, Alexander Aring wrote: > came across [0] today and remembers me that RIOT also plans some simple > "conn" API for a bsd socket alternative. Interesting concept. Unfortunately it relies on in-stack dynamic resource management (e.g., "tcp_connect()" returns an integer a

[riot-devel] I2C driver function to read a register with 16 bits address

2016-10-11 Thread Kees Bakker
Hi, The SHT2x I2C device has a register with a 16 bits address. If I'm correct we don't have a function in the I2C driver to do that. Right? Assuming we need to extend the driver API, what would be a good name for such a function? All I can come up with is i2c_read_regs2: /** * @brief Read

Re: [riot-devel] Soil Moisture Sensor

2016-10-11 Thread Akshay Mishra
Start with measuring the voltage value? Try giving some different analog input less than 3.3V On Tuesday, 11 October 2016, ALESSANDRO NICOLI < alessandro.nic...@studenti.unipr.it> wrote: > Hi all, > I'm trying to use a Soil moisture sensor with a Samr21-xpro and RIOT os. > The sensor used is as

Re: [riot-devel] Soil Moisture Sensor

2016-10-11 Thread Peter Kietzmann
Hi Alessandro, what are the default values for ADC_0 on the samr21-xpro board and which driver did you use? Best Peter Am 11.10.2016 um 16:32 schrieb ALESSANDRO NICOLI: > Hi all, > I'm trying to use a Soil moisture sensor with a Samr21-xpro and RIOT os. > The sensor used is as follows : > > htt

[riot-devel] Soil Moisture Sensor

2016-10-11 Thread ALESSANDRO NICOLI
Hi all, I'm trying to use a Soil moisture sensor with a Samr21-xpro and RIOT os. The sensor used is as follows : https://www.seeedstudio.com/Grove-Moisture-Sensor-p-955.html I have *4 soil jars (with different moisture concentrations)* that i'm gonna use for testing, i've already tried to get m