mhogomchungu / ussd-gui Goto Github PK
View Code? Open in Web Editor NEWa Qt based GUI front end to libgammu capable of sending USSD codes and reading SMS from devices
License: Other
a Qt based GUI front end to libgammu capable of sending USSD codes and reading SMS from devices
License: Other
While testing ussd-gui
I've come across some weird behavior.
1 Is there a way to cancel an action after sending a USSD code? Let's say we've set timeout
to 300s, how to cancel the action?
2 Is there a way to terminate ussd-gui
while sending a code? I've tried to cancel/close the window, but without a success.
3 Is there a way to implement comments in the ussd-gui
config file? For now some lines starting with #
are removed, the others get rewritten to the following after sending a USSD code:
%23%20timeout=20
%23timeout=30
4 When exiting by closing the ussd-gui
window, I often get segfault:
kernel: ussd-gui[73403] segfault at 7fcff2880e18 ip 00007fcff2880e18 sp 00007fffb8f432c8 error 15 in libQt5Core.so.5.5.1[7fcff2879000+c000]
5 Is there a way to fix the connect/disconnect
button. For now it's almost impossible to simply disconnect because it reconnects right away. I think it catches the previous mouse click, and that's why it reconnects after clicking disconnect
.
There's a problem with sending USSD codes by pressing enter key on the keyboard. I have to use my mouse instead. Is there a way to fix that issue or am I forced to use the mouse?
ussd-gui has some history of entered USSD codes. Unfortunately, the codes sometimes are complicated and hard to memorize. In modem-manager-gui
there was an option to specify a description for each USSD code. Actually, there was an option which allowed to add codes and set their description. Would you add this kind of feature to ussd-gui?
I'm just testing ussd-gui on debian SID, and it works as expected. But there's one thing I can't figure out. Some of the USSD codes have to be answered. In that case, you have to send 0, 1, etc. When I do it via the following AT command:
$ echo -e "AT+CUSD=1,\"*111#\",15\r" >/dev/huawei-E3372-0
I'm able to receive the proper answer and respond to it by sending, for instance 1
:
$ echo -e "AT+CUSD=1,\"1\",15\r" >/dev/huawei-E3372-0
After this I get another answer, and so on. Of course, I have to cat
the device while sending the AT commands in order to see the results, but generally this works well.
When I want to do the same with ussd-gui, I get an error: Status: ERROR 5: Connection Was Terminated
. I wasn't able to respond to any USSD codes. Is this app able to do it?
When you have many USSD codes in favorites, clicking on each and removing them individually is a little bit tiring. Wouldn't be easier to just press the delete
key on the keyboard?
It looks like something is wrong when you open ussd-gui
and press the connect
button when some app is utilizing one of the interface of the modem. For instance, I started gammu-smsd
daemon on one interface, and tried to start ussd-gui
on the same interface. This always causes an error, because the interface is in use by the first app. So I killed the gammu-smsd
daemon and tried to attach ussd-gui
to that interface again. Now I got Status: ERROR 5: Unknown Error Has Occured
.
There's no way to make it work again. It just gives the error above all the time, even when I reconnect the modem to the USB port. When I cat
the device and connect via ussd-gui
, I get the following:
ATZ
OK
AT+CUSD=1,"*111*480*3#",15
+CME ERROR: 304
AT+CUSD=2,,15
OK
TZ
OK
So there's ATZ
command, the next is the code, but it results with an error.
The only way to fix the modem is by using the following command:
$ echo -e "AT+CMGF=1;^CURC=0;^USSDMODE=0\r" > /dev/huawei-E3372-1
Then ussd-gui
works just fine.
You can add two or more entries which are the same. I don't think this should happen. Instead, there should be some notification that would tell you there's a code on the list that you want to add.
Now the SMS button is active when you set the following option in the ussd-gui
config file:
source=internal
But when you click the button, you get Status: ERROR 7
.
1 Is there a way to make the ussd-gui
windows resizable?
2 When you add multiple USSD codes to favorites, at some point the horizontal scrollbar appears. It looks like it's because of the vertical scrollbar but the columns have fixed width. You can change the width but after closing the window, the values are restored. Would be possible to fix that, so the horizontal scrollbar disappeared?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.