I’m trying to create a class that will read the output from a heart rate monitor using Bluetooth LE. I’ve already been able to get this working in an application outside of UE4, but upon trying to get it working in UE4 it seems that Visual Studio doesn’t want to recognise the contents of the relevant header files. I’m currently including the files in a header for the class like this:
#include “AllowWindowsPlatformTypes.h”
#include “stdio.h”
#include “windows.h”
#include “setupapi.h”
#include “devguid.h”
#include “regstr.h”
#include “bthdef.h”
#include “Bluetoothleapis.h”
#include “HideWindowsPlatformTypes.h”
Visual Studio is unable to recognise identifiers primarily from Bluetoothleapis.h, and isn’t recognising a pragma in bthdef.h. Are there some other considerations that need to be taken into account to include Windows header files?