2023-01-10 10:40 PM
I have to configure it as a Client. Can please someone help me with the starting guide for the client configuration like how to establish connection with server and how to write attribute to server, everywhere I found only starting guide for server only.
Thank You,
Arief
Solved! Go to Solution.
2023-01-11 2:14 AM
Hello @Community member
First let me thank you for posting.
To configure the STM32WB55 as a BLE client using the CubeMX software, you'll need to perform the following steps:
The process for establishing a connection with a BLE server using a BLE wireless stack will depend on the specific stack you are using, but in general, you will need to perform the following steps:
Thx
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-01-11 2:14 AM
Hello @Community member
First let me thank you for posting.
To configure the STM32WB55 as a BLE client using the CubeMX software, you'll need to perform the following steps:
The process for establishing a connection with a BLE server using a BLE wireless stack will depend on the specific stack you are using, but in general, you will need to perform the following steps:
Thx
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-01-16 1:35 AM
Hi Ghofrane,
Thank you for making me understand the flow.
I have joined the server, once the join is successful after a few sec it enters into HardFault_Handler. I am trying to find out the reason but I didn't get it.
Can you please help me solve this?
Thank you,
Arief
2023-01-16 2:27 AM
Hello @Community member
Actually it is difficult to determine the specific cause of the HardFault_Handler issue without more information about your code but try to review your code to ensure that there are no memory leaks or buffer overflows that could cause a HardFault.
Make sure that the communication between the STM32WB55 and the server device is working properly by checking the connection parameters and debugging the communication process.
Thx
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-01-16 5:02 AM
I have just modified the filtering advertised device data and
BleApplicationContext.DeviceServerFound = 0x01;
No other modifications.