Lisent to bluetooth activity in pebble-js-sdk - pebble-watch

I know to listen on bluetooth connection/disconnection activities using the Pebble C SDK.
How to achieve the same using the javascript SDK ?
Thanks

There is no equivalent event service in the PebbleKitJS API. It is simply not possible.

The PebbleKitJS API cannot be used to build a Pebble app, it is only a method of transferring data such as GPS location and internet information.
You would not need to know if the Pebble was connected as the program would only run when called upon by an application installed on Pebble.

Related

Making a direct API call from WearOS watch over WiFi without phone connectivity

I am not Android/WearOS savvy so apologize in advance to those who are eager to push down arrow button.
I am looking to put together a proof of concept that would read sensor data from Android/WearOS watch and send it to an Azure API EndPoint over WiFi without needing or intervention of phone. As we understand that latest WearOS devices can directly connect to WiFi.
First of all can WearOS watch make a direct api call over WiFi? If not then please advise!
If so has anyone done similar work or point me in the right direction. Please share sample code or how to tutorial.
Many thanks.
Have you looked at the official documentation page for this? https://developer.android.com/training/wearables/data-layer/network-access
It has a step-by-step walkthrough of the process of network communication from Wear OS, as well as sample code.

Can not make a phone call in test

I have made a phone call in my android instrumentation test in test-lab, but it failed because the device in the test-lab can't connect to the mobile web. How to solve it?
I would recommend asking on the official Slack channel (firebase-community.slack.com, #test-lab), since the Firebase Test Lab eng team can directly look at your test runs. There are also other users that may have run into the same issues as you.

Can Fabric be used to log events from the backend?

We're using Fabric for our mobile apps and now we'd like to also log some events and data from the backend directly. Is this possible?
that's not currently possible but something interesting for us to consider. All events need to be called via the device.

Does wp7 have sdk to read phone data transfer

I hope to get the data transfer info.
I have done the same thing on iPhone but not sure if wp7 sdk has the same function?
No, at the moment, there is no data transfer API. I assume you mean total data usage from other apps and the phone in general. You could monitor your own app by manually making web requests and storing the bytes used but there's no way to monitor how much is being used by other apps.

Can Connect to 3G Modem via GSMComm but cannot see any SMS

I'm trying to write an application that receives SMS messages into the app I'm developing (in C# if you care :). Research indicates the best bet is to use GSMComm library.
I've downloaded the library and using the demo app I have managed to connect to the 3g modem (a Huawei E1756) but when I query it for SMS's received it comes back with 0.
Interestingly if I use the software that comes with the application then I can see the messages.
Anyone got any clues on why this would be? Or other tips on how to retrieve the messages?
Cheers,
Kym
Depending on how the modem is setup, messages can be stored on either the SIM card or in phone memory.
I would check that the demo app is looking in both places for old messages.
I use gammu's smsd which can write to a database which you can then use your c# with.
it is supports a wide array of phones and modems including many Huawei models
http://wammu.eu/phones/huawei/
It runs on windows and linux and has worked well for me.
http://wammu.eu/smsd/
the database has a simple inbox and outbox tables that you can use.
Try Clickatell to get an idea http://www.clickatell.com/brochure/coverage.php

Resources