4S or newer
Third-generation iPad or newer
IPad mini or updated
Fifth-generation iPod touch or updated
System version 7.0 or later
Test results: the signal of the received signal is mild to-90, and the valid distance is about 30 m.
Purpose: Bluetooth BLE, positioning, smart home, etc. I also made an app for punching in at work. Only within the valid range can I be successful.
UUID, Primary, Secondary identifier
If you are not familiar with
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
identifies ibeacon is the Scanrecord array. According to https://github.com/RadiusNetworks/android-ibeacon-service/blob/master/src/main/java/com/radiusnetworks/ Ibeacon/ibeacon.java, identify whether ibeacon by the following red words:
Airlocate:1a 1a FF 4c # Apple ' s fixed ibe
calculateAccuracy(int txPower, double rssi) { if (rssi == 0) { return -1.0; // if we cannot determine accuracy, return -1. } double ratio = rssi*1.0/txPower; if (ratio
However, in practice, the distance is only an estimate because the human body or other communication barrier may weaken the signal.
IOS Integration)
IOS has integrated ibeacon. When you enter the beacon scope, your application can
bluetoothdevice device, int rssi, byte [] Scanrecord), and the information that identifies ibeacon is the Scanrecord array. According to https://github.com/RadiusNetworks/android-ibeacon-service/blob/master/src/main/java/com/radiusnetworks/ Ibeacon/ibeacon.java, identify whether ibeacon by the following Scarlet Letter
bluetoothdevice device, int rssi, byte [] Scanrecord), and the information that identifies ibeacon is the Scanrecord array. According to https://github.com/RadiusNetworks/android-ibeacon-service/blob/master/src/main/java/com/radiusnetworks/ Ibeacon/ibeacon.java, identify whether ibeacon by the following Scarlet Letter
length) - theBD b8-8C One- A 6B-ac3F- - $ 8C - theA3 (Proximity UUID)Geneva 4b1099, Major)Geneva +(888, minor) C6 (remember this is the complement, the conversion to the original code is- -, the ibeacon signal emits a strength value that is used as the benchmark for distance measurement with Rssi, txpower) calculation C61100 0110Complement1100 0101Anti-code1011 1010Original Code-( ++ -+8+2) - -0C09 (un
,major,minor sum length). BD b8-8c 11-41 6b-ac 3f-33 8c 27 A3 (Proximity UUID) 4b (1099,major) (888,minor) C6 (Remember that this is the complement, converted to the original code is the -58,ibeacon signal intensity value, used as the benchmark for measuring distance with RSSI, Txpower) Calculation C6 1100 0110 complement 1100 0101 anti-code 1011 1010 Original code-(32+1 6+8+2) -580c09 (unknown) 417072696c4
. 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
@property(readonly, nonatomic, strong) nsnumber *Major @property(readonly, nonatomic, strong) nsnumber *minor Determining the Beacon Distance (determine distance attribute)@property(readonly, nonatomic) clproximity proximity The value of the gives a general sense of the relative distance to the beacon. Use it to quickly identify beacons is nearer to the us
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
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
Recently the company is engaged in Ibeacon, because the company another learning Android, and the rest of the people, only I touch Java, Android, so I only to do this.Statement, I am a C # programmer, Java, Android are weak, just slightly involved, do not understand, the error, a lot of advice.At first, I search the Internet ibeacon information (using Baidu, alas, it seems I am 2B programmer AH), the most d
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
This paper mainly discusses some distance formulas of text similarity calculation, including: Euclidean distance, cosine similarity, jaccard distance, editing distance.
Distance calculations can be used in many scenarios, such as clustering, K-nearest neighbors, machine lear
1. Manhattan Distance: Red and blue yellow are Manhattan distance, green for European distance.
2. Continental Distance: The shortest distance between two points based on space
3 Chebyshev distance (Chebyshev
A few days ago, I saw a post on the CSDN forum that needed to determine the number of characters in the difference between two strings. I have learned some algorithms to calculate the difference, but I am not familiar with it. let's take a moment to understand the Levenshtein Distance (Edit Distance) Editing Distance and character similarity algorithm.
For detai
Town Field Poem:The Pure Heart sentiment wisdom language, does not have the world name and the benefit. Learn water under the hundred rivers, give up arrogant slow meaning.Learn to have a small return to feed root, willing to cast a conscience blog. Sincere in this writing experience, willing to see the text to inspire.——————————————————————————————————————————CodeResultThis is not an effective experiment in Firefox. After switching to IE, the following results appear:———————————————————————————
If the two-coordinate columns are (x1,y1), (x2,y2), then the distance between them:SQRT ((x1-x2) * (X1-X2) + (y1-y2) * (Y1-Y2))SQL sortSELECT * from M_storeORDER bySQRT ((121.517759-' longitude ') * (121.517759-' longitude ') + (31.178469-' latitude ') * (31.178469-' latitude '))PHP Compute Distance/*** Find the distance between two known longitude and latitude,
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.