|Re: [agail-dev] Problems in connecting to a custom BLE device|
To support a specific device on top of a generic protocol (e.g. BLE GATT), AGILE requires a device type implementation to be deployed in the system. Device types are deployed in device factories (one factory can implement several device types) and device representations are instantiated by the factory when a device is registered in the system. Device factories and the device registration is managed by the device manager. Once the device is instantiated, it is also registered on the D-Bus. Communication with the device implementation is direct and does not involve the device manager after the registration step.
The system currently contains a Java based DeviceFactory, and you
should add a device implementation in this for you specific
device. You should write one class implementing the device type,
inheriting from the base device class (or some more specific class
in the hierarchy). Please follow the example at https://github.com/Agile-IoT/agile-core/pull/45
On 02/03/2018 11:10, Walter Colitti wrote:
-- ________________________________________ Csaba Kiraly, PhD FBK CREATE-NET OpenIoT Research Area - Senior Researcher H2020 AGILE IoT Technical Coordinator Via alla Cascata 56/D - 38123 Trento (Italy) https://create-net.fbk.eu/
Le informazioni contenute nella presente comunicazione sono di natura privata e come tali sono da considerarsi riservate ed indirizzate esclusivamente ai destinatari indicati e per le finalità strettamente legate al relativo contenuto. Se avete ricevuto questo messaggio per errore, vi preghiamo di eliminarlo e di inviare una comunicazione all’indirizzo e-mail del mittente.
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material.
Back to the top