Gnokii
Inhaltsverzeichnis |
mein händy
ich hab ein nokia 6310i und ein serielles datenkabel DLR-3P von nokia.
um serial zu testen
benutze statserial
unter debian:
# apt-get install statserial
# statserial /dev/ttyS0
output
Device: /dev/ttyS0 Signal Pin Pin Direction Status Full Name (25) (9) (computer) Name ----- --- --- --------- ------ ----- FG 1 - - - Frame Ground TxD 2 3 out - Transmit Data RxD 3 2 in - Receive Data RTS 4 7 out 1 Request To Send CTS 5 8 in 1 Clear To Send DSR 6 6 in 0 Data Set Ready GND 7 5 - - Signal Ground DCD 8 1 in 0 Data Carrier Detect DTR 20 4 out 1 Data Terminal Ready RI 22 9 in 0 Ring Indicator
config file
liegt unter /etc/gnokiirc oder $HOME/
configuration als model=AT
mein 6310i ist ist mit dem datenkabel DLR-3P AT command kompatibel. als model kann statt 6310i auch einfach AT angegeben werden. also
model = AT
weiter unten:
connection = serial
quelle:
test
# gnokii --monitor
oder:
# gnokii --identify
output, als model wird Nokia 6310i angegeben
GNOKII Version 0.6.4 IMEI : 351109205148343 Manufacturer : Nokia Model : Nokia 6310i Revision : V 5.10
für mehr info setze debug von off auf on im config file:
debug = on
configuration als model=6310i
mit den AT commands kann man bei meinem telefon nur einen teil der sms runterladen und wahrscheinlich ist die funktionalität auch sonst eingeschränkt. darum, wenn man ein datenkabel DLR-3P hat, konfiguration wie folgt:
model = 6310i
weiter unten:
es geht zwar über serial, aber hier muss das kabel angegeben werden, wie im configuration file steht.
# The type of the connection, for IR set this to infrared or irda. # For the nk6110 driver only infrared is valid for the IrDA connection. # See Docs/gnokii-ir-howto for more detailes on this. # If you have 6210/6250/7110 phone and dau9p cable (the one you can # use with 6100 series and cannot use hardware modem from the phone) # you may want to use 'dau9p' value to get faster initialization. # If you use dlr3 or dlr3p cable for nokia phones in FBUS mode (ie. # you don't use model = AT) you may want to use 'dlr3p' value here. # Note that it is recommended and currently the best way to use this # cable with nk6510 driver. connection = dlr3p
quelle:
test
# gnokii --monitor
oder:
# gnokii --identify
output, als model wird jetzt NPL-1 angegeben:
GNOKII Version 0.6.4 IMEI : 351109205148343 Manufacturer : Nokia Model : NPL-1 Revision : V 5.10
für mehr info setze debug von off auf on im config file:
debug = on
sms abspeichern
model=AT
SM ist von SiM-Card ME ist von Händy-MEmory
ein sms, eine datei
# gnokii --getsms SM 1 20 -f sms.txt
infos über nummer werden zu stdout geschrieben und nicht in die datei. es wird nur die nachricht abgespeichert, aber nicht die nummer und das datum.
mit mehr infos, wie datum
# gnokii --getsms SM 1 20 > alle.txt
model=6310i
aus man gnokii
The exception are the phones supported by nk7110 (Nokia 7110/6210/6250) and nk6510 (Nokia 6310/6510/8310) drivers. For these you should use IN for the Inbox, OU for the Outbox, AR for the Archive, TE for the Templates and F1, F2, ... for your own folders
IN ist von Inbox
OU ist für Outbox
AR ist von Archive
ein sms, eine datei
# gnokii --getsms IN 1 20
sms schicken
-r = sms bestätigen!!
# echo "das ist ein sms von gnokii, es tut doch! oderrrr" | gnokii --sendsms 076777777 -r
und es funktoniert!!
anderes
phonebook lesen
tut aber nicht so gut, spuckt nicht alle nummern aus, nur 10, die andern sind leer
# gnokii --getphonebook SM 1 end --raw
wählt eine nummer
# gnokii --dialvoice 0430434343
xgnokii
benutze xgnokii um sms zu schreiben, daten zu sichern, usw
links
offcial hompage:
news:
debian pakate:
mailingliste:
perl module: