Questions tagged [gammu]

Gammu is an abstraction layer to work with different cell phones from different vendors (including Nokia, Sony-Ericsson, Motorola, Samsung, Siemens, Huawei and others).

Wammu is built on Gammu library, which provides abstraction layer to work with different cell phones from different vendors (including Nokia, Sony-Ericsson, Motorola, Samsung, Siemens, Huawei and others).

Useful Links

134 questions
8
votes
1 answer

How to send and receive SMS from python using usb modem?

I'm a beginner in python and i'm looking for a library to send and receive SMS through a Huawei modem. I tried gammu, pysms and pygsm but failed to get them to work. Could you give me code examples with those libraries?
Bilel_a
  • 163
  • 1
  • 3
  • 8
6
votes
1 answer

Gammu has different behaviour when running under strace

I am attempting to debug Gammu, a "library and command line utility for mobile phones", which is "timing out" when communicating normally with the modem. gammu identify -> No response in specified timeout. Probably phone not connected. Looking at…
coiax
  • 462
  • 4
  • 19
5
votes
1 answer

How to use setup.py in Python gammu

I download the gammu source files. My aim is to be able to use the gammu module in my python program. How do I run the setup.py install for python-gammu. Each time I try, I get running install running build running build_py running build_ext ERROR:…
Jimmy Ilenloa
  • 1,989
  • 21
  • 21
4
votes
2 answers

How to install python-gammu on Raspberry pi

I have a problem when installing the python module for gammu on a raspberry pi model b+. How can i solve this problem ? Thanks! pi@raspberrypi ~ $ sudo pip install python-gammu Downloading/unpacking python-gammu Running setup.py egg_info for…
drled
  • 149
  • 1
  • 2
  • 9
3
votes
4 answers

Gammu can not receive sms

I have a USB-Modem Manufacturer:Huawei Model:E3531. On the computer, the Gammu version 1.38.3 and Gammu-smsd version 1.38.3. installed. lsusb: Bus 001 Device 011: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA…
perlfg
  • 59
  • 1
  • 7
3
votes
1 answer

Gammu cannot open device (DEVICEOPENERROR[2])

I am using gammu-smsd 1.31.90, I made a udev rule for my USB 3g dongle but gammu-smsd can not connect to device. It says DEVICEOPENERROR[2]. How can I fix it? udev-rule in /etc/udev/rules.d/10-rules.local SUBSYSTEMS=="usb", ATTRS{idVendor}=="12d1",…
Mubin Icyer
  • 608
  • 1
  • 10
  • 21
2
votes
0 answers

Gammu: Error getting SMS status: Security error. Maybe no PIN?

I runnng gammu-smsd v. 1.40.0.0-1 on Raspbian 10. I am able to send messages with both sendsms and through gammu-smsd. However, gammu-smsd does not receive messages. When I check my log file /var/log/gammu-smsd.log I see an error below. The modem is…
gatorreina
  • 864
  • 5
  • 14
2
votes
1 answer

gammu - No response in specified timeout. Probably phone not connected

What do I do wrong? $ gammu-detect ; Configuration file generated by gammu-detect. ; Please check The Gammu Manual for more information. [gammu] device = /dev/ttyACM0 name = samsung GT-N7105 connection = at <...> $ cat /etc/gammurc [gammu] port =…
Castle
  • 411
  • 1
  • 4
  • 12
2
votes
1 answer

python-gammu not working with sudo

I'm trying to make run a SMS sending python script from PHP. SendSMS.py: #!/usr/bin/env python import gammu sm=gammu.StateMachine() sm.ReadConfig() sm.Init() message={ 'SMSC':{'Location':1}, 'Text':'blah blah bllah', …
notnavindu
  • 487
  • 1
  • 6
  • 18
2
votes
0 answers

Gammu SMS TextDecoded field are separated

In my country there are 3 mobile service operators, and when I send one SMS from two of they, the Gammu daemon table inbox shows the TextDecoded field separated in 2 or 3 parts, and that tuples show a some kind of numeration in the UDH field, but…
Synapsido
  • 140
  • 3
  • 12
2
votes
0 answers

Calling gammu or gammu-smsd-inject

I have gammu-smsd up and running on a raspberry-pi with jessie. I am using runonreceive to process incoming texts. I have the following script working using runonreceive. In the script I am calling gammu sendsms instead of gammu-smsd-inject as the…
Jake
  • 21
  • 4
2
votes
0 answers

Gammu - TextDecoded converted it self

I just created an SMS gateway feature in my web that powered by Yii2 using gammu. Based on the tutorial of sending SMS through our web with gammu using query, the message that we created stored in Outbox table. Then, when the message is successfuly…
2
votes
1 answer

Error( Failed to get SMSC number from phone) in python-gammu when sending sms

I got this error in sending sms: gammu.ERR_GETTING_SMSC: {'Text': u'Failed to get SMSC number from phone.', 'Code': 69, 'Where': 'SendSMS'} Here is the code I use import gammu sm = gammu.StateMachine() sm.ReadConfig() sm.Init() message = { …
Erwin Daez
  • 145
  • 1
  • 3
  • 9
2
votes
0 answers

Error in generating documentation in Gammu with Visual Studio

Can someone help me in generating documentation from Gammu with the latest version? What I did is: Download source code Generate build files using Cmake for the manuals click on the .sln file for building the manuals in Visual Studio 2015. I keep…
Anton
  • 43
  • 4
2
votes
2 answers

Gammu: run on receive exit status 1

I'm trying to use gammu and gammu-smsd to send and receive sms with my raspberry pi using a Huawei intrnet key. My problem is that when I send an sms from my phone to raspberry pi, it read the sms, it try to start the program linked at RunOnReceive…
1
2 3
8 9