Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [agail-dev] Problems in connecting to a custom BLE device

Dear Walter,

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

Best regards,
Csaba
 
On 02/03/2018 11:10, Walter Colitti wrote:
Good morning,

In the scope of a project accepted in the open call 1, we are trying to add a custom BLE device to the agile service. 

We are running a GATT server on a esp32 board and when we login to the web application running on the RPI3 and scan for bluetooth devices we can see our device listed, but we don't manage to connect. When we press Register as mentioned in the wiki we only find a list with select device.

Can you please let me know whether we are doing something wrong?

Thank you in advance for your help.

Best regards,

Walter

---
Walter Colitti
Co-Founder and CEO

ModoSmart S.L.
http://www.modosmart.com/
+34 684 14 36 96


_______________________________________________
agail-dev mailing list
agail-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/agail-dev

-- 
________________________________________

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