Skip to content

Commit d7787a9

Browse files
committed
rearranged readme
1 parent 58c6257 commit d7787a9

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ https://github.com/stm32duino/wiki/wiki/STM32duinoBLE#stm32duinoble-with-x-nucle
1515

1616
For more information about ArduinoBLE library please visit the official web page at:
1717
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-
3018
## License
3119

3220
```
@@ -47,3 +35,12 @@ You should have received a copy of the GNU Lesser General Public
4735
License along with this library; if not, write to the Free Software
4836
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
4937
```
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

Comments
 (0)