/usr/share/anyremote/cfg-data/AT-mode/example-sagem.cfg is in anyremote-data 6.3.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | %
% anyremote configuration file
% This file was not tested on Sagem phones. Alfa version. Send Your feedbacks.
%
% STATUS stable
% XTEST no
% SOUND no
% ENV no
GuiAppName=Sagem test
GuiAppType=Example
GuiAppBinary=true
GuiAppProtocols=AT
GuiAppDesc=Simple example of configuration file. Tuned for Sagem phones.
[Protocol]=AT
% Green button
83=Make(disconnect);
% Red button
69=Make(exit);
(Init)=\
Include($(CfgDir)/Utils/aliases-at.cfg);\
Make(var,TwoWayComm,by_value,false);\
Macro(CHECK_RFCOMM_DEVICE);
InCall($$)=\
Exec($(CfgDir)/Utils/message.sh "A call from $(Param)");\
Make(remote,off)
EndCall($$)=\
Make(remote,on);\
Exec($(CfgDir)/Utils/message.sh "Call finished")
42 42=Exec(F="$(TmpDir)/anyrem.hlp";echo "Just press buttons and inspect results" > $F);\
Macro(SHOW_HELP);
* *=Exec(F="$(TmpDir)/anyrem.hlp";echo "Seems Your phone is not Sagem. Use example-kdialog.cfg instead !" > $F);\
Macro(SHOW_HELP);
% Keys 1-9,*,#
48=Exec($(CfgDir)/Utils/message.sh 0)
49=Exec($(CfgDir)/Utils/message.sh 1)
50=Exec($(CfgDir)/Utils/message.sh 2)
51=Exec($(CfgDir)/Utils/message.sh 3)
52=Exec($(CfgDir)/Utils/message.sh 4)
53=Exec($(CfgDir)/Utils/message.sh 5)
54=Exec($(CfgDir)/Utils/message.sh 6)
55=Exec($(CfgDir)/Utils/message.sh 7)
56=Exec($(CfgDir)/Utils/message.sh 8)
57=Exec($(CfgDir)/Utils/message.sh 9)
%42=Exec($(CfgDir)/Utils/message.sh Star)
35=Exec($(CfgDir)/Utils/message.sh Hash)
85=Exec($(CfgDir)/Utils/message.sh Vol_Up)
68=Exec($(CfgDir)/Utils/message.sh Vol_Down)
EMPTY=Exec($(CfgDir)/Utils/message.sh Play)
91=Exec($(CfgDir)/Utils/message.sh Mail)
32=Exec($(CfgDir)/Utils/message.sh IMode)
67=Exec($(CfgDir)/Utils/message.sh Left)
77=Exec($(CfgDir)/Utils/message.sh Right)
94=Exec($(CfgDir)/Utils/message.sh Up)
86=Exec($(CfgDir)/Utils/message.sh Down)
[End]
|