How do I compile a .h file?
I am using the fp-net-blestar1 (https://www.st.com/en/embedded-software/fp-net-blestar1.html) in order to make a bluetooth low energy web between a master board, 7 slave SensorTiles (STEVAL-STLCS02V1) and WiFi connectivity to the IBM Watson cloud. Currently the example code only allows these tiles to send environmental data but having read through it, it appears the functionality for sending all sensor data, acceleration, orientation etc, is in the code.
To enable this it looks like you have to change a single line of code in the main.h folder:
/*
* Enable/Disable the possibility to receive MEMS (AGM and SFUSION) notifications
* (1 = MEMS Enabled, 0 = MEMS Disabled)
* WARNING: To be used with ST SensNet V>2.0 application
*/
“HASHTAG”define ENABLE_MEMS 0
I have changed the 0 to a 1 but when I rebuild the project, main.h isn’t being compiled so nothing is actually changing and the sensor tiles are still only sending environmental data.
How to I get SW4STM32 to compile this altered header file? Or is there a work around I can use in order to get these tiles to send all their data over and not just environmental?