Microsoft Band 2 GPS Info - microsoft-band

Does anyone know if there is a way to access GPS data from the Microsoft Band 2 using the SDK? I've been playing around in Android Studio but don't see it listed in the Sensors part of the packages that Microsoft provided to developers. Any ideas?

The Band SDK does not expose its GPS sensor. The application using the Band SDK is typically running on a mobile device that has its own GPS sensor (accessible to the application) as well as a far larger battery than the Band. Therefore, there is generally little reason for an application to use the GPS sensor of the Band.

It seems like there is actually no way to access the GPS using the SDK.
You have only the following sensors available:
Accelerometer
Gyroscope
Distance
Heart Rate
Pedometer
Skin
Temperature
Band Contact
Calories Provides
Galvanic Skin
Response (Microsoft Band 2 only)
RR Interval (Microsoft Band 2 only)
Ambient Light (Microsoft Band 2 only)
Barometer (Microsoft Band 2 only)
Altimeter (Microsoft Band 2 only)
Source: http://developer.microsoftband.com/Content/docs/Microsoft%20Band%20SDK.pdf
"Waypoints" from activities could be retrieved from the Microsoft Health API.

Related

How many channels would be needed for my EEG device to create a biometric application?

I'm looking to buy an EEG device that has a range in how many channels it provides. For example, Muse S has 4 channels, while Neurosity has 8. Others have 32 channels, etc.
Is there a specific number of channels I would need to be looking for in my EEG device to successfully build a biometric application around EEG.

Advertising and connection establishment using nRF52 DK with nrf52832 chip on Segger Embedded studio

I want to know how to send out an advertisement with some specific user number and data such that a connection can be established using the the sdk 15.3.0.
could anyone suggest me what changes i need to make in the ble app beacon code given in the sdk examples.
Thanks
One idea would be to start with the ble_peripheral example of the Nordic SDK.
You can find the following two guides on their forum : https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial and https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial
This explains how to build a custom service with a custom characteristic to handle read / write and notification of values from the embedded device to a BLE central device (e.g: smartphone).

Access Microsoft Band 2 sensors through computer

I'm trying to write a program that collects the pedometer and
heart rate data stream from the Microsoft Band 2. I've written an
android app that does this but is it possible to do this without a
smartphone and directly stream the data to a computer?
Yes, the Band SDK can be used with Windows Store 8.1 and Windows 10 Universal applications; you just Bluetooth-pair the Band to the PC and applications can stream sensor data from the Band just like their phone equivalents.
The Band SDK does not support OS X and I don't know whether it can be used in any arbitrary device running an Android-derived OS.

Detecting Sound on a Band

I have an idea that would require detecting sound near the Band. Is it possible to put the Band in listening mode from an app on the Band? If not is there another sensor like the barometer that is sensitive enough to do the job?
The Band audio sensor is not accessible by 3rd party apps.

zigbee module talks to humidity / temperature sensor

I just bought a gateway equipped with the zigbee module (zigbee pro stack ). Also, I bought a zigbee humidity / temperature sensor as well.
It's HA profile and humidity / temperature cluster Id.
There is an operating system (WindRiver) running on this gateway.
To write an application to read the value sent from zigbee sensor, where should I get to start?
Is there any document available? like defining the data structure for the temperature / humidity ?
Thanks
Start with the Gateway documentation. The company selling it should provide enough information to you that you can discover devices (like the sensor) that have joined the network, and then discover the endpoints, clusters and attributes on those devices.
The ZigBee Alliance has documentation for various layers of their network stack that you'll want to understand if you're going to work with the ZigBee Home Automation profile.
The ZigBee Cluster Library (ZCL) defines attributes and general functions for discovery, reading, writing and reporting on them. You should have a basic understanding of ZCL as a foundation for working with ZigBee.
For the Home Automation Profile, you may need to join the ZigBee Alliance to gain access to the specification. I wasn't able to find it with some quick Google Searches. It will list all of the attributes, their data types, and what values they represent. From that, you can create ZCL Read Attribute Requests to read the values and process the responses.
Sorry, but without knowing the gateway that you are using it is impossible to know the API and what the functions are for joining, discovering and controlling devices. There is no "Standard ZigBee Gateway API", each gateway will implement its own. Some may offer a high level interface with API's for controlling devices, others will send "raw" messages where you will need to form the ZCL command your self. The ZigBee Gateway here:
Free SW SDK (Z-STACK-LINUX-GATEWAY): http://www.ti.com/tool/z-stack
HW Reference Design: http://www.ti.com/tool/CC2531EM-IOT-HOME-GATEWAY-RD
Has a well documented API with features like:
- Open Network
- Close network
- Device discovery
- Turn Light On/Off
- Read Temperature
- Read Humidity
It has an open source node.js example application which offer a local web interface and connects to a cloud service (this also includes connecting to and configuring reports for humidity and temperature sensors, as well as connecting to and controlling Philips Hue Lights):
https://git.ti.com/zigbee-iot-agent/zigbee-iot-agent
An example JAVA application is also available:
https://git.ti.com/zigbee-iot-agent/ti-zstack-linux-gateway-java-cmdline-example
Regards,
TC.

Resources