IBeacon Development notes and ibeacon Development notes
IBeacon Development notes
2015.10.19
Airlocate
==========
Airlocate shows how to use this monitoring range clbeaconregions.
The Code also provides an example of how you can
to see the main content directly under the red letter. The reason I have access to Android under the ibeacon is because of my own mentor to the task. A URL http://estimote.com/and a sentence: Look at this site, and then try to achieve a docking with ibeacon on the Android phone.Before this, I have never heard of ibeacon and ble technology, DOT Open the site, foun
This article from http://blog.csdn.net/hellogv/, reference must indicate the source!
Last time I talked about communication between Android phones and BLE terminals, and the most common BLE terminal should be the iBeacon base station proposed by Apple. IBeacon is based on BLE. It is characterized by sending messages externally through broadcasting. Mobile phones do not need to connect to the
The previous article describes the communication between the Android phone and the BLE terminal, while the most common ble terminal should be the ibeacon base station advocated by Apple. Ibeacon technology based on BLE, it is characterized by the broadcast of external messages, mobile phones do not need to connect to the Ibeacon base station can also obtain its i
- Invalidateoptionsmenu (); - } - }, Scan_period); + -Mscanning =true;//This variable indicates whether the scan is +Mbluetoothadapter.startlescan (Mlescancallback);//This is the beginning of the scan. A } at Else - { -Mscanning =false; -Mbluetoothadapter.stoplescan (Mlescancallback);//Stop the scan . - } - //This is the Reset menu, the Stop button, the Scan button in the menu in Invalidateoptionsmenu (); -}Here's a variable m
What's ibeacon?
1.iBeacon is based on the latest Bluetooth Low-power 4.0 technology, which can be used to build a signal base station, when the user holds the IOS device into the area, you will get the push information of the base station.
ibeacon How to use
1. First of all, it is important to note that, to experience this new technology, a number of condition
order some beacon devices:
Pre-order estimote beacons; 3 for $99
Kontakt beacons come in a couple of packages; 4 for $99, 10 for $279.
Raspberrypi kits from radiusnetworks: 1 for $99
Redbearlab offers ble shields for Arduino for $30
Bleu sells USB-ibeacon dongles. 1 for $40, 5 for $150
Alternatives (alternative)
Ibeacon is not the only device developed based on ble close-up technology. Qualcomm is also dev
This article is from http://blog.csdn.net/hellogv/, the citation must be noted!The last time we talked about the communication between the Android phone and the BLE terminal, the most common ble terminal should be the ibeacon base station advocated by Apple. Ibeacon technology is based on BLE, which is characterized by the broadcast of external messages, mobile phones do not need to connect to the
This article is from http://blog.csdn.net/hellogv/ , the citation must be noted! The last time we talked about the communication between the Android phone and the BLE terminal, the most common ble terminal should be the ibeacon base station advocated by Apple. Ibeacon technology is based on BLE, which is characterized by the broadcast of external messages, mobile phones do not need to connect to the
. If OSX is used, an additional download contains a Bluetooth scan and package log)The above data already has packets, and the fixed access address, broadcast pdu header, and MAC address are removed. It only has 30 bytes of broadcast data, so it is adapted to the 31-byte limit.What makes Bluetooth broadcast an ibeacon? The format defined by Apple is as follows:02 01 06 1A FF 4C 00 02 15: iBeacon prefix (fix
Characteristics:
1 Low power: The battery is said to support one months to a year or even longer. In contrast, Wi-Fi targeting technology consumes objective
2 High precision: According to the Wisdom Map company evaluation, positioning accuracy of up to one meter, higher than WiFi
3 Customizable information can be pushed
4 more open, compatible with all Apple devices, Android 4.3 and Windows Phone device support
Disadvantages:
1 This thing is said to be launched for NFC technology, the us
First of all, tell me what ibeacon is:IBeacons is the function of the IOS7 system. Use Bluetooth 4.0 (Low power Bluetooth) for data transfer (iphone 4s + devices). Handheld devices can receive signals from Ibecons base stations within a certain range (up to 50m). Any Bluetooth device that implements the Ibeacon protocol can act as a ibeacon base station. Differen
IBeacon is a new function of iOS7. It uses BLE to implement indoor positioning and is accurate to the centimeter level.
The test uses two iPhones (BLE supported), one as the iBeacon base station broadcast signal, the Code uses the official source code AirLocate, and the other as the receiving end, directly using the AirLocate downloaded by the App Store ).
1. Main broadcast code
NSDictionary * peripheral
UUID. different services and features can be differentiated by UUID.
Services and characteristic features in a device are provided by hardware vendors of Bluetooth devices. For example, which services are used for interaction (read/write) and which module information can be obtained (read-only) and so onCore Bluetooth development steps
Create a central deviceScan peripherals (Discover Peripheral)Connect peripherals (Connect Peripheral)Scan Services A
This error translation means: You cannot create handler in a thread that does not have looper.prepare.At first I was puzzled that I did not use the worker thread at all, nor did I create a handler. The code for the error is as follows: //Device scan callback. PrivateBluetoothadapter.lescancallback Mlescancallback =NewBluetoothadapter.lescancallback () {@Override Public void Onlescan(FinalBluetoothdevice device,intRssibyte[] Scanrecord) {FinalIbeaconclass.ibeacon
information. ( Read only ) etc.
Development Steps for Core Bluetooth
Establishment of central equipment
Scanning Peripherals (Discover peripheral)
Connecting Peripherals (Connect peripheral)
Scanning services and features in peripherals (Discover services and characteristics)
Data interaction using features and peripherals (Explore and Interact)
Disconnecting (Disconnect)
current status of BluetoothMost
Founder ES2007 focuses on solving the current situation of low efficiency, complicated technology, changeable demand, difficult maintenance and so on, almost no coding, with pluggable components as the core to realize software automation, creating observable and manageable enterprise application in visual environment.
ES2007 integrates the running framework, component library, development environment and auxiliary tools, realizes user management, priv
Rapid app development. This rapid development framework integrates PC and mobile development to make development more enjoyable !, Apppc
I have published many articles on rapid PC development, but now more and more projects require the combination of PCs and mobile terminals
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.