Skip to content

Latest commit

 

History

History
 
 

eddystone-url-config-validator

UriBeacon Validation App

Overview

The purpose of the Eddystone-URL Validator app is to allow developers to test their implementations of the Eddystone-URL Configuration Service. The app consists of two sets of tests: Core Eddystone-URL Tests and Spec Eddystone-URL Tests. NOTE: The validator is designed to work on Android Lollipop (5.1) or later, and will not run on earlier Android releases.

Core Eddystone-URL Tests

The Core Eddystone-URL Tests are design to make sure the app works seamlessly with the Physical Web App and the Eddystone-URL configuration app. The following table shows the expected results for each of the tests.

Test Name Value Written Expected value read Expected Return Code
Connect to UriBeacon N/A N/A 0
Lock Beacon** [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] N/A 0
Unlock Beacon** [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] N/A 0
Locking...** [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] N/A 0
Try Unlock with Wrong Key** [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] N/A 8
Unlocking...** [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] N/A 0
Read Lock State N/A [0] 0
Write Reset [1] N/A 0
Write and Read Data 1 [2] [2] 0
Write and Read Data 2 [1] [1] 0
Write and Read Flags 1 [2] [2] 0
Write and Read Flags 2 [1] [1] 0
Write and Read Tx Power Levels 1 [1, 1, 1, 1] [1, 1, 1, 1] 0
Write and Read Tx Power Levels 2 [0, 0, 0, 0] [0, 0, 0, 0] 0
Write and Read Tx Power Mode 1 [2] [2] 0
Write and Read Tx Power Mode 2 [1] [1] 0
Write and Read Period 1 [233, 3] [233, 3] 0
Write and Read Period 2 [231, 3] [231, 3] 0
Disable Beacon using period = 0 [0] N/A 0
Floor Period [1] value != [1] and value != [0] 0
Enabling Beacon Again [231, 3] [231, 3] 0
Disconnecting N/A N/A 0
Has Valid Advertisement Packet N/A Looking for any valid Advertisement Packet N/A
Flags Written are Broadcasted N/A [1] N/A
Tx Power Written is Broadcasted N/A [0] N/A
Uri Written is Broadcasted N/A [1] N/A

** Only if Lock/Unlock is implemented