A C D E G H I L M R S T V W Z

A

AlarmReason - Enum in com.myzeo.decoder
Indicates the reason for the most recent alarm ringing.

C

ClockMode - Enum in com.myzeo.decoder
Indicates whether 12- or 24-hour (military) time is in use.
com.myzeo.decoder - package com.myzeo.decoder
 
compareLength(ZeoData) - Method in class com.myzeo.decoder.ZeoData
Compares two records and indicates whether or not the given record is "larger" or "smaller" than some other record.
compareTo(ZeoData) - Method in class com.myzeo.decoder.ZeoData
Implementation of comparable for sorting records based on sleep start times.
compute_alarm_set_time() - Method in class com.myzeo.decoder.ZeoData
Compute the set alarm time that was in use for the night of sleep represented by this record.
compute_rise_time() - Method in class com.myzeo.decoder.ZeoData
Return the rise time as a Calendar object.
convert(int) - Static method in enum com.myzeo.decoder.AlarmReason
 
convert(int) - Static method in enum com.myzeo.decoder.HeadbandStatus
 
convert(int) - Static method in enum com.myzeo.decoder.SleepRating
 
convert(int) - Static method in enum com.myzeo.decoder.SleepStage
 
convert(int) - Static method in enum com.myzeo.decoder.WakeTone
 
convert(int) - Static method in enum com.myzeo.decoder.WriteReason
 
crc16(byte[], int, int) - Static method in class com.myzeo.decoder.ZeoDataDecoder
Compute the CRC16 value for the input byte buffer.

D

DAYS_PER_MONTH - Static variable in class com.myzeo.decoder.ZeoData
Generic Zeo defines that correspond to Zeo's time definition, hypnogram lengths and the like.
DAYS_PER_MONTH_MAX - Static variable in class com.myzeo.decoder.ZeoData
 
DAYS_PER_WEEK - Static variable in class com.myzeo.decoder.ZeoData
 
decode(byte[]) - Static method in class com.myzeo.decoder.ZeoDataDecoder
 

E

EPOCHS_PER_HOUR - Static variable in class com.myzeo.decoder.ZeoData
 
EPOCHS_PER_MINUTE - Static variable in class com.myzeo.decoder.ZeoData
 

G

