From 9e40ae11d6b7584a2882f6a9177862156cc2e97c Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Sat, 20 Feb 2021 20:12:21 +0100 Subject: [PATCH] data: add AT command reporting firmware version Fixes #7 --- data/pine64,pinephone-1.0.toml | 1 + data/pine64,pinephone-1.1.toml | 1 + data/pine64,pinephone-1.2.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/data/pine64,pinephone-1.0.toml b/data/pine64,pinephone-1.0.toml index 6509057..c0e9192 100644 --- a/data/pine64,pinephone-1.0.toml +++ b/data/pine64,pinephone-1.0.toml @@ -31,6 +31,7 @@ configure = [ # match, the command is then executed with value `expect` in # order to set the parameter to the configured value (optional) # A command can have `expect` OR `value` configured, but it shouldn't have both + { cmd = "QGMR" }, { cmd = "QDAI", expect = "1,1,0,1,0,0,1,1" }, { cmd = "QCFG", subcmd = "risignaltype", expect = "\"physical\"" }, { cmd = "QCFG", subcmd = "ims", expect = "1" }, diff --git a/data/pine64,pinephone-1.1.toml b/data/pine64,pinephone-1.1.toml index 6509057..c0e9192 100644 --- a/data/pine64,pinephone-1.1.toml +++ b/data/pine64,pinephone-1.1.toml @@ -31,6 +31,7 @@ configure = [ # match, the command is then executed with value `expect` in # order to set the parameter to the configured value (optional) # A command can have `expect` OR `value` configured, but it shouldn't have both + { cmd = "QGMR" }, { cmd = "QDAI", expect = "1,1,0,1,0,0,1,1" }, { cmd = "QCFG", subcmd = "risignaltype", expect = "\"physical\"" }, { cmd = "QCFG", subcmd = "ims", expect = "1" }, diff --git a/data/pine64,pinephone-1.2.toml b/data/pine64,pinephone-1.2.toml index 1d33fc0..566ac80 100644 --- a/data/pine64,pinephone-1.2.toml +++ b/data/pine64,pinephone-1.2.toml @@ -27,6 +27,7 @@ configure = [ # match, the command is then executed with value `expect` in # order to set the parameter to the configured value (optional) # A command can have `expect` OR `value` configured, but it shouldn't have both + { cmd = "QGMR" }, { cmd = "QDAI", expect = "1,1,0,1,0,0,1,1" }, { cmd = "QCFG", subcmd = "risignaltype", expect = "\"physical\"" }, { cmd = "QCFG", subcmd = "ims", expect = "1" },