Unable to get a usable connection to send and receive SMS with a wwan device
"Kamal Gendi" <[email protected]> Sun, 12 Apr 2020 01:32:27 +1000
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <SY2PR01MB24258DDFFE44247419A1521CC5DF0@SY2PR01MB2425.ausprd01.prod.outlook.com> |
--===============0362786172926547613==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0003_01D6106A.47A93E60"
Content-Language: en-au
------=_NextPart_000_0003_01D6106A.47A93E60
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I have been trying to SMS with my Raspberry Pi using a Vodafone (Huawei)
K4606 USB stick with a vendor ID of 12D1 and a product ID of 1F19. It works
fine, using the provided Vodafone software, on a Windows box.
I found so many Raspberry Pi tutorials on the subject and all of them used a
USB stick that creates one or more ttyUSB devices (with or without
usb_modeswitch) that allows a user to issue AT commands, either directly
with the CLI on a terminal screen or a shell script, or through the use of a
utility such as Gammu. None of the resources I found talked about using wwan
to send and receive SMS, which is what my K4606 stick creates.
I am not interested in making phone calls, finding my GPS coordinates,
surfing the web or anything else at present. Only the sending and receiving
of text messages.
I did set the Port to(0x12d1:0x1f19) with every possible connection
available and also changed the port to (wwan0), again with every possible
connection available in gammu-config screen, rebooting and testing every
time, but never got anywhere.
I am trying to test it with a very simple:
echo "Hello World!" | sudo gammu --sendsms TEXT +61435055555
Depending on the Gammu connection selected, the errors returned are either:
Error opening device, it doesn't exist.
Unknown connection type string. Check config file.
Error opening device. Some hardware not connected/wrongly configured.
Bluetooth configuration requires channel option.
Desired functionality has been disabled on compile time.
Error opening device. Unknown, busy or no permissions.
I just do not know where to go from here and am hoping that someone may be
able to give me some guidance.
------=_NextPart_000_0003_01D6106A.47A93E60
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
><meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"><=
style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.codetext
{mso-style-name:codetext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3D"EN-AU" link=3D"#0563=
C1" vlink=3D"#954F72"><div class=3D"WordSection1"><p class=3D"MsoNormal" st=
yle=3D"margin-top:6.0pt;text-align:justify">I have been trying to SMS with =
my Raspberry Pi using a Vodafone (Huawei) K4606 USB stick with a vendor ID =
of 12D1 and a product ID of 1F19. It works fine, using the provided Vodafon=
e software, on a Windows box.<o:p></o:p></p><p class=3D"MsoNormal" style=3D=
"margin-top:6.0pt;text-align:justify">I found so many Raspberry Pi tutorial=
s on the subject and all of them used a USB stick that creates one or more =
ttyUSB devices (with or without usb_modeswitch) that allows a user to issue=
AT commands, either directly with the CLI on a terminal screen or a shell =
script, or through the use of a utility such as Gammu. None of the resource=
s I found talked about using wwan to send and receive SMS, which is what my=
K4606 stick creates.<o:p></o:p></p><p class=3D"MsoNormal" style=3D"margin-=
top:6.0pt;text-align:justify">I am not interested in making phone calls, fi=
nding my GPS coordinates, surfing the web or anything else at present. Only=
the sending and receiving of text messages.<o:p></o:p></p><p class=3D"MsoN=
ormal" style=3D"margin-top:6.0pt;text-align:justify">I did set the Port to(=
0x12d1:0x1f19) with every possible connection available and also changed th=
e port to (wwan0), again with every possible connection available in gammu-=
config screen, rebooting and testing every time, but never got anywhere.<o:=
p></o:p></p><p class=3D"MsoNormal" style=3D"margin-top:6.0pt;text-align:jus=
tify">I am trying to test it with a very simple:<o:p></o:p></p><p class=3D"=
MsoNormal" style=3D"margin-top:6.0pt;text-align:justify">echo "Hello W=
orld!" | sudo gammu --sendsms TEXT <span class=3D"codetext">+61435=
055555</span><o:p></o:p></p><p class=3D"MsoNormal" style=3D"margin-top:6.0p=
t;text-align:justify">Depending on the Gammu connection selected, the error=
s returned are either:<o:p></o:p></p><p class=3D"MsoNormal" style=3D"margin=
-left:11.35pt;text-align:justify"><span style=3D"font-size:10.0pt;font-fami=
ly:"Courier New"">Error opening device, it doesn’t exist.<o=
:p></o:p></span></p><p class=3D"MsoNormal" style=3D"margin-left:11.35pt;tex=
t-align:justify"><span style=3D"font-size:10.0pt;font-family:"Courier =
New"">Unknown connection type string. Check config file.<o:p></o:p></s=
pan></p><p class=3D"MsoNormal" style=3D"margin-left:11.35pt;text-align:just=
ify"><span style=3D"font-size:10.0pt;font-family:"Courier New"">E=
rror opening device. Some hardware not connected/wrongly configured.</span>=
<span style=3D"font-size:10.0pt;font-family:"Courier New""><o:p><=
/o:p></span></p><p class=3D"MsoNormal" style=3D"margin-left:11.35pt;text-al=
ign:justify"><span style=3D"font-size:10.0pt;font-family:"Courier New&=
quot;">Bluetooth configuration requires channel option.<o:p></o:p></span></=
p><p class=3D"MsoNormal" style=3D"margin-left:11.35pt;text-align:justify"><=
span style=3D"font-size:10.0pt;font-family:"Courier New"">Desired=
functionality has been disabled on compile time.<o:p></o:p></span></p><p c=
lass=3D"MsoNormal" style=3D"margin-left:11.35pt;text-align:justify"><span s=
tyle=3D"font-size:10.0pt;font-family:"Courier New"">Error opening=
device. Unknown, busy or no permissions.<o:p></o:p></span></p><p class=3D"=
MsoNormal" style=3D"margin-top:6.0pt;text-align:justify">I just do not know=
where to go from here and am hoping that someone may be able to give me so=
me guidance.<o:p></o:p></p><p class=3D"MsoNormal"><span style=3D"font-size:=
11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span>=
</p></div></body></html>=
------=_NextPart_000_0003_01D6106A.47A93E60--
--===============0362786172926547613==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============0362786172926547613==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
--===============0362786172926547613==--