get_airplane_mode() - Method in class com.myzeo.decoder.ZeoData
Returns airplane mode flag.
get_airplane_off() - Method in class com.myzeo.decoder.ZeoData
Returns the last time airplane mode was disengaged, or null if it has not been disengaged.
get_airplane_on() - Method in class com.myzeo.decoder.ZeoData
Returns the last time airplane mode was engaged, or null if it has not been engaged.
get_alarm_change() - Method in class com.myzeo.decoder.ZeoData
Returns the list of alarm changes, as an array of TimeChange objects.
get_alarm_off() - Method in class com.myzeo.decoder.ZeoData
Returns the time the alarm was turned off, or null if it was not turned off.
get_alarm_reason() - Method in class com.myzeo.decoder.ZeoData
Returns reason alarm was triggered.
get_alarm_ring() - Method in class com.myzeo.decoder.ZeoData
Returns a list of the first and last (if more than one) times the alarm rang.
get_alarm_set_time() - Method in class com.myzeo.decoder.ZeoData
Returns the time the alarm was set for.
get_alarm_snooze() - Method in class com.myzeo.decoder.ZeoData
Returns a list of the times the snooze button was pressed
get_assert_function_name() - Method in class com.myzeo.decoder.ZeoData
Returns the name of the function where assert occurred, if an assert occurred and triggered a watchdog reset.
get_assert_line_number() - Method in class com.myzeo.decoder.ZeoData
Returns the line number on which an assert occurred, if an assert occurred and triggered a watchdog reset.
get_awakenings() - Method in class com.myzeo.decoder.ZeoData
Returns the number of awakenings for the current record.
get_awakenings_average() - Method in class com.myzeo.decoder.ZeoData
Returns the average number of awakenings from sleep history.
get_backlight() - Method in class com.myzeo.decoder.ZeoData
Returns the backlight brightness setting.
get_base_hypnogram() - Method in class com.myzeo.decoder.ZeoData
Returns the base hypnogram as an array of integers.
get_base_hypnogram_count() - Method in class com.myzeo.decoder.ZeoData
Returns the base_hypnogram_count value for the record.
get_clock_mode() - Method in class com.myzeo.decoder.ZeoData
Returns the 12/24 hour clock selection.
get_crc() - Method in class com.myzeo.decoder.ZeoData
Returns the CRC16 value that was in the record.
get_current_time() - Method in class com.myzeo.decoder.ZeoData
Returns the time that the record was output.
get_display_hypnogram() - Method in class com.myzeo.decoder.ZeoData
Returns the display hypnogram as an array of integers.
get_display_hypnogram_count() - Method in class com.myzeo.decoder.ZeoData
Returns the display_hypnogram_count value for the record.
get_display_hypnogram_forced_index() - Method in class com.myzeo.decoder.ZeoData
Returns the index of the display hypnogram bin that was forced to a specific stage, or 0 if there is no such bin.
get_display_hypnogram_forced_stage() - Method in class com.myzeo.decoder.ZeoData
Returns the index of the display hypnogram bin that was forced to a specific stage.
get_end_of_night() - Method in class com.myzeo.decoder.ZeoData
Returns the Zeo record's end of night which can be used for comparison purposes.
get_factory_reset() - Method in class com.myzeo.decoder.ZeoData
Returns the last time a factory reset was performed, or null if it has not been performed.
get_format_version() - Method in class com.myzeo.decoder.ZeoData
Returns the version of the sleep record data format.
get_headband_id() - Method in class com.myzeo.decoder.ZeoData
Returns the serial number of the most recently docked headband.
get_headband_impedance() - Method in class com.myzeo.decoder.ZeoData
Returns an array of headband impedance values collected over the past 24 hours.
get_headband_packets() - Method in class com.myzeo.decoder.ZeoData
Returns an array of headband packet loss values collected over the past 24 hours.
get_headband_rssi() - Method in class com.myzeo.decoder.ZeoData
Returns an array of headband received signal strength values collected over the past 24 hours.
get_headband_status() - Method in class com.myzeo.decoder.ZeoData
Returns an array of headband docking status values collected over the past 24 hours.
get_hypnogram_start_time() - Method in class com.myzeo.decoder.ZeoData
Returns the hypnogram start time.
get_id_hw() - Method in class com.myzeo.decoder.ZeoData
Returns the Zeo hardware version.
get_id_sw() - Method in class com.myzeo.decoder.ZeoData
Returns the Zeo software version.
get_records() - Method in class com.myzeo.decoder.ZeoDataDecoder
Return the decoded records as a list of ZeoData objects.
get_rise_time() - Method in class com.myzeo.decoder.ZeoData
Returns the time the user got up.
get_rtc_change() - Method in class com.myzeo.decoder.ZeoData
Returns the list of real-time clock changes, as an array of TimeChange objects.
get_sensor_life_reset() - Method in class com.myzeo.decoder.ZeoData
Returns the last time the sensor life counter was reset, or null if it has not been reset.
get_sleep_date() - Method in class com.myzeo.decoder.ZeoData
Returns the sleep_date for the current record.
get_sleep_rating() - Method in class com.myzeo.decoder.ZeoData
Returns the sleep rating for the current record.
get_sleep_stat_reset() - Method in class com.myzeo.decoder.ZeoData
Returns the last time the sleep history was reset, or null if it has not been reset.
get_sleep_valid() - Method in class com.myzeo.decoder.ZeoData
Returns the sleep valid flag.
get_snooze_time() - Method in class com.myzeo.decoder.ZeoData
Returns the snooze time setting in minutes.
get_start_of_night() - Method in class com.myzeo.decoder.ZeoData
Returns the Zeo record's start of night which can be used for comparison purposes.
get_time_in_deep() - Method in class com.myzeo.decoder.ZeoData
Returns the time in deep for the current record.
get_time_in_deep_average() - Method in class com.myzeo.decoder.ZeoData
Returns the average time in deep from sleep history.
get_time_in_deep_best() - Method in class com.myzeo.decoder.ZeoData
Returns the best time in deep from sleep history.
get_time_in_light() - Method in class com.myzeo.decoder.ZeoData
Returns the time in light for the current record.
get_time_in_light_average() - Method in class com.myzeo.decoder.ZeoData
Returns the average time in light from sleep history.
get_time_in_rem() - Method in class com.myzeo.decoder.ZeoData
Returns the time in rem for the current record.
get_time_in_rem_average() - Method in class com.myzeo.decoder.ZeoData
Returns the average time in rem from sleep history.
get_time_in_rem_best() - Method in class com.myzeo.decoder.ZeoData
Returns the best time in rem from sleep history.
get_time_in_wake() - Method in class com.myzeo.decoder.ZeoData
Returns the time in wake for the current record.
get_time_in_wake_average() - Method in class com.myzeo.decoder.ZeoData
Returns the average time in wake from sleep history.
get_time_to_z() - Method in class com.myzeo.decoder.ZeoData
Returns the time to sleep for the current record.
get_time_to_z_average() - Method in class com.myzeo.decoder.ZeoData
Returns the average time to sleep from sleep history.
get_total_z() - Method in class com.myzeo.decoder.ZeoData
Returns the total sleep time for the current record.
get_total_z_average() - Method in class com.myzeo.decoder.ZeoData
Returns the average total sleep time from sleep history.
get_total_z_best() - Method in class com.myzeo.decoder.ZeoData
Returns the best total sleep time from sleep history.
get_wake_tone() - Method in class com.myzeo.decoder.ZeoData
Returns the selected wake tone.
get_wake_window() - Method in class com.myzeo.decoder.ZeoData
Returns the selected wake window in minutes.
get_wdt_reset() - Method in class com.myzeo.decoder.ZeoData
Returns whether a watchdog reset occurred.
get_write_reason() - Method in class com.myzeo.decoder.ZeoData
Returns the reason this record was written to the card.
get_zeo_wake_on() - Method in class com.myzeo.decoder.ZeoData
Returns whether SmartWake was enabled.
get_zq_score() - Method in class com.myzeo.decoder.ZeoData
Returns the ZQ score for the current record.
get_zq_score_average() - Method in class com.myzeo.decoder.ZeoData
Returns the average ZQ score from sleep history.
get_zq_score_best() - Method in class com.myzeo.decoder.ZeoData
Returns the best ZQ score from sleep history.
getTime() - Method in class com.myzeo.decoder.TimeChange
Returns the timestamp for when value was changed (in seconds).
getTimeAsCalendar() - Method in class com.myzeo.decoder.TimeChange
Returns the time for when value was changed (as a Calendar), or null.
getValue() - Method in class com.myzeo.decoder.TimeChange
Returns the value time was changed to (in seconds).
getValueAsCalendar() - Method in class com.myzeo.decoder.TimeChange
Returns the value time was changed to (as a Calendar), or null.

