Comments (4)
I disagree: according to table 2.1, the PDU type is (MSB->) 0010 (<-LSB). According to figure 2.3, the very first bit of the packet should be the LSB of the PDU type, followed by the rest of the bits in ascending order (0100) followed by 0010 (TX random bit set) - so 0x42 is actually correct IMHO.
from btle.
I understand. I've tried 0x42, 0x44, and a few others so far, mostly modeled after Dmitry's code, but with a few mods from yours. Nothing has worked with a couple BLE scanners I've tried on my Moto G. I plan to get a CC2540 dongle which supposedly can sniff BLE packets, which should resolve any questions of what is the correct over-the-air format.
from btle.
I think that the flaky reception on Android is due to some timing issue, see also #1. However, it seems to be highly random, so some investigation with a proper BTLE sniffer would be highly appreciated.
from btle.
Seems to be answered in #3 - de-tuned modules may be the culprit.
from btle.
Related Issues (20)
- consider adding BTLE the arduino library repo HOT 1
- Sensor detected but UUID unrecognized HOT 1
- Why am i getting this error? HOT 2
- Estimote HOT 1
- How can i set/change nrf24l01 UUID? Can it support Eddystone? HOT 3
- nRF receiving wrong payload? HOT 9
- How to set MAC address of nrf24l01 HOT 2
- function reversing to_nRF_Float(float t) HOT 2
- eddystone_url.ino Does not see the program Physical WEB and Nearby HOT 10
- multichunk.ino compilation problem
- window / door sensor HOT 4
- transmit humidity data HOT 7
- error while compiling 'send' example after install BTLE HOT 6
- Receive data from phone HOT 1
- Sending CSV file over nrf24L01 as BLE to Android App HOT 1
- Support for NRF52x devices? HOT 1
- Doesn't show up on iPhone 6 HOT 17
- What data is contained in the payload using recv file? HOT 1
- Is it possible to catch data from smartphone? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btle.