Update to new Expo SDK
- removed native-base dependency
This commit is contained in:
@@ -6,14 +6,17 @@ const OpCodes = {
|
||||
SESSION_STARTED: 2,
|
||||
SESSION_STOPPED: 3,
|
||||
SESSION_NEW_DATA: 4,
|
||||
|
||||
ANSWER_USER_LIST : 5,
|
||||
ANSWER_SESSION_LIST : 6,
|
||||
|
||||
// from frontend to device
|
||||
START_SESSION: 5,
|
||||
STOP_SESSION: 6,
|
||||
TARE: 7
|
||||
START_SESSION: 7,
|
||||
STOP_SESSION: 8,
|
||||
TARE: 9,
|
||||
QUERY_USER_LIST: 10,
|
||||
QUERY_SESSION_LIST: 11
|
||||
};
|
||||
|
||||
|
||||
export default class SwimTrackerWebsocketConnection {
|
||||
constructor(swimTrackerHost, onData, onStarted, onStopped, onConnect, onDisconnect) {
|
||||
this.swimTrackerHost = swimTrackerHost;
|
||||
|
||||
Reference in New Issue
Block a user