H

HeadbandStatus - Enum in com.myzeo.decoder
Records what state the headband was in for the most time over a 10 minute period (undocked, docked and charging, or docked and charged).
HEADER_SIZE - Static variable in class com.myzeo.decoder.ZeoData
 
HOURS_PER_DAY - Static variable in class com.myzeo.decoder.ZeoData
 
HYP_BASE_LENGTH - Static variable in class com.myzeo.decoder.ZeoData
 
HYP_BASE_PER_DISPLAY - Static variable in class com.myzeo.decoder.ZeoData
 
HYP_BASE_STEP - Static variable in class com.myzeo.decoder.ZeoData
 
HYP_DISPLAY_LENGTH - Static variable in class com.myzeo.decoder.ZeoData
 
HYP_DISPLAY_STEP - Static variable in class com.myzeo.decoder.ZeoData
 
HYP_SECONDS_MAX - Static variable in class com.myzeo.decoder.ZeoData
 

I

IDENTIFIER - Static variable in class com.myzeo.decoder.ZeoData
All sleep data records must start with the following identifier string.
IDENTIFIER_SIZE - Static variable in class com.myzeo.decoder.ZeoData
A two byte format version value follows the identifier.
is_nap - Variable in class com.myzeo.decoder.ZeoData
variables
is_reset_record() - Method in class com.myzeo.decoder.ZeoData
 
is_sleep() - Method in enum com.myzeo.decoder.SleepStage
 
is_sleep_rating_record() - Method in class com.myzeo.decoder.ZeoData
Tests if this record's write reason is FS_REASON_SLEEP_RATED.
is_wake() - Method in enum com.myzeo.decoder.SleepStage
 

L

label_naps() - Method in class com.myzeo.decoder.ZeoDataDecoder
Iterate over the collection of records labeling each record as either a nap or not a nap.

M

main(String[]) - Static method in class com.myzeo.decoder.ZeoDataDecoder
The main method.
MAX_RECORD_BYTES - Static variable in class com.myzeo.decoder.ZeoData
Maximum number of bytes there can be in a record.
MINUTES_PER_HOUR - Static variable in class com.myzeo.decoder.ZeoData
 
