I am trying to talk to the modem embedded within a module through adb
shell but since I'm accessing the HW remotely, i'm not sure of the original setup and may need some help clarifying:
adb
shell runs in linux and following is how I was able to run the command:
cat /dev/smd0 &
echo -e "AT\r" > /dev/smd0
- what's the main point behind the first line with
&
? Doesn't that run things in the background? How does removing it not output the result to the terminal? - the interpretation of the second line: writes/sends the string to the application processor from the linux host over
smd0
AT port. Is that legit?