Portál AbcLinuxu, 30. dubna 2025 12:39
echo "Toto je zpravicka pro tebe ..." | gnokii --sendsms +420609111111Na Nokii 6230i mi to funguje naprosto v pohode.
GNOKII Version 0.6.18 LOG: debug mask is 0x1 Config read from file /etc/gnokiirc. phone instance config: model: 6510 port_device: /dev/ttyS0 connection_type: 0 init_length: 0 serial_baudrate: 19200 serial_write_usleep: -1 hardware_handshake: 0 require_dcd: 0 smsc_timeout: 100 connect_script: disconnect_script: rfcomm_cn: 1 sm_retry: off Connecting Serial device: opening device /dev/ttyS0 Serial device: setting speed to 115200 Serial device: setting RTS to low and DTR to low Getting model... Message sent: 0x1b / 0x0006 00 01 00 07 01 00 | SM_Block: exiting the retry loop Message sent: 0x1b / 0x0006 00 01 00 07 01 00 | SM_Block: exiting the retry loop Message sent: 0x1b / 0x0006 00 01 00 07 01 00 | SM_Block: exiting the retry loop Serial device: closing device Serial device: opening device /dev/ttyS0 Serial device: setting speed to 115200 Serial device: setting RTS to low and DTR to high Serial device: opening device /dev/ttyS0 Serial device: setting RTS to low and DTR to low Serial device: setting RTS to high and DTR to high Serial device: setting speed to 19200 Switching to FBUS mode Serial device: setting speed to 115200 Telephone interface init failed: Problem occurred internal to model specific code. Quitting. Problem occurred internal to model specific code.
scmxx --device=/dev/rfcomm0 --send --sms --direct --number=<číslo> --text="<text>"
To device je pre bluetooth.
A kedysi fungovalo cez net
wget -O /dev/null "http://gosms.cz/send.php?krok=odeslat&bez_fronty=1&cislo=000000000&text="Nejaky+text"
Možno to ešte ide.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.