Reference Libraries
AnyConnectCameraSignal Reference Java Class
public enum AnyConnectCameraSignal {
UNDEFINED(0),
/// BLE GATT Server specific states (1 - 100)
INDICATE_SUBSCRIPTION_COMPLETE(1),
INDICATE_READ_SSID_STARTED(3),
INDICATE_READ_SSID_COMPLETE(4),
INDICATE_READ_PASS_STARTED(5),
INDICATE_READ_PASS_COMPLETE(6),
INDICATE_READ_KEY_STARTED(7),
INDICATE_READ_KEY_COMPLETE(8),
INDICATE_READ_USERID_STARTED(9),
INDICATE_READ_USERID_COMPLETE(10),
/// Stream App Events (101 - 300)
INDICATE_ALIVE(101),
INDICATE_DEVICE_STARTED(102),
INDICATE_DEVICE_EXITED(103),
INDICATE_ONBOARDING_NOT_READY(109),
INDICATE_WAITING_FOR_ONBOARDING(111),
INDICATE_DEVICE_ONBOARDED(113),
INDICATE_DEVICE_STREAMING_IN_PROGRESS(115),
INDICATE_DEVICE_STREAMING_STOPPED(117),
INDICATE_DEVICE_CONNECTIVITY_CHECK_IN_PROGRESS(121),
INDICATE_DEVICE_CONNECTIVITY_CHECK_DONE(123),
INDICATE_RESET_ENDPOINT_STARTED(131),
INDICATE_RESET_ENDPOINT_SUCCEEDED(132),
INDICATE_RESET_ENDPOINT_FAILURE(133),
INDICATE_APP_READY_TO_STREAM (151),
//Parser status
INDICATE_PARSING_SUCCEEDED (201),
INDICATE_PARSING_FAILED (203),
/// Network Configure (301 - 500)
INDICATE_WIFI_SET_IN_PROGRESS(301),
INDICATE_WIFI_SET_SUCCEEDED(302),
INDICATE_WIFI_SET_FAILED(303),
/// Pairing and Other API events (501 - 600)
INDICATE_PAIRING_IN_PROGRESS(501),
INDICATE_PAIRING_SUCCEEDED(502),
INDICATE_PAIRING_FAILED(503),
/// Update (701 - 800)
INDICATE_APP_UPDATE_STARTED(701),
INDICATE_APP_UPDATE_SUCCEEDED(702),
INDICATE_APP_UPDATE_FAILURE(703),
/// Requests (901 - 1000)
INDICATE_REQUEST_ID(901),
INDICATE_RESPONSE_ID(902),
INDICATE_REQUEST_NAME(903),
INDICATE_RESPONSE_NAME(904),
INDICATE_REQUEST_MAC(905),
INDICATE_RESPONSE_MAC(906),
INDICATE_REQUEST_IP(907),
INDICATE_RESPONSE_IP(908),
INDICATE_ENDPOINT_RESET(951),
INDICATE_RESTART_APP(975),
INDICATE_RESTART_DEVICE(977),
INDICATE_SHUTDOWN_DEVICE(999),
/// Data exchange (1001 - 1300)
INDICATE_ENDPOINT_ID(1001),
INDICATE_ENDPOINT_NAME(1003),
INDICATE_WIFI_CREDENTIAL(1005),
/// Error Reporting (1301 - 1500)
INDICATE_ERROR_MESSAGE(1301),
INDICATE_ERROR_CODE(1303),
//System Events (1501 - 2000)
INDICATE_CONNECTIVITY_UP(1501),
INDICATE_CONNECTIVITY_DOWN(1505),
INDICATE_NETWORK_ATTEMPT_RESTART(1601),
INDICATE_NETWORK_UP(1605);
private int indicatorValue;
private static final SparseArray<AnyConnectCameraSignal> lookup = new SparseArray<>();
static {
for (AnyConnectCameraSignal indicator : AnyConnectCameraSignal.values()) {
lookup.put(indicator.getIndicatorValue(), indicator);
}
}
public static AnyConnectCameraSignal get(Integer indicator) {
return lookup.get(indicator);
}
AnyConnectCameraSignal(int indicatorValue) {
this.indicatorValue = indicatorValue;
}
public int getIndicatorValue() {
return indicatorValue;
}
}
SensorType Reference Java Class
enum SensorType {
GEO_LOCATION,
DCA_METADATA,
TEMPERATURE,
GYROMETER,
ACCELEROMETER,
HUMIDITY,
WIND_DIRECTION,
PRESSURE
}
Updated over 2 years ago