More mobile technologies are empowering people and machines to become more autonomous. In the same way as people, machines need ways to be identified to other sources in a connected environment. This begs the question, why not give a URL to objects? With Eddystone, a new Google specification for Beacon data, this is possible, and it works with both Android and iOS based devices.
With it you can implement what physical-web.org stands
23. @braintree_dev / @jeffprestes#eddystone
PwoDiscoveryService.java
/**
* This is a service that scans for nearby Physical Web Objects.
* It is created by MainActivity.
* It finds nearby ble beacons, and stores a count of them.
* It also listens for screen on/off events
* and start/stops the scanning accordingly.
* It also silently issues a notification informing the user of nearby beacons.
* As beacons are found and lost, the notification is updated to reflect
* the current number of nearby beacons.
*/
public class PwoDiscoveryService extends Service
private void initialize() {
mNotificationManager = NotificationManagerCompat.from(this);
mPwoDiscoverers = new ArrayList<>();
mPwoDiscoverers.add(new BlePwoDiscoverer(this));
for (PwoDiscoverer pwoDiscoverer : mPwoDiscoverers) {
pwoDiscoverer.setCallback(this);
}
...
}
31. I’d love to hear
your questions.
Thanks.
Jeff Prestes
@jeffprestes
Slideshare.com/jeffprestes
Github.com/jeffprestes
@paypaldev
@braintree_dev
developer.paypal.com
developers.braintreepayments.com
Notas do Editor
Open Protocol Designed by Google
You can have a specific device like Estimote Beacons, or you can use a Rfduino, or BLE module for Arduino, or a Bluetooth 4.0 dongle on a Raspberry Pi, or use a computer that has Bluetooth 4.0 module to advertise data. You can create your own implementation in Node, Python, Java, etc…
What data should I advertise?
It has 3 data format specification.
Like the Eddystone-UID and Eddystone-URL frame types, Eddystone-TLM is broadcast in the clear, without message integrity validation. You should design your application to be tolerant of the open nature of such a broadcast.
Eddystone beacons may transmit data about their own operation to clients. This data is called telemetry and is useful for monitoring the health and operation of a fleet of beacons.
Most known format: give an ID to your device to your mobile application be able to have a context inside of buildings where GPS signal isn’t available.
You can advertise an URL that contains data about related to something (a device, a place, or a person)
Max 17 caracters
It’s open!
It’s easy and very straightforward
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
An effort to enable frictionless discovery of web content relating to one’s surroundings.
https://ppd.io/jb
https://ppd.io/jy
https://ppd.io/jb
https://ppd.io/jy
https://github.com/don/node-eddystone-beacon
https://github.com/sandeepmistry/bleno#running-on-linux
It supports inform his temperature
It supports inform a counter that informs the number of time it has emitted data frames. Useful to control performance.
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
An effort to enable frictionless discovery of web content relating to one’s surroundings.
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
The main reason
Old UriBeacon
Secure: the important information is in your website not into the device
It’s a backbone for Physical Web
An effort to enable frictionless discovery of web content relating to one’s surroundings.