1 of 1 people found this helpful
Yes what you have done is correct, the WICED sense firmware has the code architecture for the sensors to be shut off, but the hardware is not designed to do that. So on changing those options you would still read the sensors value.
After building the firmware and downloading it via usb to the device, what do I have to do to insure the code is running?
There seems to be some sequence of 'reset' button, usb unplug, etc...etc... that I need to do to reboot the device.
Sometimes when I build and download it, it starts running. But if I then repeat the same build and download it reports a 'not a recognized device' error.
At this point, you will now need to make sure the WICED Sense EVB is placed into programming mode (in Application Mode by default). Follow the guidance in the thread here: Re: Hackathon - Embedded Tips and Tricks
Note that some have gotten this to work by holding the wake button for 3 seconds, but I had to crack the kit open and hit reset to get the part into programming mode.
This is a very common issue.
You can use one of the available BLE Explorers to verify using your smartphone that the app is running.