How to Integrate two Health devices like Bp monitor and Weightscale??Can We Register both health deviecs at the same time??
Technically possible but haven't found a generic app supporting multiple type of sensors(devices). Haven't seen an app that records both Bluetooth Blood Pressure monitors, bluetooth oximeters, bluetooth weight scales and bluetooth heart rate straps etc. There are apps from suppliers of sensors but haven't seen one supporting multiple sensors. Some sports apps support of recording heart rate straps and oximeters but not any other.
Technically they all use generic protocols and streams for one type of sensor but seems like developers are not interested in all types of sensors, not even most.
Related
we are creating a game for android and iOS, where we want to modify the story based on relaxation/stress levels.
We are thinking about using heart rate sensors like the Polar chest sensors and similar.
I was wondering if any knows about a repo to include in our app to handle the Bluetooth part of the sensors, we don't have experience with accessing to hardware, we implemented some connections and readings but connection is unstable, sometimes it connects, another's connection is lost, sensor is not found....
Thanks in advance
take a look at the developer's page of https://www.rookmotion.com/api, it is an app already made for heart rate monitoring but also has an SDK for third-party developers
I know every device transmits bluetooth at a different frequency. Any way to change the frequency. I want to change the frequency of BLE specifiaclly.
Given that the radio technology used in Bluetooth Low Energy is known as frequency hopping the answer is NO not as a developer as that belongs to the BLE driver level.
Realize that the range frequencies used to communicate between devices are collectively grouped into channels and that Bluetooth can switch between channels at 1600 hops per second so the notion of a third-party app being able to modify a lower level protocol seems undesirable as simply a security and separation of concerns matter.
Update
is it possible to change it at a device level. when i add a Bluetooth component(peripheral) to the device
Without more detail as to what and how you want to change the radio, I can't say. However:
What if I'm building the device from scratch
You'll need to learn how to read a datasheet which is provided by the chip/peripheral manufacturer. The datasheet will provide detailed physical connection information and details about the wire/software protocols necessary for operation. The datasheet for a chipset is roughly the API to the hardware, generally obtainable by using your favorite search tool, so if you do have a specific modification in mind, the datasheet should inform what is possible or not.
At this point you are at a level below the types of programming questions that StackOverflow normally operates at and should look to: https://arduino.stackexchange.com/ or https://raspberrypi.stackexchange.com/ or https://electronics.stackexchange.com/
Is there a way to possibly shorten the distance that two Bluetooth devices can connect in?
To my knowledge, the shortest maximum range is about 30 ft or 10 m. I am developing an android (and later an iOS) app to function with a Bluetooth-capable device (being developed). The product being developed requires certain features to be accessed remotely, but security/safety concerns require that the range not be too extensive. Originally the intention was to have the android app function similar to a TV remote (using IR), but the addition of IR capabilities to the product is an additional (significant) cost, and the device already has Bluetooth capabilities. Is there a way to shorten the range of connectivity to, say, 10 ft? Would this be a feature implemented statically in the hardware, or could I allow the user to set the max connectivity range of the product? (some customers may require more or less security)
I may be able to utilize different connectivity options (Bluetooth, IR, NFC, etc.) but it seemed that Bluetooth would fit the needs of the product best. However, I am open to new ideas.
There are multiple factors that can affect the Bluetooth range such as:-
Receiver Sensitivity
Transmit Power
PHY used (relevant to BLE only)
I highly recommend the link below as it provides a rough estimate of the range when tweaking the different parameters:-
https://www.bluetooth.com/bluetooth-technology/range/?utm_source=li&utm_medium=social&utm_term=social&utm_content=li-btrange-boost&utm_campaign=range
I hope this helps.
I would like to know if there is any way to receive Radio waves of particular frequency through an Android phone?
If it is not possible, I would like to know the best way I can locate/communicate with a device(IC chip) within round 200 meters of the Android phone (eg. through Bluetooth or Wi-Fi)
Thanks for your patience.
To receive radio waves of a freq, you would need specialized hardware. You can think of bluetooth and wifi chipsets in your phone as a kind of specialized hardware that is tuned to receive the respective frequencies of BT and wifi. Basically, RF waves are electromagnetic waves with some frequency. So, any antenna would be able to catch them. But since there will be a large number of waves which will be transmitting data at different frequencies, a hardware unit takes input from the antenna and filters out the unwanted frequencies(there are many problems to process the input directly at software level, google it).
To locate a device you could use the signal strength of bluetooth or wifi which is provided directly by the OS to the app level (like RSSI).
If someone wants to write a android application that interacts with a physical device, specifically a reader using mobiles audio jack
(e.g. Like how Square Inc is doing ) how is this done?
Is there a api's to interact with the reader and get the cards data?
When a company creates a reader (physical device) does it provide relevant apis?
Are the physical details abstracted from the application programmer?
I have found the AudioRecord class which can record magnetic stripe data from audio jack
But I can't fiqure out how to capture the actual card swipe event and
to extract the meaningful data from RAW DATA
Can any one help me with this
Any input is highly welcome!
The way this usually works is by encoding the data signal sent out by the device, like the card reader, in such a way that is can be decoded on the other end. Sound is a wave, and different amplitudes correspond to different loudness, and different frequencies correspond to different pitches. Imagine you have a sine wave, that varies between a high and a low frequency that are sufficiently different from each other so as to be easily distinguishable. The device sending out binary data (0's and 1's) can translate this data into an audio signal that varies by frequency (an alternative is varying amplitude). The receiver, in this case the mobile device, decodes the signal back into 0's and 1's. This is called "Frequency-shift-keying" (check out more here: http://en.wikipedia.org/wiki/Frequency-shift_keying).
The simplest way to implement this is to try and find an open library that already does it. The device sending the data will also need to contain some kind of microcontroller that can perform the initial modulation. If you come across any good libraries, let me know, because I'm currently
looking.
To answer your question, companies do not generally provide APIs etc to perform this.
This may seem like a lot of extra work to convert a digital signal, into an audio signal, and back, and you're right. However, every mobile device has essentially the same headphone jack, whereas the USB port on an Android is drastically different from an iPhone's lighting connector, or the connector in previous iPhones. Sending wirelessly through a network or Bluetooth is also an option, but they have their disadvantages as well.
Now the mobile device must be using a special headphone jack that supports microphones, otherwise it cannot receive input, it can only output sound. Most smartphones can do this.
Radios work on this principle (FM = Frequency modulation, AM = amplitude modulation).
Old dial up modems used FSK, which is why you heard those weird noises each time it connected.
Hope that helps!