BLE-NRF51822 tutorial 3-SDK framework profiling. BLE-NRF51822 tutorial 3-SDK program framework profiling nordicBLE technology exchange group 498676838 this lecture introduces the framework and won't involve too much code details. 51822 of the official SDK is actually no framework according to the BLE-NRF51822 tutorial 3-sdk program framework analysis
NordicBLE t
Android Bluetooth 4.0 Development1. Permissions and related attributes"android:required=" true "means that the APK is only running on a system with Bluetooth_le properties, and this 4.3 before the Android system2, the program to open the mother to operate Bluetooth before the first to determine whether BLE supportif (!getpackagemanager (). Hassystemfeature (Packagemanager.feature_bluetooth_le)) {Toast.maketext (this,r.string.ble_not_supported, Toast.l
Reference: http://blog.chinaunix.net/uid-28852942-id-5753308.html
Explain 2 points:
1, why the Nordic of the 4.0 protocol stack ble can only send 20 bytes of application load data.
2. How to improve the sending rate when a large amount of data is sent
Analysis of transmission rate of BLE
According to the Bluetooth BLE protocol, the transfer rate of the physical
This blog post last modified: January 06, 2017, 11:06.
First, Introduction
This paper describes how to collect the temperature and humidity value of DHT11 in Simplebleperipheral Engineering.
second, the experimental platform
Protocol stack version: ble-cc254x-1.4.0
Compiling software: IAR 8.20.2
Hardware platform: Smart RF (main chip CC2541)
three . Copyright notice
Bo Main: Sweet melon
Statement: Water do not forget to dig well people, reproduced
Original URL: http://bbs.csdn.net/topics/390882717?page=11. I have a timer in my own program to go to readcharacteristic, each time read can be successful, but in the process after the call writecharacteristic found that the BLE device did not receive the set of data, Do not perform oncharacteristicwrite this callback, put the timer off do not execute readcharacteristic, only perform writecharacteristic, you can set the success, You can also receive o
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
My philosophy: Simple and practical can be, do not engage in a pile of source code out, the results show people do not know how to use, Look at me:
1, in arch/arm/mach-xxx/own platform file to add I2C information, beauty its name Yue: i2c_board_info
For example:
static struct I2c_board_info __initdata xxxi2c_board_info[] = {{I2c_board_info ("Abcd1", 0x20),/* string to match the back, 0x20 from the device address * *. Platform_data = 0,},{I2c_board_in
1. InstallationI2C drive load and rate changes check the blog "Raspberry School notes--I2C device load and rate settings".
2.I2C Bus ScanThe I2cdetect-l command allows you to view the I2C bus on the raspberry pie, and from the results of the return, the raspberry pie contains two I2C buses, and by reading the relevant
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
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
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
1. I2C ProtocolTwo two-way serial lines, one data line SDA, and one clock line SCL.The data transmitted by SDA is transmitted at a large end. Each transmission is 8 bits, that is, one byte.Multimastering is supported, and only one master can be created at any time point.Each device on the bus has its own ADDR, a total of 7 bits, and the broadcast address is all 0.The system may have multiple chips of the same type. For this reason, ADDR is divided int
After discussing the initialization and deletion of drivers for I2C devices and I2C adapters, we will focus on several function operations in file_operations, paste the file_operations struct code first. Let's see which functions are included.
Static const struct file_operations i2cdev_fops ={
The structure must be quite clear. Therefore, the I2C Driver provide
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.