| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Correct spelling is "incoming" not "incomming".
|
|
|
|
|
| |
Bitwise operations are done before arithmetic operations and this might
cause undesired results if macro is called with parameter of form x+y.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
With this patch support for handling connect request during ongoing call
is added.
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
With this patch it is not possible to have incorrect padding equal to 4.
|
|
|
|
| |
It is already defined in sap/sap.h which is included by sap/server.c.
|
|
|
|
| |
This is a leftover from sap code upstreaming process.
|
| |
|
| |
|
|
|
|
|
| |
send_message returns the number of sent bytes and -EIO in case of
IO error now
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Add SAP dummy driver implementation and extend configure
with --with-sap=<driver>.
|
|
|
|
|
|
|
|
|
| |
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 support for SAP protocol features:
* connect and disconnect requests
* connect and disconnect responses
* disconnect indication
* timeouts for the valid connection
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
Add a SAP plugin main file and the plugin manager. Also include the SAP
plugin in the Makefile.
|