Module to communicate with APIdou, the connected plush
Project description
APIdou - Python communication with APIdou
========================================================================
This module based on PyGATT (by Chris Peplin) makes easier to communicate
over BLE with APIdou, the connected plush (www.apidou.fr).
Example code :
```python
from apidou import APIdou
# create an APIdou object using gatttool and a given MAC address
device = APIdou("linux", "AA:BB:CC:DD:EE:FF")
device.connect()
device.setVibration(True)
time.sleep(0.1)
device.setVibration(False)
device.disconnect()
```
More examples on the [other repository](https://github.com/iadjedj/APIdouExamples/tree/master/python)
========================================================================
This module based on PyGATT (by Chris Peplin) makes easier to communicate
over BLE with APIdou, the connected plush (www.apidou.fr).
Example code :
```python
from apidou import APIdou
# create an APIdou object using gatttool and a given MAC address
device = APIdou("linux", "AA:BB:CC:DD:EE:FF")
device.connect()
device.setVibration(True)
time.sleep(0.1)
device.setVibration(False)
device.disconnect()
```
More examples on the [other repository](https://github.com/iadjedj/APIdouExamples/tree/master/python)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
apidou-0.2.2.tar.gz
(4.1 kB
view details)
File details
Details for the file apidou-0.2.2.tar.gz
.
File metadata
- Download URL: apidou-0.2.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11e70e46a99140658da3acb1cab15dafe61b5ffdb20240cade5ecda9bc48b1a3 |
|
MD5 | 109b275a908e42a9ca4bdf00492ce19d |
|
BLAKE2b-256 | 05bfdb91d4efbb0937e75145d596fe1fe60bfb0a83453d8ef44af1b858a7a268 |