- The STM32WBA55_BLE_P2PServer_EXT_ATT is based on the BLE_P2PServer application from CubeWBA V1.3.0.
- This application is an example of the following attribute functionality:
- Sending Regular Notifications using ACI_GATT_UPDATE_CHAR_VALUE() to a BLE Client (Data Length < 250 Bytes)
- Sending Extended Notifications using ACI_GATT_UPDATE_CHAR_VALUE_EXT() to a BLE Client (Data Length <= 509 Bytes)
- Receiving Regular or Extended Writes from a BLE Client
- Receiving Regular or Extended Read Requests from a BLE Client
- This application is setup to work out of the box with the STM32WBA55_BLE_P2PClient_EXT_ATT example. However, it may work with other BLE Clients as well.
- One or Two NUCLEO-WBA55
- One for STM32WBA55_BLE_P2PServer_EXT_ATT
- One for STM32WBA55_BLE_P2PClient_EXT_ATT (Optional)
-
Prebuilt firmware image: STM32WBA55_BLE_P2PServer_EXT_ATT.hex (STM32WBA55_BLE_P2PServer_EXT_ATT\Binary)
-
STM32WBA55_BLE_P2PClient_EXT_ATT (Optional)
-
IDE (Optional)
-
Tera Term (Optional)
-
Flash the NUCLEO-WBA55 with the application using one of the following methods:
a) Flash the prebuilt firmware image with STM32CubeProgrammer.
b) Build and debug the application with an IDE.
-
View the debug log output using Tera Term, you may need to press the reset button to view the inital logs (optional).
- Press SW1 on the STM32WBA55_BLE_P2PClient_EXT_ATT device to start scanning and automatic connection.
- Press SW3 on the STM32WBA55_BLE_P2PServer_EXT_ATT device to perform an ATT MTU exchange procedure. This is necessary for peforming extended attribute functionality.
- Press SW1 on the STM32WBA55_BLE_P2PServer_EXT_ATT device to send a regular notification using ACI_GATT_UPDATE_CHAR_VALUE() to the STM32WBA55_BLE_P2PClient_EXT_ATT device.
- Press SW2 on the STM32WBA55_BLE_P2PServer_EXT_ATT device to send a extended notification using ACI_GATT_UPDATE_CHAR_VALUE_EXT() to the STM32WBA55_BLE_P2PClient_EXT_ATT device.
- Press SW1 on the STM32WBA55_BLE_P2PClient_EXT_ATT device to send a regular write using ACI_GATT_WRITE_WITHOUT_RESP() to the STM32WBA55_BLE_P2PServer_EXT_ATT device.
- Press SW2 on the STM32WBA55_BLE_P2PClient_EXT_ATT device to send a extended write using ACI_ATT_PREPARE_WRITE_REQ() & ACI_ATT_EXECUTE_WRITE_REQ() to the STM32WBA55_BLE_P2PServer_EXT_ATT device.
- Press SW3 on the STM32WBA55_BLE_P2PClient_EXT_ATT device to send a regular or extended read request using ACI_GATT_READ_CHAR_VALUE() to the STM32WBA55_BLE_P2PServer_EXT_ATT device.
Caution : Issues and the pull-requests are not supported to submit problems or suggestions related to the software delivered in this repository. The STM32WBA55_BLE_P2PServer_EXT_ATT example is being delivered as-is, and not necessarily supported by ST.
For any other question related to the product, the hardware performance or characteristics, the tools, the environment, you can submit it to the ST Community on the STM32 MCUs related page.