I'd like to find any BLE devices within range of a Garmin ConnectIQ enabled watch.
Is there anyway on a Garmin ConnectIQ device (e.g. Forerunner 235) to scan for nearby BLE devices?
There is no way to do this using the existing watch API calls as of ConnectIQ SDK 2.2.1 which was released on November 8, 2016. Instead you would have to write a companion mobile app (for Android and/or iOS) which you would then use to find nearby devices. The mobile app could then pass on whatever information needed and in turn carry out actions based on input from the watch.
See more details on companions apps here:
https://developer.garmin.com/connect-iq/programmers-guide/android-sdk-guide/
https://developer.garmin.com/connect-iq/programmers-guide/ios-sdk-guide/
Related
I am developing an Online Attendance System.I have a biometric fingerprint device plugged in to my PC and I want to get the fingerprint data in my angular app running in the browser so that I can authenticate it.How can i allow my browser to read the data from that USB device.I have read about some SDKs like WebUSB by Google but I am not sure whether it is the right technology.
WebUSB seems like promising though available from Chrome 64 only.
People using other browsers & older versions may not be able to use it.
https://caniuse.com/#search=WebUSB
Also, no polyfills are available for WebUSB now.
I want a scenario where in I have a website and when I connect my mobile device to my pc or laptop, the website must be able to detect the phone and not the phone browser. As in it should detect if my phone is an iphone or any other mobile device. How can I achieve this?
Basically if I have a downloadable application and a list of compatible devices and when a device is connected, a compatibility check needs to be done and the software has to be downloaded directly! Is this possible?
you must build an APP and not a WebAPP or website.
the browser cant send relevant information such MacAddress or IMEI then you cannot do it with a simple website.
In javascript you can detect navigation browser and it has some extra information about the kind of device (like Android, Motorola, etc). For example this.
Is it possible to restrict supported devices (only smartphones or tablets) on App Store / Google Play?
yes you can do it. When you go to developer console, there is an option to select the devices you want to support.
When you expand the supported devices option inside developers console, you get the list all devices which can currently run your application. You can include/exclude devices over there.
Edited:
there's already an dicussion on that -
How to restrict android app to specific device make?
I want to write GAE based application that synchronizes information between computers/phones. Right now I am only querying periodically, which causes delays or requires user to click a button to refresh manually.
With GAE channels, it should be possible to do it this way that a device can be notified when it should refresh. However, since I want it to be a desktop app (not web app), I am wondering if I can write my own client to channel API? Or grab whatever's out there.
Is the protocol documented or are there clients available for anything other than JS?
The only official interface is the Javascript client library. Although you could reverse-engineer how it works, since it's not a documented part of the interface, it could change at any time without notice.
If you're interfacing with Android phones or iPhones, each of them has a 'push' messaging API that you could use (Cloud to Device Messaging for Android, and Push Messaging for iPhone).
There is now a Java implementation for the Channels API. It was just released days ago and is available via git at https://github.com/gvsumasl/jacc. I've also taken the liberty of forking it and providing a mavenized version at https://github.com/hatboyzero/jacc.
Is it possible in a GSM mobile phone OS (e.g. Android, Win Mo, Symbian, etc.) to have some kind of background task or application able to exchange data at the same time with a web server and a secure element of the mobile?
The purpose if for the web server to be able to push APDUs to the secure element (an retrieve response APDUs) without activating the IHM of the mobile.
NB: I know that this is possible when the secure element is the one managing the GSM baseband, for example using BIP as described in Ulysse specifications. My question is only when using another secure element (e.g. Java Card in a microSD).
Sorry, I used the French acronym "IHM" in place of "MMI" (man-machine interface).