62dbcbfc95
This commit adds the following: Passkey pairing - passkey is displayed on watch Swipe down to clear passkey screen Connection encryption Connection bonding Automatic reconnects to a bonded peripheral Trusted device on Android Note that persisting the bond between reboots is NOT included in this commit. Therefore, rebooting the watch will cause reconnect failures. You must delete the bond from the phone to reconnect/pair.
33 lines
697 B
C++
33 lines
697 B
C++
#pragma once
|
|
|
|
namespace Pinetime {
|
|
namespace System {
|
|
enum class Messages {
|
|
GoToSleep,
|
|
GoToRunning,
|
|
TouchWakeUp,
|
|
OnNewTime,
|
|
OnNewNotification,
|
|
OnTimerDone,
|
|
OnNewCall,
|
|
BleConnected,
|
|
UpdateTimeOut,
|
|
BleFirmwareUpdateStarted,
|
|
BleFirmwareUpdateFinished,
|
|
OnTouchEvent,
|
|
HandleButtonEvent,
|
|
HandleButtonTimerEvent,
|
|
OnDisplayTaskSleeping,
|
|
EnableSleeping,
|
|
DisableSleeping,
|
|
OnNewDay,
|
|
OnChargingEvent,
|
|
OnPairing,
|
|
SetOffAlarm,
|
|
StopRinging,
|
|
MeasureBatteryTimerExpired,
|
|
BatteryPercentageUpdated,
|
|
};
|
|
}
|
|
}
|