You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more information about ArduinoBLE library please visit the official web page at:
17
17
https://github.com/arduino-libraries/ArduinoBLE
18
-
19
-
# Configuration
20
-
STM32Cube_WPAN has several configuration options, which are set in the `app_conf.h`.
21
-
This package has a default configuration named `app_conf_default.h`.
22
-
The user can include the file `app_conf_custom.h` to customize the ble application. Options wrapped in `#ifndef, #endif` in `app_conf_default.h` can be overwritten. Additional options can be added.
23
-
24
-
## HCI data length
25
-
By default the data length (max payload per BLE packet) is set to 27 bytes. This can cause fragmentation when tranmitting large characteristics using a large ATT_MTU.
26
-
To increase the data length user must define `CFG_BLE_ENABLE_SET_DATA_LENGTH` (in `app_conf_default.h`). Further more, the wanted data length must bbe set in same define - eg: `#define CFG_BLE_ENABLE_SET_DATA_LENGTH 251`. Valid range: 27 --> 251.
27
-
**Note: if this is enabled the pheripheral will attempt to increase the HCI data length with every connected device! There is no guarantee all BLE devices support all sizes!**
28
-
Please see
29
-
30
18
## License
31
19
32
20
```
@@ -47,3 +35,12 @@ You should have received a copy of the GNU Lesser General Public
47
35
License along with this library; if not, write to the Free Software
48
36
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
49
37
```
38
+
39
+
# Configuration
40
+
STM32Cube_WPAN has several configuration options, which are set in the `app_conf.h`.
41
+
This package has a default configuration named `app_conf_default.h`.
42
+
The user can include the file `app_conf_custom.h` to customize the ble application. Options wrapped in `#ifndef, #endif` in `app_conf_default.h` can be overwritten. Additional options can be added.
43
+
## HCI data length
44
+
By default the data length (max payload per BLE packet) is set to 27 bytes. This can cause fragmentation when tranmitting large characteristics using a large ATT_MTU.
45
+
To increase the data length user must define `CFG_BLE_ENABLE_SET_DATA_LENGTH` (in `app_conf_default.h`). Further more, the wanted data length must bbe set in same define - eg: `#define CFG_BLE_ENABLE_SET_DATA_LENGTH 251`. Valid range: 27 --> 251.
46
+
**Note: if this is enabled the pheripheral will attempt to increase the HCI data length with every connected device! There is no guarantee all BLE devices support all sizes!**
0 commit comments