googlearchive / android-bluetoothadvertisements Goto Github PK
View Code? Open in Web Editor NEWMigrated:
Home Page: https://github.com/android/connectivity
License: Apache License 2.0
Migrated:
Home Page: https://github.com/android/connectivity
License: Apache License 2.0
I successfully installed BleutoothAdvertisement on both of SM-G850S (Android 5.0.2) and LG G5 (Android 6.0.1).
I turned on advertising of both smartphones.
Both phones are visible from other BLE scan app.
But with this sample app,LG G5 stops scanning with the followiing debug message while SM-G850S discovers LG G5.
"I/Choreographer: Skipped 121 frames! The application may be doing too much work on its main thread.
D/ScannerFragment: Stopping Scanning
D/BluetoothAdapter: STATE_ON"
Thanks
Hello,I use the BluetoothLeScanner
device to search BluetoothLeAdvertiser
device.I only use the same peripheral device(an android phone). But I try many times, the BluetoothLeScanner
device search the different mac address every time. I use the callback onScanResult()
and the function result.getDevice().getAddress()
@Override public void onScanResult(int callbackType, ScanResult result) {
super.onScanResult(callbackType, result);
if (mOnScanCallback != null) {
Logger.i("ScanResult" + result.getDevice().getAddress());
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.