MeasurementWrapper is the name of the parameter object passed into the microflow. Check this is being passed into the microflow as a parameter, and if it is being passed, check the spelling.
Hi Robert, Thanks for your reply. The MeasurementWrapper is already passed into the nanoflow and it is the same spelling as mentioned.
Only at this point it has the error with MeasurementWrapper. Till 8.45 minutes of the video it works well. Kindly advise if there is any issue.
You are missing the MeasurementWrapper parameter in your ConnectToDevice Nanoflow.
Have a look at at 6:45 in the video, in the top left of the Nanoflow there should be a parameter called MeasurementWrapper. This is not present in your Nanoflow and you need to add it.
I hope this helps. Good luck!
I added the parameter you mentioned. I missed it as it was not mentioned in the video. Thanks for higlighiting it to me.
I am now able to add the MeasurementWrapper and also completed the nanoflow with all the other measurements such as humidity, CO2 and temperature (with their respective UUIDs).
I am able to run the project without any issue and connect to the device but the readings does not show properly still. I have provide the screenshots in the following for your further feedback, thank you.
For Device connect:
Next for temperature:
In the same way I have added UUID for humidity and CO2 to the nanoflow.
The UUIDs are stated here for your reference: https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/firmware_architecture.html
Here is the output of the microflow:
Bluetooth Data Page in which ConnectToDevice Nanoflow is called
And the Home_Web where the ShowBluetoothData microflow is called
My current output is as the following:
When I click show bluetooth data
When I click Connect to device, I am able to pair the device
Only shows the Pressure without any readings and does not shows the other readings (Humidity, CO2 and temperature).
This is the error message at the Mendix Studio Pro:
We managed to resolve this issue.
The characteristic variable was not declared
In line 30 instead of characteristic = c; it should be var characteristic = c;
Once this was added, the demo worked and the measurements were shown in real time with Nordic Thingy!