afzaal
About
- Username
- afzaal
- Joined
- Visits
- 290
- Last Active
- Roles
- Member
Comments
-
I am able to stream data from multiple sensors (2) @100hz on raspberry pi 3 windows 10 ioT.
-
Eric, while collecting gyro data streaming why sensor get disconnect even battery is full. Is there any command or code to check the device is disconnected or connected or restored in Win 10? I am doing following steps; let me know if need to…
-
Thanks Eric, I am getting firmware revision. now signal strength part is left for paired/connected ble device.
-
BluetoothLEDevice and DeviceInformation classes not giving the frimware version, even tried with requested properties.
-
Through subscribe Battery state API, start getting battery charge and voltage values. It works. Using BleBluetooth Advertisement Watcher to get RSSI (resource signal strength indicator). For unpaired devices receiving singnal strength dBm value. Bu…
-
The reason found was the callback function received_data handler not stay live which is passed to following api; mbl_mw_datasignal_subscribe(signal, received_data);
-
it is not working even at 25, 50, 100Hz for gyro data, Tried with new high freq api and also with old. Testing with firmware 1.2.4. Same issue with latest firmware 1.2.5. I found the exception occur in cpp SDK 0.5.22 file metawearboard.cpp in foll…
-
I am facing same issue. Trying to get data stream (gyro or accelerometer) from two metawear sensors at 100Hz using high frequency data signal API with out processing data. Even trying to collect only accelerometer data using high frequency stre…
-
More I made changes in UWP starter as described in Firmware v1.2.3 Support and API Refactoring; * Deprecated mbl_mw_connection_notify_char_changed and mbl_mw_connection_char_read * Replaced with mbl_mw_metawearboard_notify_char_changed and mbl_…
-
After debugging I able to resolved it and now getting gyro data. New change in sample is; - First parameter of writeCharacteristic() is boardPtr and 2nd parameter is gattCharPtr. - Same case for readCharacteristic(). As these to function poi…
-
When I pair one board and then create board, initialize and config, I can stream at around 100Hz from that board.And then when I pair second board (and no creation/initialize), the first board rate fall to 16HZ. More I do further step, board creat…
-
1. Yes, I can stream 100Hz from each board if only one of them is connected at a time.2. Yes, I am using correct cppBoard for each board to call set_conn_parameters.
-
Eric, Connecting two metawear boards and also setting connection interval for both mbl_mw_settings_set_connection_parameters(cppBoard, 7.5f, 7.5f, 0, 6000);. With ODR_100HZ config for both boards, getting gyro sampling for one board at rat…
-
I restart the Raspberry Pi board couple of times and also unplug and plug the usb bluetooth dongle, and ran application again. Now it start giving gyro sampling rate between 90-100, I tested for 60,000 and more samples.
-
Yes, after changing the connection interval, I disconnect and then reconnect the board. I am running application on Raspberry Pi 2 Model B with OS Windows 10 IoT Core. And using USB Bluetooth CSR V4.0 dongle.
-
Settings connection does not change the result. Rate falls below 30 after 2500 or 2600 samples.
-
At last I was able to fix the issues and able to run UWP application smoothly on Raspberry pi 2.As Eric advice, make sure all references which are passed to C# wrapper functions should be alive. My application is based on https://github.com/mbientla…
-
Issue I fixed by keeping alive the references which are passed to the C# wrapper functions.
-
At last I was able to fix issue, As per your advise I kept reference alive of handler which is passed to the method mbl_mw_datasignal_subscribe(state_signal, rot_handler);No more exception occurs and getting gyro data smoothly.
-
After some efforts I am able to avoid this exception. but now I am getting exception in notifyHandler on api mbl_mw_connection_notify_char_changed. Exception of type 'System.ExecutionEngineException' was thrown some time it works for few seco…
-
same issue, after few seconds gyro stops and start getting exception on notifyhandler. Where to fix this?
-
I tried with Windows 10 IoT for Raspberry Pi 2, and able to run UWP C# app. But app crashes either dumping data after few seconds or give null reference exception at notifyChar = bldv.GetGattService(GattCharGuid.METAWEAR_NOTIFY_CHAR.serviceGuid).Get…
-
The callback function is wrapped in FnVoidPtr but still app crash after few seconds dumping accelerometer data. Any idea how to solve this issue?
-
Mostly I am getting Null Reference Exception at following code and some time it works:notifyChar = btleDevice.GetGattService(GattCharGuid.METAWEAR_NOTIFY_CHAR.serviceGuid).GetCharacteristics(GattCharGuid.METAWEAR_NOTIFY_CHAR.guid).FirstOrDefault(); …