Dsads1. OverviewHCI supports four types of grouping:
Command group commands Packet
Asynchronous data grouping asynchronous Packet
Synchronous Data Packet
Events Group Event Packe
The grouping type is a byte value before the HCI group. The packet type has the following values:
Packet
Packet Type
command
1
asynchronous Data
2
synchron
This is a bug that bothered me for a long time, I downloaded various code, cut it, and compared to my own code found, currently resolved but do not know why.Bug Description: The Centralmanagerdidupdatestate proxy method does not automatically callback when the Cbcentralmanager agent is set to the current controller.Paste the correct code first, you can perform to print.#import "ViewController.h"#import@interfaceViewcontroller () @property (nonatomic, strong) Cbcentralmanager*Mgr;@end@implementat
BLE-NRF51822 tutorial 5-static password settings
NordicBLE Contact Group 498676838This lecture introduces some related theoretical knowledge about pairing and describes how to set a "static password ".
The program is a uart demo Based on sdk9.0
In addition, the mobile app used for testing is lightblue in IOS.
The correct statement here should be a pair code, not a password. Enter this pair code as an optional part of the pairing process.
Before intr
In a BLE development project, I use TI's CC2541 bluetooth ble SoC, in order to prevent the master-slave device connection disconnection data loss, the hardware added an EEPROM, when the Bluetooth connection, through the notify to the host, but when the Bluetooth connection is disconnected, The collected data is stored in the EEPROM (I²C), in order to achieve this, you need to get the Bluetooth connection st
I am implementing a application on Android using BLE Api (SDK), and I had a issue that the transfer data process is de Lay very slow. This is my log.
03-12 16:20:05.121:d/bluetoothgatt (13578): writecharacteristic ()-UUID: ...
03-12 16:20:06.272:d/bluetoothgatt (13578): Oncharacteristicwrite ()-device= ... Uuid= ... Status=0
03-12 16:20:06.972:d/bluetoothgatt (13578): writecharacteristic ()-UUID: ...
03-12 16:20:08.254:d/bluetoothgatt (
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
I. Overview of bluetooth BLE (Bluetooth low energy) Introduction
Bluetooth Low Energy (BLE) technology is a low-cost, short-range, interoperable robust wireless technology that works in a licensed 2.4GHz-ism RF band. It was designed to be ultra low power (ULP) wireless technology from the outset.
The three characteristics of Bluetooth low energy technology have achieved ULP performance
This blog post last modified: January 06, 2017, 11:06.
First, Introduction
This article takes simplebleperipheral as an example to introduce how to customize the normal IO port (P12) as a key.
Note: This article adds the key method does not conflict with the protocol stack's key, the protocol stack to carry the key to still be able to use normally.
second, the experimental platform
Protocol stack version: ble-cc254x-1.4.0
Compiling software: IAR 8.2
BLE-NRF51822 tutorial 3-SDK framework profiling
NordicBLE technology exchange group 498676838This section describes the framework and does not involve too much code details.
51822 of the official sdks are actually not framework-resistant. What is a framework? For example, TI's ble sdk has an operating system abstraction layer (OSAL) which is a round training scheduling. You need to create tasks according
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
This article describes the android BLE Bluetooth 4.0, that is, API level >= 18, and Bluetooth 4.0 mobile phone can be used, if the phone system version API level First send the official demo, interested in the past to see: http://developer.android.com/guide/topics/connectivity/bluetooth-le.html. Android system more than 4.3, mobile phone support Bluetooth 4.0, with search, pairing, connection, Discovery service and eigenvalues, disconnection and other
This article describes the android BLE Bluetooth 4.0, that is, API level >= 18, and Bluetooth 4.0 mobile phone can be used, if the phone system version API level first send the official demo, interested in the past to see: http://developer.android.com/guide/topics/connectivity/bluetooth-le.html. Android system more than 4.3, mobile phone support Bluetooth 4.0, with search, pairing, connection, Discovery service and eigenvalues, disconnection and other
BrieflyBLE physical layer, may do IC or plate-pole hardware RF testing will be more concerned. is hardware-level.Frequency bandwidth and channel allocationBLE works in the 2.4 GHz ISM band 2400-2483.5 mhz,ism Band is common and does not require licensing for use in research, medical and other fields. BLE uses 40 RF channels and the channel-to-frequency relationship is as follows:2402 + k * 2 MHz (k = 0, ..., 39)Remaining featuresTransmit Power:Modulat
Recently, with the popularity of smart wearable equipment, intelligent medical care and intelligent home, Bluetooth development is very important in moving. Because of the company's needs, we studied the Bluetooth 4.0 application in Android.
Here are some of my summaries.
1. Let me introduce some of the nouns in Bluetooth 4.0:(1), GATT (gneric attibute profile)
Through BLE connection, reads and writes the attribute class small Data Profile general
Original URL: http://m.blog.csdn.net/blog/chiooo/43985401BLE Learning RecordAnroid BLE Development, based on Bluetoothlegatt analysis
Mbluetoothadapter = Mbluetoothmanager.getadapter (); Get the adapter for the Bluetooth host on your phone mbluetoothadapterpublic Boolean Initialize () {For API level and above, get a reference to bluetoothadapter throughBluetoothmanager.if (Mbluetoothmanager = = null) {Mbluetoothmanager = (Bluetoothmanager) mc
Connection EventsMy study notes on TI's official website are now organized as followsafter two ble devices are connected, all communication events occur through the connection eventswaveform measured from one of the devices with an oscilloscope after establishing a connection for two bleRed is the timeline---the horizontal axis,Power Consumption---black vertical axisThe spike wave is connection Events.the rest of the sleeping is sleep time.Most of the
The Bluetoothkit is a powerful Android Bluetooth communication framework that supports connection communication, Bluetooth broadcast scanning, and beacon resolution for low power Bluetooth devices.For detailed documentation on this project, please follow: https://github.com/dingjikerbo/BluetoothKitFor beginners just contact with Android Bluetooth development, will often encounter some strange pits, I also walked all the way, I met some of the pits summed up a bit, these pits in this project are
For research and development and testing BLE , often see the same name of the device, is extremely inconvenient, a large pile of equipment at the same time the Power will let colleagues do not know which device is what they really want to operate the target. Again millet bracelet, home has three millet bracelet, open the device search is all "MI", do not know which one to connect, so in the beginning of the use of the user to call the ring a few times
This post was last modified: September 12, 2016, 03:34.First, IntroductionThis article takes simplebleperipheral as an example of how to use indicate instructions in your project.Second, the experimental platformProtocol stack version: ble-cc254x-1.4.0Compiler software: IAR 8.20.2Hardware platform: Smart RF Development Boardthree , Copyright NoticeBo-master: Sweet Big melonStatement: Water do not forget to dig well people, reproduced please indicate t
ble-nrf51822 Tutorial 5-Static password settings
Nordicble Exchange Group 498676838This talk introduces some relevant theoretical knowledge of pairing, and describes how to implement the "Static password" setting
The program is based on the UART demo under sdk9.0
In addition, the mobile app used in the test is lightblue under iOS.
The exact phrase here should be called the pairing code, not the password. Enter this pairing code as an optional part o
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.