Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Bt SPP protocol is quiet universal and you can use it for whatever you want. It's just like normal serial line. You can transfer files, control something, etc... I found this library https://github.com/Agamnentzar/bluetooth-serial-port maybe it'll be helpful for you.
You basically have two options here - either use a library (like this one), or directly interface with the operating system's underlying API (usually Winsock2 in the case of Windows).
If you decide on directly using the lower-level Winsock2 API, you aren't really going to get much out of the official Microsoft documentation; it's pretty lacking, as you have noted. Instead, I suggest taking a look at the Network Socket Terminal source code (Disclosure: I'm the author of the software). Specifically, these sections: