solettaproject / soletta

Soletta Project is a framework for making IoT devices. With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.
http://solettaproject.org
Apache License 2.0
225 stars 108 forks source link

iio: Support wildcard in IIO path input #2353

Closed ceolin closed 7 years ago

ceolin commented 8 years ago

It allows using wildcard characters to select an IIO path. It's important to know that only the first result is used.

It internally uses glob().

Signed-off-by: Flavio Ceolin flavio.ceolin@intel.com

ceolin commented 8 years ago

@fulong82 is it that you have in mind on https://github.com/solettaproject/soletta/issues/2154 ?

I've scratched it but I was not able to test yet. I'm creating this pullreq to see whether I understood correctly or not .

fulong82 commented 7 years ago

@ceolin,

Yes. So base on your pull request implementation, you are taking the 1st matching entry to proceed. Thanks.

fulong82 commented 7 years ago

@ceolin

Okay, tested your patch. It is working. Thx. 👍

ceolin commented 7 years ago

@fulong82 thanks for testing. Is it address the issue https://github.com/solettaproject/soletta/issues/2154 ?

fulong82 commented 7 years ago

@ceolin Yes and Thanks.