Eric
Do not send private messages with technical questions; they will be discarded. All technical questions must be posted publicly on the forum.
About
- Username
- Eric
- Joined
- Visits
- 9,275
- Last Active
- Roles
- Administrator
Comments
-
At a glance, the code looks fine so try overriding the failure function to see if anything is returned there
-
What exactly do you mean by total resistance of the board?
-
The MetaWear app already has a section for NeoPixels; you can use that to test strand since it looks like you have everything correctly connected.
-
Yes, you need to call readStepCounter periodically. Looks like the documentation has the wrong code, it should be setSensitivity. Most step counters probably just compute rms/rss of the acceleration data, accumulate the values over a period …
-
That project hasn't been updated in 1.5 years. You should try using the MetaWear app to control the NeoPixel strand. Just so everything is clear, which metawear pin did you connect the data wire to and did you properly ground the strand?
-
Can other apps, like the nRF Connect app find the board with a scan? Have you checked the documentation?
-
The board comes with 3V GPIO pins, an I2C bus, and a SPI bus so anything that con communicate using any of those methods can be attached to the board. A simpler way is to just store the information on a server and have your app query the data via …
-
Yes but the CR2032 battery alone is not enough to power the strand. You will need an additional power source for the NeoPixel strand.
-
Did you try my suggestion from your previous thread?
-
I said to test logging only accelerometer data not to test the processing chain without logging. Yes, and as I previously said, one of the potential causes of the problem stated in the OP can be explained by thereceivedUnknownLogEntry function bei…
-
Write your custom data to a file on your mobile device. You can search the developers page for your mobile platform on how to do that.
-
See the documentation.
-
The accumulator has the same issue.
-
Use a timer filter with a 1000ms period. You can compute the average but you will have to compute it over each axis individually. Furthermore, the average is a running average so you must periodically reset the average.
-
Yeah, it appears that the firmware always resets to 0. I'll have to talk to the firmware dev about that.
-
An update was just pushed to fix the project files.
-
What Android device and OS are you using? This sounds similar to an issue some users encountered resulting from killing an app before closing the BT connection.
-
No, we do not support writing custom data to the flash memory with the standard firmware. You can use your platform's persistent storage options to write custom data.
-
What does logcat display with regards to Bluetooth activity during the downloads?
-
What do you mean by "unclear results"? The magnetometer can still detect board movement even with the battery. For example, spinning the board around the Z axis will produce a noticeable change in the B field readings. I apologize for any misinf…
-
It's possible the infinite loop is caused by the automatic reconnect. You can break the infinite connect by turning off the bt adapater.
-
Sounds like location permissions are disabled for the app. You can manually enable that specific permission from the app settings page. Follow this thread on SO for changing the app name.
-
Your problem appeared to be related to the other issues discussed in the thread, such as receivedUnknownLogEntry being called. If it's not, then it could be that no free fall events are being recorded. A simple way to check if you have logging…
-
Sorry, what I mean is that the DLLs need to be discoverable by the executable, either residing in the system folder or distributed with the exe. You then use pinvoke/dllimport to call into it.
-
The problem here is that you need to clean up the board when you're done using it. You do this by removing the routes when you're done or reset the board.
-
The code looks fine. So, my next questions are: * Does the onFailure function return any errors when you are creating the route? * Are the other functions of the DownloadHandler called during the download? * How many entries are being downloaded?
-
You cannot stream that amount of data to one BTLE radio. You should be able to setup a stable stream for one board if you use the latest firmware (v.1.2.3) with the high frequency data signal from the C++ API. You may also need to modify the conne…
-
The removeTimers function only removes timers it is aware of. If your are running the code from a clean app state, you will either need to serialize and restore the previous API state to use removeTimers or reset the board.
-
Do you have different Android devices to test with?
-
Did you clean up the board before adding new routes?