cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make a custom ble client without MX generating the P2P example code

WRosé.1
Associate II

So I want to make a custom client with mu own service UUID and characteristics which is 128 bits but in cubeMX I can only choose client mode: custom p2p client.

Everytime I generate code from MX it will delete my changes in the wpan code and use the p2p example code instead.

I have not found a way to remove the code generation or choose my own services. Any help is appreciated.

// Wallentin

1 ACCEPTED SOLUTION

Accepted Solutions
Remy ISSALYS
ST Employee

Hello,

Unfortunately, there is no possibility to make a custom client yet like custom server template using CubeMX. You can start your project with custom p2p client template and then modify the code to tune your project.

Best Regards

View solution in original post

1 REPLY 1
Remy ISSALYS
ST Employee

Hello,

Unfortunately, there is no possibility to make a custom client yet like custom server template using CubeMX. You can start your project with custom p2p client template and then modify the code to tune your project.

Best Regards