What is in BLE Advertising data? [closed] - ios

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to implement Bluetooth low energy in one of my projects, using an iPhone and a HM-0 BLE module.
My question: is it possible to read service UUIDs (or even their characteristics) after scanning, without having to actually connect to the peripheral?
The point is whether or not it is possible to put the list of Service UUIDs and the value of their characteristics on the advertising data.

The way to achieve what you want is to add the available services to the advert report. This functionality is module-dependent and there are many modules that do not allow you to do that. I had a quick look at the AT commands of the HM-10 and it seems that this module is one of them.
Please note that with BLE you can add whatever you want to the advert report, and program your iPhone to read the data accordingly. However, If you want full-fledged BLE communication (i.e. reading characteristic values, etc) then your best option is to connect to the device.
For more information, take a look at these useful links:
http://letsmakerobots.com/node/38009
http://letsmakerobots.com/node/39795
http://www.jnhuamao.cn/download_rom_en.asp?id=66
I hope that this helps.

Related

Building an Ios application to track the exact location of the devices within a building [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
i am planning to build an ios application in which system can locate the device position with time being for specific place only within a building.. Such as when student entered into the school and if the student has attended the certain lecture or not and if has then for how long he/she has been on that certain class room? However, i don't have the clear idea about what is the best way to implement device locator and how the data is achieved from the device..i have just starting list out the features and design server side structure and it would be much more better to have clear picture of those things. So, can you guys please suggest me something better or some source where i gain detailed idea about that? thanks in advance.
I agree with MMR. You want use iBeacons, and Apple's Core Location framework.
You'd put a beacon at each location you want to monitor.
You set up "beacon regions" and the system notifies your app when the user enters or exits one of those regions.
On challenge you will face is that the system only allows an app to monitor at most 20 regions at a time. There are ways to deal with this, but it takes deep understanding of how beacon regions work and some creative work.
I am working on an app for a client right now that makes heavy use of beacon regions and is able to track a nearly unlimited number of beacons.
Google for iBeacon. It seems to be a perfect fit for the use-cases listed by you.
Also refer to this link for Apple documentation on iBeacon.

Suitable API for using IoT devices? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am writing an IOS app and want to be able to connect to IoT devices (get data from them). I want to be able to search an area for IoT devices i can connect to; (whether they be weather stations, seismographs, etc) (and potentially filter out devices of some sought if possible).
Is there an API which offers this? (finding IoT devices in an area), if not, is there another fairly straight forward way i could do this?
There is no way to simply "search for IoT devices". I'm afraid that you might have a misunderstanding of IoT devices are and how they exchange data. They can send data via bluetooth, wifi, etc. so not knowing what listen to is your first challenge. Second challenge is that even if you could see all of them and lets say but some super natural force you can connect to them, you'd have no idea the format of the data. A seismograph could be pumping out data that looks just like a weather station data.

Is it possible to develop an app that reads other apps' usage data? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
With the new app-extension kit, I'd like to know if it's possible to build an app that tracks various usage statistics of other apps. For e.g., the no of times someone uses their calculator or the no of minutes spent on Quora.
This is a really nice idea to enhance the ability of iOS system. However, even in iOS8 this is unlike to achieve. Apple has offered so limited APIs for APPs to access other APPs. In those APIs, I cannot find any one to record other APPs' launching or closing. (Except you call that from your own APP so that you can record the time, but this is meaningless.)
In the official document for App Extension Programming, manager for APP is not a type that is mentioned in the guide. I'm afraid that you have read it and it cannot give you more help.
I tried to do research on the most detail list of iOS APIs to find whether this is possible. But since iOS5.0, Apple no longer provided the API diffs. Here is the search result.

Can we make an app that uses the camera and make a call at the same time? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I know I can't record a video while I'm on my phone in general and that if the capability existed or could exist that it would be a feature/option.
Are there apps that do this and if it can be done can someone help me get started code wise?
EDIT
Because there seems to be some confusion as to what I'm asking, I will clarify:
Are we able to launch phone calls using the iPhone regular calling feature and use the iPhone regular movie creating feature (the video camera) at the same time in an APP - as we know it can't be done generally.
Yes and no. You can't use Apple's built-in camera and phone to do it. But, obviously there are many apps (i.e. Skype and others) that use both camera and voice features in their VoIP implementations. So, it would take a custom camera and VoIP to accomplish this.

fiscal printer for iOS [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm developing an iOS application for a bar, it will be used by the waitress, when the an order it's completed the application should be able to print the receipt using a fiscal printer.
I've never done something like this. does any of you have any experience?
would you be able to suggest a specific device that allow an easy integration with an iOS app? are there any standard protocol?
You can use two SDKs distributed by printers manufacturers that work great with the iPhone:
http://www.crs-usa.com/softsnbc.asp - this one works with SNBC BTP models, and the printer should have Wi-Fi or a Ethernet cable to connect to the same network.
http://www.starmicronics.com/ios-android.htm - this one works with Star printers (the same ones Square uses)
In both cases, the SDK needs to get connected to the printer IP, and this can be quite tricky/complicated in the beggining.
But I would start deciding which printer to buy/support, and then start implementing it.

Resources