Last year, noridc developed a chip that integrates Bluetooth 4.0 and can communicate with 24l01. The film encapsulation can be very small, and the power consumption is very low. It is very suitable for wearable devices, so I recently had a set of second-hand ak ii and no becon board. I first played some basic peripherals, And now I started to develop ble.
Under the official SDK directory, we can find the project file Nordic \ nrf51822 \ board \ pca100
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
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
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
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 9-dynamic password (pairing code)
NordicBLE technology exchange group 498676838This tutorial also describes how to modify the dynamic password (actually a pair code) based on the uart example in the sdk. The Uart example is in the following directory:
XXX \ Keil_v5 \ ARM \ Pack \ nordicsemicondu\ nRF_Examples \ 9.0.0 \ ble_peripheral \ ble_app_uart
Some theoretical knowledge about pairing is introduced in the static password tut
Bluetooth Low-Power BLE: Controls GPIO to light LEDs and blegpio
This section describes the simplest and most basic things. The ios operation of the CC2540 uses the PORT as the GPIO. If you don't talk much about it, let's look at it.
1. Hardware Circuit
The most simple hardware circuit is to use a GPIO to control the LED light. Since GPIO is used as the output, the GPIO mode is not required.
It is quite simple to control the GPIO on the left to switc
1. The problem now encountered, the phone into hibernation after the wake, the app software and CC2541 communication is not normal, but CC2541 still detect when the connection state. How to solve this problem? Will the activity be recreated after the phone wakes up?2.Wakelock lock Mechanism:Applications can vote on whether the system is standby by applying the Wakelock lock mechanism, and when any application has applied for a wakelock lock, it is not released during standby and the system will
TI ble protocol stack comes with data encryption and decryption function, there are two functions, respectively, are encrypted and decrypted, each function is three parameters, are 16 bytes, if the actual data less than 16 bytes, after the completion of their own, after the encryption via Bluetooth, the other device received this data, inverse, get 16 bytes of data, Take the number of bytes you need (if characteristic value is only 1 bytes, take 1 byt
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
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
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 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.