From fd275755d42aefa820d49dae14f574608053a9cd Mon Sep 17 00:00:00 2001 From: oliver Date: Tue, 1 Oct 2019 12:33:35 +0200 Subject: [PATCH] Added security features for the GATT server --- content/firmwareapi/pycom/network/bluetooth/_index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/firmwareapi/pycom/network/bluetooth/_index.md b/content/firmwareapi/pycom/network/bluetooth/_index.md index 953b37b..0eb5882 100644 --- a/content/firmwareapi/pycom/network/bluetooth/_index.md +++ b/content/firmwareapi/pycom/network/bluetooth/_index.md @@ -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