gehe zur Dokumentation dieser Datei
13 #include <QBluetoothDeviceInfo>
14 #include <QLowEnergyController>
26 QSharedPointer<CyberJackWaveDevice> mDevice;
28 QScopedPointer<Card> mCard;
34 void onInitialized(
const QBluetoothDeviceInfo& pInfo);
35 void onDisconnected(
const QBluetoothDeviceInfo& pInfo);
36 void onError(QLowEnergyController::Error pError);
37 void onStatusCharacteristicChanged(
const QByteArray& pValue);
44 explicit BluetoothReader(
const QSharedPointer<CyberJackWaveDevice>& pDevice);
CardEvent
Definition: Reader.h:24
QSharedPointer< const BluetoothMessage > send(const BluetoothMessage &pRequest, BluetoothMsgId pResponseType, quint8 pTimeoutSeconds=20)
Definition: SynchronousBtCall.cpp:25
Definition: BluetoothCard.h:19
void fireReaderConnectionFailed(const QString &pReaderName)
Definition: BluetoothMessageParser.h:15
void update()
Periodically called to perform an update of the readers and cards state.
Definition: Reader.cpp:69
static BluetoothMessageSetTransportProtocolRequest createSetTransportProtocolRequest(BluetoothTransportProtocol pProtocol)
Definition: BluetoothMessageCreator.cpp:68
void fireError(QLowEnergyController::Error pError)
const QVector< QSharedPointer< const BluetoothMessage > > & getMessages() const
Definition: BluetoothMessageParser.cpp:106
const char * name
Definition: http_parser.cpp:470
Definition: BluetoothMessageSetTransportProtocolResponse.h:16
Card * getCard() const override
Definition: BluetoothReader.cpp:39
bool isConnected() const
Definition: ReaderInfo.h:119
void fireDisconnected(const QBluetoothDeviceInfo &pInfo)
void fireInitialized(const QBluetoothDeviceInfo &pInfo)
Holds smart card informations.
Definition: CardInfo.h:28
void fireReaderConnected(const QString &pReaderName)
Definition: SynchronousBtCall.h:22
void disconnectReader(const QString &pError=QString()) override
Definition: BluetoothReader.cpp:90
void setBasicReader(bool pIsBasicReader)
Definition: ReaderInfo.h:107
const QString & getName() const
Definition: Reader.h:56
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
@ Workflow_Bluetooth_Reader_Connection_Error
Definition: BluetoothReader.h:22
void setCardInfo(const CardInfo &pCardInfo)
Definition: ReaderInfo.h:95
void fireStatusCharacteristicChanged(const QByteArray &pValue)
void fireReaderDeviceError(GlobalStatus::Code pErrorCode)
Definition: moc_Reader.cpp:208
BluetoothReader(const QSharedPointer< CyberJackWaveDevice > &pDevice)
Definition: BluetoothReader.cpp:23
Definition: BluetoothMessageStatusInd.h:18
void setConnected(bool pConnected)
Definition: ReaderInfo.h:125
const QString & getName() const
Definition: ReaderInfo.h:101
QSharedPointer< CardConnectionWorker > createCardConnectionWorker()
Creates a new CardConnectionWorker if and only if there is a card in the reader which is not already ...
Definition: Reader.cpp:35
int mTimerId
Definition: Reader.h:30
static bool create(const QSharedPointer< CardConnectionWorker > &pCardConnectionWorker, ReaderInfo &pReaderInfo)
In order to create a CardInfo instance a connection is established to the smart card and data is read...
Definition: CardInfo.cpp:112
ReaderInfo mReaderInfo
Definition: Reader.h:29
void connectReader() override
Definition: BluetoothReader.cpp:50