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.
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).
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 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