MONTHS_PER_YEAR - Static variable in class com.myzeo.decoder.ZeoData
 
MSEC_PER_SECOND - Static variable in class com.myzeo.decoder.ZeoData
 

R

reduce_records() - Method in class com.myzeo.decoder.ZeoDataDecoder
Reduce the decoder's records down to core records by removing duplicate records for each sleep episode.

S

same_night(ZeoData) - Method in class com.myzeo.decoder.ZeoData
Indicates whether or not the other_record is from the same "night" as this record.
same_start_time(ZeoData) - Method in class com.myzeo.decoder.ZeoData
Indicates whether other_record has the same start time as this record.
SECONDS_PER_DAY - Static variable in class com.myzeo.decoder.ZeoData
 
SECONDS_PER_EPOCH - Static variable in class com.myzeo.decoder.ZeoData
 
SECONDS_PER_HOUR - Static variable in class com.myzeo.decoder.ZeoData
 
SECONDS_PER_MINUTE - Static variable in class com.myzeo.decoder.ZeoData
 
SECONDS_PER_MONTH - Static variable in class com.myzeo.decoder.ZeoData
 
SECONDS_PER_WEEK - Static variable in class com.myzeo.decoder.ZeoData
 
set_sleep_date() - Method in class com.myzeo.decoder.ZeoData
Set the sleep_date for the current record.
size() - Method in class com.myzeo.decoder.ZeoDataDecoder
Return the number of records being handled by the decoder.
SleepRating - Enum in com.myzeo.decoder
Indicates the user's perception of how their night of sleep was.
SleepStage - Enum in com.myzeo.decoder
Indicates the stage of sleep.

T

TimeChange - Class in com.myzeo.decoder
Representation of when a time change occurred and what the new value of the time was.
TimeChange(long, long) - Constructor for class com.myzeo.decoder.TimeChange
Construct a time change value from the time the change occurred and with the new value.
toHuman() - Method in class com.myzeo.decoder.ZeoData
Generate a human readable representation of the Zeo record.
toHuman() - Method in class com.myzeo.decoder.ZeoDataDecoder
Generate a human readable string representation of this decoder.
toString() - Method in class com.myzeo.decoder.TimeChange
Generates a string representation of the time change.
toXML() - Method in class com.myzeo.decoder.TimeChange
Generates an XML string representation of the time change.
toXML() - Method in class com.myzeo.decoder.ZeoData
Generate a XML representation of the Zeo record.
toXML() - Method in class com.myzeo.decoder.ZeoDataDecoder
Generate an XML string representation of this decoder.

V

V22 - Static variable in class com.myzeo.decoder.ZeoData
The version value is enumerated here.
V22_SIZE - Static variable in class com.myzeo.decoder.ZeoData
The record version size.
valueOf(String) - Static method in enum com.myzeo.decoder.AlarmReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.myzeo.decoder.ClockMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.myzeo.decoder.HeadbandStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.myzeo.decoder.SleepRating
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.myzeo.decoder.SleepStage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.myzeo.decoder.WakeTone
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.myzeo.decoder.WriteReason
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.myzeo.decoder.AlarmReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.myzeo.decoder.ClockMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.myzeo.decoder.HeadbandStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.myzeo.decoder.SleepRating
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.myzeo.decoder.SleepStage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.myzeo.decoder.WakeTone
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.myzeo.decoder.WriteReason
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_SIZE - Static variable in class com.myzeo.decoder.ZeoData
 

W

WakeTone - Enum in com.myzeo.decoder
Indicates the wake tone selected by the user.
WriteReason - Enum in com.myzeo.decoder
Specifies the reason this record was written to the SD card.

Z

ZEO_DATA_DECODER_VERSION - Static variable in class com.myzeo.decoder.ZeoDataDecoder
ZeoDataDecoder version.
ZeoData - Class in com.myzeo.decoder
Core functionality for decoding a Zeo data record.
ZeoData(ByteBuffer, int) - Constructor for class com.myzeo.decoder.ZeoData
Construct a Zeo data record given the input stream and data format version identification.
ZeoDataDecoder - Class in com.myzeo.decoder
Driver application that reads Zeo data records and prints them in XML or human-readable text.
ZeoDataDecoder(ByteBuffer) - Constructor for class com.myzeo.decoder.ZeoDataDecoder
Populate the records inside the Zeo decoder based upon the data given in the input byte array.

A C D E G H I L M R S T V W Z
Copyright © 2010, Zeo, Inc. All rights reserved.