Hi Ryan,
Hello,
I was wanting to extend the syntax of the modem.conf file. It is extra
work to maintain a different plugin file for each generic AT modem with
a different speed, serial settings.
I agree that this would be useful.
I'm not sure on the best syntax for this. Maybe below could be a
solution.
[generic]
Driver=atgen
Device=/dev/ttyS0
DeviceOpts=baud=115200:read=on:local:on
I prefer something like:
[generic]
Driver=atgen
Device=/dev/ttyS0
Baud=115200
Read=on
Local=on
We can even capitalize the values in gattty if it makes things easier.
Also, shouldn't the "Driver" keyword in the file be
named "Plugin"
instead? It may give a better indication where to read in the source.
Everything is a driver, in this case we mean the modem driver. These are also
generally always plugins of the same name which leads to confusion.
Regards,
-Denis