Skip to content

Commit 23e1e26

Browse files
committed
Merge branch 'main' into lvgl_9.x
2 parents 995e36b + e75e4ae commit 23e1e26

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

hardware/windows_linux/mqtt_hal_windows_linux.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
#include "lib/MQTT-C/include/posix_sockets.h"
3636

3737
int sockfd = -1;
38-
uint8_t sendmem1[1024], sendmem2[1024];
39-
uint8_t recvmem1[1024], recvmem2[1024];
38+
uint8_t sendmem1[4096];
39+
uint8_t recvmem1[4096];
4040
struct mqtt_client mqttClient;
4141
std::string uniqueClientSuffix = "";
4242
int state = 0;

src/devices/mediaPlayer/device_appleTV/device_appleTV.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ uint16_t APPLETV_PREVIOUS;
2121
uint16_t APPLETV_MENU;
2222
uint16_t APPLETV_HOME;
2323

24+
uint16_t APPLETV_POWER_ON;
25+
uint16_t APPLETV_POWER_OFF;
26+
2427
void register_device_appleTV() {
2528
register_command(&APPLETV_UP , makeCommandData(IR, {std::to_string(IR_PROTOCOL_NEC), "0x77E15080"}));
2629
register_command(&APPLETV_DOWN , makeCommandData(IR, {std::to_string(IR_PROTOCOL_NEC), "0x77E13080"}));
@@ -39,4 +42,7 @@ void register_device_appleTV() {
3942

4043
register_command(&APPLETV_MENU , makeCommandData(IR, {std::to_string(IR_PROTOCOL_NEC), "0x77E1C080"}));
4144
register_command(&APPLETV_HOME , makeCommandData(IR, {std::to_string(IR_PROTOCOL_NEC), "0xA7E10280:32:1"})); // Code + kNECBits + 1 repeat
45+
46+
register_command(&APPLETV_POWER_ON , makeCommandData(IR, {std::to_string(IR_PROTOCOL_GLOBALCACHE), "38380,1,69,347,173,22,65,22,22,22,65,22,22,22,22,22,65,22,65,22,65,22,65,22,65,22,65,22,22,22,22,22,22,22,22,22,65,22,22,22,22,22,65,22,65,22,22,22,65,22,22,22,22,22,22,22,65,22,65,22,65,22,65,22,65,22,65,22,65,22,1397,347,87,22,3692"}));
47+
register_command(&APPLETV_POWER_OFF , makeCommandData(IR, {std::to_string(IR_PROTOCOL_GLOBALCACHE), "38380,1,69,347,173,22,65,22,22,22,65,22,22,22,22,22,65,22,65,22,65,22,65,22,65,22,65,22,22,22,22,22,22,22,22,22,65,22,22,22,65,22,22,22,65,22,22,22,65,22,22,22,22,22,22,22,65,22,65,22,65,22,65,22,65,22,65,22,65,22,1397,347,87,22,3692"}));
4248
}

src/devices/mediaPlayer/device_appleTV/device_appleTV.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ extern uint16_t APPLETV_PREVIOUS;
1818
extern uint16_t APPLETV_MENU;
1919
extern uint16_t APPLETV_HOME;
2020

21+
extern uint16_t APPLETV_POWER_ON;
22+
extern uint16_t APPLETV_POWER_OFF;
23+
2124
void register_device_appleTV();

0 commit comments

Comments
 (0)