summaryrefslogtreecommitdiff
path: root/sap
Commit message (Collapse)AuthorAgeFilesLines
* sap-u8500: Fix empty parameter list in function declarationSyam Sidhardhan2012-04-131-1/+1
|
* Fix common spelling error in code and commentsSzymon Janc2012-03-301-2/+2
| | | | Correct spelling is "incoming" not "incomming".
* SAP: Make PADDING4 macro a bit more robustSzymon Janc2012-03-021-1/+1
| | | | | Bitwise operations are done before arithmetic operations and this might cause undesired results if macro is called with parameter of form x+y.
* sap-u8500: Fix errno handling conventionAnderson Lizardo2011-11-171-8/+8
| | | | | | Variables which are assigned to the errno variable (usually called "err") should be negative, and "-err" should be used where a positive value is needed.
* SAP: Fix handling ongoing call in sap-dummyLukasz Rymanowski2011-11-101-3/+1
| | | | | | | | There is no need to send sap_connect_rsp when "call" is ended. Status Indication is enough. Also we should provide max supported msg size in the connect response having status: OK_ONGOING_CALL.
* SAP: Fix handling ongoing callLukasz Rymanowski2011-11-101-10/+28
| | | | | | | | | | If device is in ongoing call SAP server shall response on connect with connection status 0x04 and once call is ended shall send reset status indication. With this patch, when reset status indication comes from backend and SAP server is in connection in progreess state, SAP server changes state to connected.
* SAP: Fix for connect responseLukasz Rymanowski2011-11-101-2/+1
| | | | | | Max Message size shall be added to connect response when ConnectionStatus is SAP_STATUS_OK_ONGOING_CALL. Let's always attach maxmsgsize to the connect response if it is provided by the backend.
* SAP: Add support for handle ongoing callLukasz Rymanowski2011-11-101-9/+45
| | | | | With this patch support for handling connect request during ongoing call is added.
* Fix memory leak in sap pluginArek Lichwa2011-07-281-1/+0
| | | | | | | Without this patch, when dropping RFCOMM channel to sap server, the component's channel cleanup process doesn't release assigned GIOChannel resources since conn->io is set to NULL before calling sap_conn_remove (which would normally do the g_io_channel_unref).
* Add SAP driver for ST-Ericsson U8500 platformSzymon Janc2011-07-131-0/+725
|
* Fix SAP message padding macroLukasz Rymanowski2011-06-281-1/+1
| | | | With this patch it is not possible to have incorrect padding equal to 4.
* Remove SAP_BUF_SIZE define from sap/server.cSzymon Janc2011-06-141-1/+0
| | | | It is already defined in sap/sap.h which is included by sap/server.c.
* Remove unused enum from sap.hSzymon Janc2011-06-141-11/+0
| | | | This is a leftover from sap code upstreaming process.
* Simplify return value in disconnect_reqWaldemar Rymarkiewicz2011-06-011-14/+7
|
* Coding style cleanup in sap serverWaldemar Rymarkiewicz2011-06-011-8/+8
|
* Fix return value in send_messageWaldemar Rymarkiewicz2011-06-011-5/+7
| | | | | send_message returns the number of sent bytes and -EIO in case of IO error now
* Clean SAP server error printoutsWaldemar Rymarkiewicz2011-06-011-44/+31
|
* Add sap_disconnect_ind interface for sap-sim driversWaldemar Rymarkiewicz2011-04-093-7/+32
| | | | | | | | The sap_disconnect_ind() let's the sim driver to indicate immediate disconnection. Add support of immediate disconnection in sap-dummy driver as well as a card status change in order to pass all PTS tests.
* Fix use of unninitialized UUID value in SAP codeJohan Hedberg2011-03-281-0/+1
|
* Fix SAP server double-free during unregistrationJohan Hedberg2011-03-281-3/+1
|
* Add Sim Access Profile dummy driverWaldemar Rymarkiewicz2011-03-231-12/+257
| | | | | Add SAP dummy driver implementation and extend configure with --with-sap=<driver>.
* Add support for SAP protocolWaldemar Rymarkiewicz2011-03-231-16/+399
| | | | | | | | | Add new protocol features: * transfer APDu request/response * get ATR request/response * power sim of/on request/response * card reader status * set transport protocol
* Add Sim Access Profile connect/disconnect proceduresWaldemar Rymarkiewicz2011-03-232-11/+424
| | | | | | | | Add support for SAP protocol features: * connect and disconnect requests * connect and disconnect responses * disconnect indication * timeouts for the valid connection
* Fix minor coding style issues in SAP server codeJohan Hedberg2011-03-151-6/+2
|
* Add Sim Access Profile ServerWaldemar Rymarkiewicz2011-03-153-7/+876
| | | | | | | | | | | Add a Sim Access Server to the SAP plugin and a framework for the dummy sap driver as well. * add the server register and unregister rutines * add server listening socket setup * add SAP DBus API * add prototypes for SAP protocol implementation * add skeleton of dummy SIM driver
* Adjust sap/server.c license text to the rest of the codeWaldemar Rymarkiewicz2011-03-151-1/+2
|
* Add Sim Access Profile ManagerWaldemar Rymarkiewicz2011-03-105-0/+244
Add a SAP plugin main file and the plugin manager. Also include the SAP plugin in the Makefile.