In previous implementation, if alias wanted to be used, it had to be passed twice.
https://jira.digi.com/browse/DEL-6425
Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
Use the same prompts that we use in the online documentation:
* For the target: "~#"
* For the host: "~$"
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
This commit:
* adds the name of the connector in the readme files
* uses the official platform names
* minor changes for consistency between readme files
Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
'adc_sampling_cb_data' struct is a local variable of the 'main' function.
Sometimes, the ADC callback accesses to it once the main function has exited
(when it is out of scope), causing a segmentation fault.
To solve this issue, adc_sampling_cb_data' struct is now a global variable.
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
We need to reduce the optimization level in order to be able to
perform a debugging of the applications, without this there is
an strange behaviour while debugging.
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This example takes periodic samples using a thread and
calculate the rms value and the mean value of the samples
taken.
https://jira.digi.com/browse/DEL-4889
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>