Added security features for the GATT server

This commit is contained in:
oliver
2019-10-01 12:33:35 +02:00
parent 2fefe28e60
commit fd275755d4

View File

@@ -58,7 +58,7 @@ bluetooth = Bluetooth()
## Methods
#### bluetooth.init(id=0, mode=Bluetooth.BLE, antenna=None, modem\_sleep=True)
#### bluetooth.init(id=0, mode=Bluetooth.BLE, antenna=None, modem\_sleep=True, secure=False)
* `id` Only one Bluetooth peripheral available so must always be 0
* `mode` currently the only supported mode is `Bluetooth.BLE`
@@ -66,6 +66,7 @@ bluetooth = Bluetooth()
* `antenna` selects between the internal and the external antenna. Can be either
`Bluetooth.INT_ANT`, `Bluetooth.EXT_ANT`.
* `secure` enables or disables the GATT Server security features.
With our development boards it defaults to using the internal antenna, but in