mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 06:06:03 +01:00
Update Bluetooth README.md (#97)
* Update README.md Information on bluetooth connections.
This commit is contained in:
committed by
Daniel Spindelbauer
parent
4577e85187
commit
5f16b80d28
@@ -159,6 +159,8 @@ while bluetooth.isscanning():
|
||||
|
||||
Opens a BLE connection with the device specified by the `mac_addr` argument. This function blocks until the connection succeeds or fails. If the connections succeeds it returns a object of type `GATTCConnection`.
|
||||
|
||||
Connections are initiated by the central device. There is a maximum of 4 simultaneous connections.
|
||||
|
||||
```python
|
||||
bluetooth.connect('112233eeddff') # mac address is accepted as a string
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user