- The STM32WB55_BLE_P2PServer_EXT_ATT is based on the BLE_Custom (BLE_P2PServer) application from CubeWB V1.19.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 STM32WB55_BLE_P2PClient_EXT_ATT example. However, it may work with other BLE Clients as well.
- One or Two P-NUCLEO-WB55
- One for STM32WB55_BLE_P2PServer_EXT_ATT
- One for STM32WB55_BLE_P2PClient_EXT_ATT (Optional)
-
Prebuilt firmware image: STM32WB55_BLE_P2PServer_EXT_ATT.hex (STM32WB55_BLE_P2PServer_EXT_ATT\Binary)
-
STM32WB55_BLE_P2PClient_EXT_ATT (Optional)
-
BLE Wireless Stack from STM32CubeWB V1.19.0
-
IDE (Optional)
-
Tera Term (Optional)
-
Flash the NUCLEO-WB55 with the BLE Full Stack (stm32wb5x_BLE_Stack_full_fw).
a) Check the Copro Wireless Binaries Relase Notes for information on the Wireless Stacks.
b) Follow this video for instructions on flashing the Wireless Stack.
-
Flash the NUCLEO-WB55 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 STM32WB55_BLE_P2PClient_EXT_ATT device to start scanning and automatic connection.
- Press SW3 on the STM32WB55_BLE_P2PServer_EXT_ATT device to perform an ATT MTU exchange procedure. This is necessary for peforming extended attribute functionality.
- Press SW1 on the STM32WB55_BLE_P2PServer_EXT_ATT device to send a regular notification using ACI_GATT_UPDATE_CHAR_VALUE() to the STM32WB55_BLE_P2PClient_EXT_ATT device.
- Press SW2 on the STM32WB55_BLE_P2PServer_EXT_ATT device to send a extended notification using ACI_GATT_UPDATE_CHAR_VALUE_EXT() to the STM32WB55_BLE_P2PClient_EXT_ATT device.
- Press SW1 on the STM32WB55_BLE_P2PClient_EXT_ATT device to send a regular write using ACI_GATT_WRITE_WITHOUT_RESP() to the STM32WB55_BLE_P2PServer_EXT_ATT device.
- Press SW2 on the STM32WB55_BLE_P2PClient_EXT_ATT device to send a extended write using ACI_ATT_PREPARE_WRITE_REQ() & ACI_ATT_EXECUTE_WRITE_REQ() to the STM32WB55_BLE_P2PServer_EXT_ATT device.
- Press SW3 on the STM32WB55_BLE_P2PClient_EXT_ATT device to send a regular or extended read request using ACI_GATT_READ_CHAR_VALUE() to the STM32WB55_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 STM32WB55_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.