//self._pebble.send_packet(AppRunState(data=AppRunStateStart(uuid=app_uuid))) public async Task LaunchApp(UUID uuid) { var data = new AppMessagePacket(); data.ApplicationId = uuid; data.Command = (byte)Command.Push; data.TransactionId = 1; data.Values.Add(new AppMessageUInt8() { Key = 1, Value = 1 }); //this one is key 0, doesn't actually do anything await SendMessageNoResponseAsync(Endpoint.Launcher, data.GetBytes()); }
public async Task <AppMessagePacket> SendApplicationMessage(AppMessagePacket data) { //DebugMessage(data.GetBytes()); return(await SendMessageAsync <AppMessagePacket>(Endpoint.ApplicationMessage, data.GetBytes())); }