2020-08-25 10:56 AM
Hello,
I have build a custom pcb and I am using the BlueNRG-M0 module and the STM32L162VET microcontoller. My main goal is to be able to transfer data via bluetooth to a computer.
To get starter, I tried to generate the VirtualCOMPort example that is available with the STM32CubeIDE using the BLE stack and sample application for Blue-NRG-MS module version 6.0.0.
I have followed the instructions on the following video:
https://www.youtube.com/watch?v=jGSdMAFVI_U&t=646s
The code is generated successfully but when I build the project I get the following error:
'COM1' undeclared (first use in this function); did you mean 'COMP1'?
Is this a common error and how can i overcome this?
Could you please give me some information on how to get started using a simple bluetooth application to transfer data between my device and a computer?
Thank you