I am trying to invoke the shell script into one of the my legato application which includes i2ctools commands i.e i2cget and i2cset .
if i run the script independently on the board it is working fine and giving the results but i am unable to invoke and execute same script into my legato application. It gives an error stating that i2cget not found . Kindly let me know the necessary steps to be taken care in order to make this work.
please find the attached script which is being used for the application.