◆ abortDfu()
Aborts the current DFU procedure of the passed Kallisto. TODO: To be implemented.
- Parameters
-
kallisto | The Kallisto to abort firmware update. |
- Returns
- A detailed result.
◆ createBond()
Creates a BLE bond with the passed Kallisto. TODO: To be implemented.
- Parameters
-
kallisto | The Kallisto to create bond with. |
- Returns
- A detailed result.
◆ getBond()
Checks if the system has a bond with the passed Kallisto. TODO: To be implemented.
- Parameters
-
- Returns
- True if bonded.
◆ getKallisto()
Use this method to get the Kallisto with the passed address.
- Note
- The pointers are only safe to store while the Kallisto that contains it is available.
- Parameters
-
address | The address of the desired Kallisto. |
- Returns
- The desired Kallisto or nullptr if not found
◆ getKallistos()
Use this method to get the list of available Kallistos.
- Note
- The pointers are only safe to store while the Kallisto that contains it is available.
- Returns
- A list with all the Kallistos available.
◆ registerListener()
Registers a listener for the passed Kallisto.
- Parameters
-
listener | A listener to receive Kallisto events. |
kallisto | The Kallisto to register to. |
- Returns
- A detailed result.
◆ removeBond()
Removes the BLE bond from the passed Kallisto. TODO: To be implemented.
- Parameters
-
kallisto | The Kallisto to remove bond from. |
- Returns
- A detailed result.
◆ startDfu()
Starts a device firmware update procedure with the passed Kallisto. TODO: To be implemented.
- Parameters
-
kallisto | The Kallisto to update the firmware. |
file_path | The firmware package path. |
listener | A listener to get DFU events. To be defined. |
- Returns
- A detailed result.
◆ stayConnected()
Signals that the system should keep a connection to the passed Kallisto even when not in use. Use the enable param to control this behaviour.
- Parameters
-
kallisto | The Kallisto to stay connected with. |
enable | If true, the system will maintain a connection to the device even when not in use. If the device is not connected it will connect right away. |
- Returns
- A detailed result.
◆ unregisterListener() [1/2]
Unregisters the listener for the passed Kallisto.
- Parameters
-
listener | A listener to receive Kallisto events. |
kallisto | The Kallisto to register to. |
- Returns
- A detailed result.
◆ unregisterListener() [2/2]
The documentation for this class was generated from the following file:
- /home/joao.oliveira/Workspace/local/repo/documentation/sphinx/source/components/kallistolinuxapi/include/core/managers/kallisto_manager.hpp