I’m sorry I can’t post the entire thing. The paths include information I can’t publish.
I am compiling. I am getting many of the following errors:
error: 'BleScanResult' does not name a type
It does this for everything beginning with Ble. Like it’s missing a library. Though I am able to compile other projects that use cellular cloud and SPI libraries in the same IDE. I found a command prompt to add libraries, but you need to know the name of the library first.
I created this current project blank just to see if I can query BLE. I clicked the little spark symbol on the left of the Visual Studio window. This brings up a screen that says “Particle” at the top. In one of the boxes below “Code” is “Create new project”. I created the new project and I pasted the code exactly as it is written on the Bluetooth tutorials page.
I don’t know if it is targeting a Boron or not. No idea where I would check or set this. I do have a Boron plugged in via USB that is in cyan breathing mode. I have been able to compile and upload my other SPI/Cellular application (minus the Ble stuff) using this configuration.
I don’t know if it’s using “Workbench” or not. I’m totally new to Particle and so far it has been a lot harder than I would have thought. I downloaded the IDE from the link on the Particle Site. It is Visual Studio Code. I’ve never used Visual Studio. I do work regularly in MPLABX for PIC and Atmel Studio for ATMEGA and I’ve been programming microprocessors for years and so far I’m lost with this IDE.
I still haven’t totally figured out how to link secondary pages of code because it doesn’t seem to like the .c and .h file types, there are both .ino and .cpp files, etc. It just seems complicated and seems to require a lot of tribal knowledge to get started. Maybe it’s the c++ aspect as I normally work in pure C. I have to use a Particle module for this project due to cellular. I really wanted to love Particle and have been looking forward to using it, but so far I’m not a fan (though the cellular setup and pairing was super easy with the app).
Thank you again for the help.