altbeacon / altbeacon-transmitter-android Goto Github PK
View Code? Open in Web Editor NEWA transmitter app requiring android L
A transmitter app requiring android L
Is it possible to open a GATT server on an Android compatible device, advertise it with AltBeacon transmitter library and then connect to it whenever it comes in range from another Android device? (Using the Android Beacon Library scanning functionalities and Android's BLE legacy APIs)
Thanks.
This project no longer works on Android 5.0 (at least on the Nexus 5).
This is the problem.
http://stackoverflow.com/questions/26441785/does-bluetoothleadvertiser-work-on-a-nexus-5-with-android-5-0
https://code.google.com/p/android-developer-preview/issues/detail?id=1570
API 21 also changes a few things.
setType(int) was replaced with setConnectable(boolean)
https://developer.android.com/sdk/api_diff/preview-21/changes/android.bluetooth.le.AdvertiseSettings.Builder.html
as well as renaming a few of the android.bluetooth.le classes
Just wanted to give you a heads up.
i use your sample project to test beacon transmission, but i couldn't send any additional data.
i tried to do this like
Beacon beacon = new Beacon.Builder()
.setId1("2F234454-CF6D-4A0F-ADF2-F4911BA9FFA6")
.setId2("1")
.setId3("2")
.setManufacturer(0x0000) // Choose a number of 0x00ff or less as some devices cannot detect beacons with a manufacturer code > 0x00ff
.setTxPower(-59)
.setDataFields(Arrays.asList(new Long[]{1231231238L, 100500L}))
.build();
but in the other device i got just 6
from dataFields array. Devices id1 were the same.
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.