C# Class Kreyos.Classes.Managers.BluetoothManager

显示文件 Open project: kreyosopensource/KreyosWP

Public Properties

Property Type Description
UPDATE_URL string

Public Methods

Method Description
ConnectKreyosDevice ( string p_device ) : void
DisconnectKreyosDevice ( ) : void
GetActivityData ( ) : void
GetKreyosDevices ( ) : void
GetOverallActivities ( ) : void
GetTodayActivity ( ) : void
SetAlarm ( int p_index, bool p_bIsEnable, int p_hour, int p_minute ) : void
SetDateTime ( System.DateTime p_dateTime ) : void
SyncDateTime ( ) : void
SyncWatch ( ) : void
UnlockWatch ( ) : void
UpdateWatch ( ) : void

Private Methods

Method Description
BluetoothManager ( ) : System
OnActivityDataEnd ( byte data ) : void

Sports Mode is done.

OnActivityDataPrepared ( byte data ) : void

Switch to Sports Mode

OnActivityDataRead ( byte data ) : void
OnActivityDataSync ( byte data ) : void
OnDeviceIDRead ( string fileName ) : void
OnElementParsed ( ElementDesc p_element ) : void
OnFileReceived ( string fileName ) : void
OnFirmwareVersionRequest ( string fileName ) : void
OnOverallActivitiesReceived ( ActivityDataDoc doc ) : void
OnSportsDataReceived ( SportsDataRow sport ) : void
OnSportsGridRead ( byte data ) : void
OnTodayActivityReceived ( TodayActivity ta ) : void
OpenReadCompleted ( object sender, OpenReadCompletedEventArgs e ) : void

Method Details

ConnectKreyosDevice() public method

public ConnectKreyosDevice ( string p_device ) : void
p_device string
return void

DisconnectKreyosDevice() public method

public DisconnectKreyosDevice ( ) : void
return void

GetActivityData() public method

public GetActivityData ( ) : void
return void

GetKreyosDevices() public method

public GetKreyosDevices ( ) : void
return void

GetOverallActivities() public method

public GetOverallActivities ( ) : void
return void

GetTodayActivity() public method

public GetTodayActivity ( ) : void
return void

SetAlarm() public method

public SetAlarm ( int p_index, bool p_bIsEnable, int p_hour, int p_minute ) : void
p_index int
p_bIsEnable bool
p_hour int
p_minute int
return void

SetDateTime() public method

public SetDateTime ( System.DateTime p_dateTime ) : void
p_dateTime System.DateTime
return void

SyncDateTime() public method

public SyncDateTime ( ) : void
return void

SyncWatch() public method

public SyncWatch ( ) : void
return void

UnlockWatch() public method

public UnlockWatch ( ) : void
return void

UpdateWatch() public method

public UpdateWatch ( ) : void
return void

Property Details

UPDATE_URL public_oe static_oe property

public static string UPDATE_URL
return string