메소드 | 설명 | |
---|---|---|
LoadDataFile ( String fileName ) : Task |
||
LoadDataFromBuffer ( byte buffer ) : |
||
Protocol ( |
||
activityHeartbeat ( string activityId ) : void | ||
buildSyncTimePack ( ) : byte[] | ||
buildSyncTimePackFromInput ( System.DateTime p_date ) : byte[] | ||
buildWatchConfig ( String worldClocks, int worldClockOffset, bool isDigitalClock, int digitalClock, int analogClock, int sportsGrid, int sportsGrids, int goals, int weight, int height, bool enableGesture, bool isLeftHandGesture, int gestureActionsTable, bool isUkUnit ) : byte[] | ||
bytesToInt ( byte buf, int start ) : int | ||
bytesToShort ( byte buf, int start ) : int | ||
deleteFile ( string fileName ) : void | ||
echo ( string hint ) : void | ||
getActivityData ( ) : void | ||
getDeviceID ( ) : void | ||
getSportsData ( ) : void | ||
getSportsGrid ( ) : void | ||
handlePacket ( byte packet ) : void | ||
handle_activity ( byte pack, int handle ) : void | ||
handle_file ( byte pack, int handle ) : void | ||
handle_today_activity ( byte pack, int handle ) : void | ||
intToByteArray ( int i ) : byte[] | ||
listFile ( string prefix ) : void | ||
longToByteArray ( long s ) : byte[] | ||
notifyMessage ( string type, string identity, string message ) : void | ||
readFile ( string filename ) : void | ||
sendDailyActivityRequest ( ) : void | ||
sendGPSInfo ( |
||
sendGPSInfo ( short spd, short alt, int distance, int calories ) : void | ||
sendStream ( string name, Stream stream ) : bool | ||
sendStream ( string name, |
||
setGestureControl ( bool enable, bool isLeftHand, int action_map ) : void | ||
setWatchAlarm ( int index, int mode, int monthday, int weekday, int hour, int minute ) : void | ||
setWatchGrid ( ) : void | ||
shortToByteArray ( short s ) : byte[] | ||
syncTime ( ) : void | ||
syncTimeFromInput ( System.DateTime p_date ) : void | ||
syncWatchConfig ( String worldClocks, int worldClockOffset, bool isDigitalClock, int digitalClock, int analogClock, int sportsGrid, int sportsGrids, int goals, int weight, int height, bool enableGesture, bool isLeftHandGesture, int gestureActionsTable, bool isUkUnit ) : void | ||
unlockWatch ( ) : void |
메소드 | 설명 | |
---|---|---|
GET_PACKET_END ( byte pack ) : int | ||
GetValue ( int rawValue, |
||
LoadData ( |
||
buildDataBuffer ( List |
||
buildElement ( byte packet, int offset, string type, byte data ) : int | ||
buildElementHead ( byte packet, int offset, string type, byte len ) : int | ||
buildPacketHead ( byte packet ) : int | ||
buildSingleElementPacket ( string type, byte data ) : byte[] | ||
estimateElementHeadSize ( string type ) : int | ||
estimateStringSize ( string type ) : int | ||
fillElementData ( byte packet, int offset, byte data, int from, int len ) : int | ||
get_body_length ( byte pack ) : int | ||
get_element_data ( byte pack, int handle ) : byte[] | ||
get_element_data_size ( byte pack, int handle ) : int | ||
get_element_type ( byte pack, int handle ) : byte[] | ||
get_first_element ( byte pack ) : int | ||
get_first_sub_element ( byte pack, int parent ) : int | ||
get_flag ( byte pack ) : int | ||
get_next_element ( byte pack, int handle ) : int | ||
get_next_sub_element ( byte pack, int parent, int handle ) : int | ||
get_sequence ( byte pack ) : int | ||
get_version ( byte pack ) : int | ||
hexdump ( byte buffer ) : void | ||
sendFileBuffer ( string fileName, byte buffer, int fileLen ) : bool |
public LoadDataFromBuffer ( byte buffer ) : |
||
buffer | byte | |
리턴 |
public Protocol ( |
||
btAgent | ||
리턴 | System |
public activityHeartbeat ( string activityId ) : void | ||
activityId | string | |
리턴 | void |
public buildSyncTimePackFromInput ( System.DateTime p_date ) : byte[] | ||
p_date | System.DateTime | |
리턴 | byte[] |
public buildWatchConfig ( String worldClocks, int worldClockOffset, bool isDigitalClock, int digitalClock, int analogClock, int sportsGrid, int sportsGrids, int goals, int weight, int height, bool enableGesture, bool isLeftHandGesture, int gestureActionsTable, bool isUkUnit ) : byte[] | ||
worldClocks | String | |
worldClockOffset | int | |
isDigitalClock | bool | |
digitalClock | int | |
analogClock | int | |
sportsGrid | int | |
sportsGrids | int | |
goals | int | |
weight | int | |
height | int | |
enableGesture | bool | |
isLeftHandGesture | bool | |
gestureActionsTable | int | |
isUkUnit | bool | |
리턴 | byte[] |
public static bytesToInt ( byte buf, int start ) : int | ||
buf | byte | |
start | int | |
리턴 | int |
public static bytesToShort ( byte buf, int start ) : int | ||
buf | byte | |
start | int | |
리턴 | int |
public handle_activity ( byte pack, int handle ) : void | ||
pack | byte | |
handle | int | |
리턴 | void |
public handle_file ( byte pack, int handle ) : void | ||
pack | byte | |
handle | int | |
리턴 | void |
public handle_today_activity ( byte pack, int handle ) : void | ||
pack | byte | |
handle | int | |
리턴 | void |
public notifyMessage ( string type, string identity, string message ) : void | ||
type | string | |
identity | string | |
message | string | |
리턴 | void |
public sendGPSInfo ( |
||
geoPosition | ||
distance | int | |
calories | int | |
리턴 | void |
public sendGPSInfo ( short spd, short alt, int distance, int calories ) : void | ||
spd | short | |
alt | short | |
distance | int | |
calories | int | |
리턴 | void |
public sendStream ( string name, Stream stream ) : bool | ||
name | string | |
stream | Stream | |
리턴 | bool |
public sendStream ( string name, |
||
name | string | |
sr | ||
리턴 | bool |
public setGestureControl ( bool enable, bool isLeftHand, int action_map ) : void | ||
enable | bool | |
isLeftHand | bool | |
action_map | int | |
리턴 | void |
public setWatchAlarm ( int index, int mode, int monthday, int weekday, int hour, int minute ) : void | ||
index | int | |
mode | int | |
monthday | int | |
weekday | int | |
hour | int | |
minute | int | |
리턴 | void |
public syncTimeFromInput ( System.DateTime p_date ) : void | ||
p_date | System.DateTime | |
리턴 | void |
public syncWatchConfig ( String worldClocks, int worldClockOffset, bool isDigitalClock, int digitalClock, int analogClock, int sportsGrid, int sportsGrids, int goals, int weight, int height, bool enableGesture, bool isLeftHandGesture, int gestureActionsTable, bool isUkUnit ) : void | ||
worldClocks | String | |
worldClockOffset | int | |
isDigitalClock | bool | |
digitalClock | int | |
analogClock | int | |
sportsGrid | int | |
sportsGrids | int | |
goals | int | |
weight | int | |
height | int | |
enableGesture | bool | |
isLeftHandGesture | bool | |
gestureActionsTable | int | |
isUkUnit | bool | |
리턴 | void |