aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-03-21default.xml: Add CMUX=? supportHEADmasterDenis Kenzior1-0/+6
This allows the oFono phonesim plugin to use Multiplexer=internal setting to talk to phonesim via 07.10 multiplexer.
2023-12-15default.xml: Add support for CGEREPDenis Kenzior1-0/+21
To make ConnectionManager interface initialize with latest oFono
2022-09-18Release 2.02.0Marcel Holtmann2-1/+4
2022-09-18build: Remove empty NEWS fileMarcel Holtmann1-0/+0
2022-09-18build: Fix PKG_CHECK_MODULES call output for DebianMarcel Holtmann1-3/+2
2022-09-18TODO: Remove owner from CSSU/CSSI support taskMarcel Holtmann1-1/+0
2022-09-18build: Update to support Autoconf >= 2.69Marcel Holtmann5-14/+26
2022-09-18build: Silence the mkdir command printsMarcel Holtmann1-2/+2
2022-09-17qsimcommand: Fix API deprecation warningDenis Kenzior1-1/+1
2021-01-25qwsppdu: Port QDateTime deprecationsJonah Brüchert1-0/+8
2021-01-25Use quotes to include local header filesJonah Brüchert26-52/+53
Co-authored-by: Alexander Akulich <akulichalexander@gmail.com>
2019-11-18AUTHORS: Mention Simon's contributionsDenis Kenzior1-0/+1
2019-11-18AUTHORS: Mention Jonah's contributionsDenis Kenzior1-0/+1
2019-11-18Annotate overriding functions with overrideJonah Brüchert11-65/+65
Allows us to notice when a function becomes source incompatible in a Qt major release, and our implementation stops overriding.
2019-11-18Use bool literalsJonah Brüchert1-1/+1
Done using the modernize-use-bool-literals of clang-tidy
2019-11-18Use dynamic_cast where appropriateJonah Brüchert2-3/+3
Done using the cppcoreguidelines-pro-type-cstyle-cast check of clang-tidy
2019-11-18Require Qt5Widgets >= 5.10Jonah Brüchert1-1/+1
I don't think it's possible to use preprocessor directives with Qt's ui files, so this is neccessary.
2019-11-18Port deprecations in controlbase.uiJonah Brüchert1-16/+142
2019-11-18Port away from Q_FOREACHJonah Brüchert7-28/+27
2019-11-18qwsppdu: Port to QLocaleJonah Brüchert1-8/+11
2019-11-18Port away from some deprecated Qt apisJonah Brüchert4-3/+11
2019-11-18Replace QtScript with QtQmlJonah Brüchert3-12/+12
2019-11-18Port old-style connectsJonah Brüchert5-82/+79
* Update CXX Standard to 14 to be able to use qOverload()
2019-11-18Replace deprecated headersJonah Brüchert4-6/+6
Done using the modernize-deprecated-headers check of clang-tidy
2019-11-18Use nullptrsJonah Brüchert20-83/+83
Done using the modernize-use-nullptr check of clang-tidy
2019-11-06Use override at least in server headerAlexander Akulich1-3/+3
2019-11-06treewide: Port to Qt5Simon Busch9-14/+25
Co-authored-by: Martin Jansa <Martin.Jansa@gmail.com> Co-authored-by: Jonah Brüchert <jbb.prv@gmx.de> Co-authored-by: Alexander Akulich <akulichalexander@gmail.com>
2018-10-03Release 1.211.21Marcel Holtmann2-1/+5
2018-10-03build: Add compile script to maintainer cleanupMarcel Holtmann2-1/+2
2018-10-03AUTHORS: Mention James' contributionsMarcel Holtmann1-0/+1
2018-10-02simauth: fix gsmAuthenticateJames Prestwood1-4/+7
The input to the comp128 algorithm was relying on QSTRING_TO_BUF returning a pointer to persistant memory. This was not the case as it was returning a pointer to an intermediate object which was being freed once out of scope. It just happened to work most of the time. This change copies ki/rand into a static buffer.
2017-11-08phonesim/simauth: removed session code from simauthJames Prestwood5-303/+30
The AID application class handles session managment so it was removed from simauth. Now, simauth only implements the authentication algorithms. Added AID application init code to phonesim and added a two sample AID applications to default.xml (ISIM/USIM)
2017-11-08make: added aidapplication module to buildJames Prestwood1-0/+2
2017-11-08aidapplications: new class for AID applicationsJames Prestwood2-0/+364
New AID applications can be created using the XML <application> tag. Inside this tag a file system can be created which is accessable via session based file access.
2017-11-08simfs: Added support for ISim file systemsJames Prestwood2-22/+89
2017-10-20simauth: Update simauth to handle AUTS parameterJames Prestwood3-21/+61
The support for an invalid SQN number was incomplete in the simauth module. The SIM should have an internal SQN stored (default.xml now) and verify that the SQN in AUTN matches. If not, then generate AUTS and send that back.
2017-10-05phonesim: remove printfJames Prestwood1-2/+0
2017-10-03phonesim: Added SimAuth to phonesim coreJames Prestwood3-0/+23
Adds the SimAuth command handler to the phonesim command loop.
2017-10-03make: add simauth/aes/comp128 to buildJames Prestwood2-0/+5
2017-10-03simauth: Added SimAuth class for GSM/UMTS authJames Prestwood2-0/+519
SimAuth class is used to parse/respond to several AT commands. In order to simulate running a SIMs GSM/UMTS authentication algorithms. The class is initialized if the XML contains a "simauth" tag, which should contain the secret key "ki" value, "opc" and a list of "aid" tags. Implemented AT commands: AT+CUAD: List available SIM applications (USIM or ISIM) AT+CCHO: Open logical channel AT+CGLA: Run either GSM/UMTS algorithm AT+CCHC: Close logical channel The GSM algorithm uses COMP128v1 (src/comp128.c), which generates SRES and KC. The UMTS algorithm uses the "Milenage" algorithm which generates RES, CK and IK, or AUTS in case of sync failure.
2017-10-03aes: small module for AES128James Prestwood2-0/+152
A new module with AES128 functionality using kernel crypto APIs. SimAuth module requires AES128 for UMTS authenticate command.
2017-10-03comp128: GSM algorithm (comp128) implementation.James Prestwood2-0/+279
2017-08-21main: Use QCoreApplication when -gui is not providedDenis Kenzior1-5/+16
QCoreApplication does not open an X connection
2017-07-22build: Use AM_CPPFLAGS instead of INCLUDESMarcel Holtmann1-1/+1
2014-07-27Release 1.201.20Marcel Holtmann2-1/+8
2014-05-19AUTHORS: Mention Jussi's contributionsDenis Kenzior1-0/+1
2014-05-19phonesim: Add SIM PIN retry counter supportJussi Pakkanen1-0/+26
Add support for +CPINR command that returns the amount of PIN unlock attempts remaining. It also tracks the value properly according to state changes. The output format is (roughly) as specified in ETSI TS 127 007 v11.8.0.
2014-03-14phonesim: Fix EFpnn codingDenis Kenzior1-2/+2
2013-01-16build: Adjust MOC and UIC generator labelsMarcel Holtmann1-2/+2
2013-01-02simapplication: Fake SIM re-init notificationsDenis Kenzior2-1/+11
For SIM Refresh cases we need to simulate the SIM being removed and re-inserted. Do that using the USIMSTATE: 1 unsolicited notification.
2013-01-02phonesim: Support +SIMSTATE commandDenis Kenzior3-1/+18
We also emit the unsolicited version (+USIMSTATE) when the check box is toggled.
2013-01-02simapplication: Add a modem-handled Refresh caseDenis Kenzior1-0/+16
2013-01-02simfilesystem: Use quoted hex strings in CRSMDenis Kenzior1-1/+2
2012-09-12Release 1.191.19Marcel Holtmann2-1/+6
2012-09-11xml: Support CIND=?Denis Kenzior1-3/+3
2012-09-06stk: Extend conformance app with Setup Call itemsPhilippe Nunes2-0/+249
2012-09-05callmanager: Reject dialing of call for SAT testsPhilippe Nunes1-0/+7
2012-09-05phonesim: Add text for PlayTone and Send SSPhilippe Nunes1-0/+6
2012-08-28phonesim: Add GET_INPUT test casePhilippe Nunes1-5/+20
This test case is used to check the immediate digit response flag.
2012-08-28stk: Add setter/getter for immediate response flagPhilippe Nunes2-0/+33
2012-08-28ussd: Let the UI work for user-initiated sessionsDenis Kenzior1-1/+8
2012-08-15callmanager: Add voicemail number 6789 for accepting callsMarcel Holtmann1-1/+3
When dialing voicemal number, just accept the call automatically.
2012-08-12xml: Mention the 06123xx magic numberMarcel Holtmann1-0/+1
2012-08-12callmanager: Add 06123xx magic numbers for accepting callsMarcel Holtmann1-0/+13
When dialing numbers starting with 06123, then just accept the call automatically.
2012-08-12callmanager: Fix missing automatic accept for 05123xx numbersMarcel Holtmann1-0/+5
The 05123xx are suppose to automatic accept the calls and hang up after xx seconds.
2012-08-06Release 1.181.18Marcel Holtmann2-1/+8
2012-08-04qcbsmessage: Fix warningDenis Kenzior1-2/+2
src/qcbsmessage.cpp:411:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
2012-07-12control: use correct dbus error domainSimon Busch1-1/+1
Before it was org.ofono.phonesimError but should be consistent with the other error reports and should use org.ofono.phonesim.Error.
2012-07-09hardwaremanipulator: Add multi-page support for CBS messagePhilippe Nunes1-2/+19
2012-07-09hardwaremanipulator: Use the best scheme for CBS messagePhilippe Nunes3-38/+19
2012-07-09cbs: apply the same coding scheme for all the pagesPhilippe Nunes2-25/+14
2012-07-09ui: Remove entries in CBM UIPhilippe Nunes1-117/+67
2012-06-24xml: Add support for USSD session cancellationPhilippe Nunes1-0/+7
2012-06-24xml: Add support for USSD answerPhilippe Nunes1-0/+7
2012-06-24cbs: Tweak bestScheme implementationPhilippe Nunes2-2/+9
in QCBSMessage class
2012-06-22sms: Extend CBS message formating to use UCS2 schemePhilippe Nunes1-8/+111
2012-06-22cbs: Initialize mDataCodingScheme to -1Denis Kenzior1-0/+1
2012-06-22cbs: Fix up formatting of previous commitDenis Kenzior1-2/+1
2012-06-22cbs: Extend QCBSMessage classPhilippe Nunes2-1/+146
2012-06-22hardwaremanipulator: Add USC2 encoding for USSDPhilippe Nunes1-4/+27
2012-06-22control: Fix empty sender checkingPhilippe Nunes1-1/+1
2012-04-23controlbase: Remove html property from teSMSTextOleg Zhurakivskyy1-13/+0
The content of this property adds a few extra newlines into QTextEdit, which is probably not the intention.
2012-04-20Release 1.171.17Marcel Holtmann2-1/+5
2012-03-04phonesim: Add timer to set the variable with delayOleg Zhurakivskyy2-2/+41
In order to set the variable with the delay, specify the delay in milliseconds: <chat> <set name="AAA" value="BBB" delay="30000"/> </chat>
2012-03-04phonesim: Minor reflow in SimChat::command()Oleg Zhurakivskyy1-10/+12
Preparation in order to set the variable with the delay, call setVariable() just from one place.
2012-03-01phonesim: Update scripting docsFrédéric Danis1-3/+3
2012-03-01phonesim: Fix call scripting capabilityFrédéric Danis1-0/+3
2011-12-31Release 1.161.16Marcel Holtmann2-1/+6
2011-12-28simfilesystem: Indicate EFcphs_spnsOleg Zhurakivskyy1-1/+1
Turn on EFcphs_spns (Operator Name Shortform) activated and allocated bits (byte 2, bits 7, 8) in EFcphs_info.
2011-12-28simfilesystem: Indicate EFcphs_cspOleg Zhurakivskyy1-1/+1
Turn on EFcphs_csp activated and allocated bits (byte 2, bits 1, 2) in EFcphs_info.
2011-12-10simfilesystem: Add support for CPHS SPN, short-SPNOleg Zhurakivskyy2-0/+10
2011-08-11simapp: Add 'Modem Handled' commandsDenis Kenzior2-0/+74
2011-08-11simapp: properly generate OK to +CUSATEDenis Kenzior2-3/+5
2011-08-11simapp: Add modem-handled commands handlerDenis Kenzior2-2/+28
2011-08-11phonesim: Add modem-handled command notificationDenis Kenzior2-0/+6
2011-08-11simapp: Handle 3GPP +CUSATE commandDenis Kenzior1-0/+14
2011-08-11simapp: Use 3GPP +CUSATT and +CUSATP and +CUSATENDDenis Kenzior2-26/+19
2011-08-10phonesim: Remove dead codeDenis Kenzior2-22/+1
2011-07-08phonesim: Add BIP STK menu for sanity testingPhilippe Nunes1-23/+103
For sanity testing of the BIP commands, the BIP menu is enriched with the Open channel TCP and Open channel UDP items. For both, the destination adress is set as the locahost port '12348'
2011-06-30Release 1.151.15Marcel Holtmann2-1/+5
2011-06-30sms: Remove unused but assigned variablesMarcel Holtmann1-6/+0
2011-06-30sim: Remove unused but assigned variablesMarcel Holtmann2-6/+0
2011-05-22control: Also reset the table when hanging upDenis Kenzior1-0/+1
2011-05-22control: Get rid of the weird emit p-> syntaxDenis Kenzior1-1/+1
The signal is forwarded (see Control constructor) already anyway
2011-05-22callmanager: Rip out hangupTimer processingDenis Kenzior1-11/+0
The hangup timer is only started on dial back calls, and is handled within sendState() function anyway.
2011-05-22phonesim: Connect hangup signalNicolas Bertrand1-0/+2
2011-05-22control: Handle hangup callNicolas Bertrand2-1/+25
2011-05-22hardwaremanipulator: add hangup signalNicolas Bertrand1-0/+1
2011-05-22callmanager: Remote hangup slotNicolas Bertrand2-0/+26
2011-05-22controlbase: Add hangup buttonNicolas Bertrand1-0/+7
2011-05-16control: Make call table items non editableNicolas Bertrand1-1/+5
2011-05-16callmanager: Remove connect and alert timersNicolas Bertrand2-31/+0
2011-05-11control: Use more palatable emit syntaxDenis Kenzior2-3/+7
2011-05-11phonesim: connect call mangagement signalsNicolas Bertrand1-0/+4
2011-05-11control: handle call management buttonsNicolas Bertrand2-0/+14
2011-05-11callmanager: Change call state management slotsNicolas Bertrand2-6/+13
2011-05-11hardwaremanipulator: Call state changed signalsNicolas Bertrand1-0/+2
2011-05-11controlbase: Add call state management buttonsNicolas Bertrand1-0/+18
2011-05-05simapp: Add title to the SETUP menuPhilippe Nunes2-1/+3
this AID TLV object is mandatory
2011-05-05controlbase: Gather call elements on the same tabNicolas Bertrand1-135/+132
Group CSSU/CSSI and incomming call UI together on the same "Call" tab
2011-05-03Release 1.141.14Marcel Holtmann2-1/+4
2011-05-02control: Fix typoDenis Kenzior1-1/+1
2011-05-02control: Use translationsDenis Kenzior1-4/+5
2011-05-02control: Simplify state string lookupDenis Kenzior1-52/+4
2011-05-02control: Update call viewNicolas Bertrand2-12/+91
2011-05-02controlbase.ui: Add call mangement tabNicolas Bertrand1-0/+61
2011-05-02phonesim: Connect call status signalNicolas Bertrand1-0/+2
2011-05-02hardwaremanipulator: add callmanagement methodNicolas Bertrand2-0/+6
2011-05-02control: Update UI using call statusNicolas Bertrand2-5/+40
2011-05-02callmanager: Add signal on call status changeNicolas Bertrand2-0/+25
2011-04-19callmanager: change state of waiting callNicolas Bertrand2-4/+25
becomes incoming when all active and held are released
2011-04-14Release 1.131.13Marcel Holtmann2-1/+7
2011-04-14simfilesystem: Add support for CPHS EFcspDenis Kenzior2-0/+5
2011-03-31simapplication: Add class e related menuPhilippe Nunes2-0/+163
Add a new SIM applet dedicated to BIP commands
2011-03-31qsimcommand: Minor whitespace fixesDenis Kenzior1-4/+4
2011-03-31AUTHORS: Mention Philippe's contributionsDenis Kenzior1-0/+1
2011-03-31qsimcommand: Add support for class e commandsPhilippe Nunes2-6/+235
Add properties and TLV builders to support BIP commands
2011-03-29AUTHORS: Mention Nicolas' contributionsDenis Kenzior1-0/+1
2011-03-29phonesim: Add CSSU/CSSI notification supportNicolas Bertrand2-1/+31
2011-03-29phonesim: add CSSU/CSSI UINicolas Bertrand1-11/+54
2011-03-24TODO: Set owner CSSU/CSSI support taskNicolas Bertrand1-0/+4
2011-03-18AUTHORS: Mention Paavo's contributionsDenis Kenzior1-0/+1
2011-03-18phonesim: add support for +CPOSR unsolicited codePaavo Leinonen4-2/+149
Enables positioning XML sending from PhoneSIM
2011-01-20Release 1.121.12Marcel Holtmann2-1/+8
2011-01-13Add CDIP supportLucas De Marchi7-15/+49
With CDIP phonesim can tell the Called Line Identification within the RING comand according to 27.007 section 7.9.
2011-01-13phonesim: fix for sigsegv faultJeevaka Badrappan2-4/+9
Fixes the issue in List count handling which might result in sigsegv during destruction. Also added additional check for start button handling.
2011-01-12phonesim: Add MoreTime test caseJeevaka Badrappan1-0/+15
2011-01-12phonesim: Add Get Input test casesJeevaka Badrappan2-0/+642
2011-01-12phonesim: Add Get Inkey test casesJeevaka Badrappan2-1/+507
2011-01-12phonesim: Add DisplayText test casesJeevaka Badrappan2-0/+525
2011-01-12phonesim: Add conformance sim applicationJeevaka Badrappan5-3/+83
2011-01-12phonesim: add ui support for sim app selectionJeevaka Badrappan6-27/+37
2011-01-12phonesim: Fix access bits for EFiccid, EFpl.Andrzej Zaborowski1-2/+2
2011-01-12phonesim: Add +CUAD command and EFdir EF.Andrzej Zaborowski2-0/+28
Add +PTTY in +CLAC output too.
2011-01-10Release 1.111.11Marcel Holtmann2-1/+6
2011-01-04stk: Always default to GSM Packed for empty textDenis Kenzior1-1/+1
2011-01-04stk: add null text string caseJeevaka Badrappan1-2/+8
2010-12-21phonesim: Add cfis and cphs fileJeevaka Badrappan2-0/+9
2010-12-18Release 1.101.10Marcel Holtmann2-1/+9
2010-12-16Add ability to provide CLIP / CNAP informationDenis Kenzior5-62/+157
And also add a stub in the UI for CDIP information, which is very similar to CLIP / CNAP The current behavior is for the modem to provide CLIP and CNAP if the appropriate check box is checked. If the box is checked but the line edit is empty, then the number / name is assumed to be withheld.
2010-12-16Get rid of impossible test casesDenis Kenzior1-124/+8
Activation / Deactivation for COLR COLP CLIP and CNAP are not possible
2010-12-16Add support to CNAP ss commandGustavo F. Padovan2-0/+82
2010-12-16Add CNAP supportGustavo F. Padovan8-15/+53
With CNAP phonesim can tell the Caller Name within the RING comand
2010-12-08Simulate provide local info command in sim appYang Gu2-0/+70
2010-12-08fixup responses for SIM PIN entry failureDenis Kenzior1-4/+4
2010-11-29sim: fix typoGustavo F. Padovan1-1/+1
2010-11-27Add support for TTY queryLucas De Marchi1-0/+6
2010-11-25phonesim: Add SIM Refresh commands to sim app menuAndrzej Zaborowski2-0/+106
2010-11-25phonesim: Add Timer Management to STK menuAndrzej Zaborowski6-0/+325
2010-11-23Release 1.91.9Marcel Holtmann2-1/+10
2010-11-23Add modem silent reset buttonGustavo F. Padovan3-0/+47
+CRST now send a reset resquest command
2010-11-22Add support for +COLR according to R9 of 27.007Denis Kenzior1-0/+11
2010-11-22phonesim: Add SIM Polling commands to sim app menu.Andrzej Zaborowski2-0/+68
2010-11-22phonesim: Add Send Short Message commands to sim app menu.Andrzej Zaborowski2-1/+152
2010-11-22AUTHORS: Mention Lucas' contributionsDenis Kenzior1-0/+1
2010-11-22Add responses for TTY commandsLucas De Marchi1-0/+16
2010-11-12Fix phonesim exiting after the GUI is removedDenis Kenzior1-2/+3
This causes phonesim process to exit after the first power on / power off sequence. Not the desired behavior
2010-11-09Mention Gustavo's contributionsDenis Kenzior1-0/+1
2010-11-09Force requirement for filename option in cmd lineGustavo F. Padovan1-1/+6
2010-11-09Set a proper timestamp for datagram SMS messagesDenis Kenzior1-0/+1
2010-11-09Add support for setting port on datagram SMSesDenis Kenzior4-696/+571
2010-11-03Add option to support versionYang Gu1-2/+5
2010-10-25Release 1.81.8Marcel Holtmann2-1/+7
2010-10-25Remove some pointless double spacesMarcel Holtmann1-1/+1
2010-10-25default.xml: Support dummy GPRS contextsDenis Kenzior1-1/+13
2010-10-22default.xml: Disable FDN in the default caseDenis Kenzior1-1/+1
2010-10-14doc: Describe the scriptable featureYang Gu1-0/+55
2010-10-14Use org.ofono.phonesim.Script as interface nameYang Gu1-2/+2
2010-10-13scripting: Use org.ofono.phonesim service nameDenis Kenzior1-4/+6
2010-10-13scripting: Use the session bus, not system busDenis Kenzior1-6/+7
2010-10-13build: Require QtDBus moduleDenis Kenzior1-1/+1
2010-10-13Enable Qt ScriptYang Gu3-1/+126
This patch is to enable Qt script so that GUI can be controlled using JavaScript. In the meantime, D-Bus support is added for the sake of test automation.
2010-10-13Some instances in ControlWidget need to be deletedYang Gu2-0/+7
2010-10-13Move def of class ControlWidget to header fileYang Gu3-74/+70
Currently any modification on control.cpp will result in some unrelated obj to be regenerated, because the definition of class ControlWidget is in this .cpp file. This patch wants to fix this problem.
2010-09-29Change file mode back to something saneMarcel Holtmann1-0/+0
2010-09-28phonesim: simulate Send USSD in sim appJeevaka Badrappan4-3/+142
2010-09-18Release 1.71.7Marcel Holtmann2-1/+8
2010-09-17callmanager: Cleanup minor coding style violationDenis Kenzior1-1/+1
2010-09-17Simulation of MT release of call to special numberArun Ravindran3-0/+21
2010-09-16phonesim: simulate language notification in sim appJeevaka Badrappan4-0/+119