# 参数[clean]:
# clean , 加此参数代表会清空output路径下对应的编译文件,重新编译,不加此参数属于增量编译,做release的时候,建议加clean参数。
-# 参数[user|u8m|uoffline|oob128|z1|4part|leakcheck|autoota|autootacli|obu|cm|ct]:
+# 参数[fd230|fd272|user|u8m|uoffline|oob128|z1|4part|leakcheck|autoota|autootacli|obu|cm|ct]:
# 此参数指定了要编译的不同配置版本。
# 不加参数,为默认版本,nandflash资源为单分区。其他版本都是在此基础上的参数修改。
+# fd230, 默认项目版本
+# fd272, FD272项目版本
# user, 取消串口打印
# uoffline, 取消串口打印,开启离线日志(需要在调试ui上开启)
# oob128, 编译nandflash的oob区为128的版本
declare -A PROJECT_VERSIONS=(
# 基础项目版本
["fd230"]="1.3.107"
+ ["fd272"]="1.3.107"
["user"]="1.3.107"
["fd230_user"]="1.3.107"
printf "%-15s %-10s %-20s\n" "项目名称" "版本号" "说明"
echo "------------------------------------------"
printf "%-15s %-10s %-20s\n" "fd230" "${PROJECT_VERSIONS[fd230]}" "默认项目"
+ printf "%-15s %-10s %-20s\n" "fd272" "${PROJECT_VERSIONS[fd272]}" "FD272项目"
printf "%-15s %-10s %-20s\n" "user" "${PROJECT_VERSIONS[user]}" "用户版本"
printf "%-15s %-10s %-20s\n" "fd230_user" "${PROJECT_VERSIONS[fd230_user]}" "FD230用户版"
printf "%-15s %-10s %-20s\n" "xts" "${PROJECT_VERSIONS[xts]}" "XTS测试版"
BUILD_NAME=_FD230
fi
+if [ "$1" == "fd272" ]
+then
+TARGET_PACK_NAME=pack_brandy_native_js_fd272
+APPLICATION_NAME=brandy-native-js-fd272
+RECOVERY_NAME=$APPLICATION_NAME-r
+SSB_NAME=$APPLICATION_NAME-ssb
+BUILD_NAME=_FD272
+fi
+
if [ "$1" == "fd230_user" ]
then
TARGET_PACK_NAME=pack_brandy_native_js
{\r
PRINT("thread_main start "NEWLINE);\r
unused(unused);\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
uapi_pin_set_ie(S_MGPIO34, HAL_PIO_IE_DISABLE);//启动期间关闭uart输入中断,启动后开启\r
#endif\r
rc_calibration_func_notify();\r
uapi_a5133_service_init();\r
#endif\r
\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
uapi_pin_set_ie(S_MGPIO34, HAL_PIO_IE_ENBALE); //启动期间关闭uart输入中断,启动后开启\r
#endif\r
\r
elseif("BOARD_N9" IN_LIST DEFINES)
add_subdirectory_if_exist(n9)
elseif("BOARD_FD272" IN_LIST DEFINES)
-add_subdirectory_if_exist(fd272)
-elseif("LEINIAO" IN_LIST DEFINES)
+add_subdirectory_if_exist(fd272)
+elseif("BOARD_LEINIAO" IN_LIST DEFINES)
add_subdirectory_if_exist(ln)
else()
add_subdirectory_if_exist(evb)
#include "securec.h"\r
#include "cmsis_os2.h"\r
#ifdef SUPPORT_OHOSFWK\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
#include "bluetooth/include/BluetoothWrapper.h"\r
#else\r
#include "bluetooth/BluetoothWrapper.h"\r
uint16_t preSlice = backStack_.top();
backStack_.pop();
- #ifdef FD230
+ #ifdef CUSTOM_ZHIHUI
if(preSlice!=VIEW_INCOMING_CALL)
ChangeSlice(preSlice);
else
#include "components/ui_image_view.h"
#include "components/ui_toggle_button.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "aivoice/include/AiVoiceConnectingView.h"
#endif
UIToggleButton *A2DP_ToggleButton{nullptr}; // A2DP
UIScrollView *connectingScrollView{nullptr};
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
AiVoiceConnectingView *p_AiVoiceConnectingView{nullptr};
#endif
if (it->second == "HFP")
{
ConfigModel::GetInstance()->SetHFPState(true);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_hfp_connect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::CONNECT_HFP);
else if (it->second == "A2DP")
{
ConfigModel::GetInstance()->SetA2DPState(true);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_a2dp_snk_connect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::CONNECT_A2DP);
if (it->second == "HFP")
{
ConfigModel::GetInstance()->SetHFPState(false);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_hfp_disconnect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::DISCONNECT_HFP);
{
ConfigModel::GetInstance()->SetA2DPState(false);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_a2dp_snk_disconnect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::DISCONNECT_A2DP);
delete A2DP_ToggleButton;
A2DP_ToggleButton = nullptr;
}
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (p_AiVoiceConnectingView)
{
delete p_AiVoiceConnectingView;
switch (button_state)
{
case BluetoothServiceOptionsView::CONNECT_HFP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (uapi_hfp_connect_state())
{
if (cm_get_A2DP_switch() && uapi_a2dp_snk_get_device_connect_state())
break;
case BluetoothServiceOptionsView::DISCONNECT_HFP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (!uapi_hfp_connect_state())
{
{
#endif
break;
case BluetoothServiceOptionsView::CONNECT_A2DP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (uapi_a2dp_snk_get_device_connect_state())
{
connect_state++;
#endif
break;
case BluetoothServiceOptionsView::DISCONNECT_A2DP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (!uapi_a2dp_snk_get_device_connect_state())
{
connect_state++;
return false;
}
HFP_ToggleButton->SetPosition(298, 145, 100, 50);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
HFP_ToggleButton->SetState(uapi_hfp_connect_state()); // ConfigModel::GetInstance()->GetHFPState());
#endif
HFP_ToggleButton->SetStyle(STYLE_BACKGROUND_COLOR, 0xffffffff);
return false;
}
A2DP_ToggleButton->SetPosition(298, 265, 100, 50);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
A2DP_ToggleButton->SetState(uapi_a2dp_snk_get_device_connect_state());
#endif
A2DP_ToggleButton->SetStyle(STYLE_BACKGROUND_OPA, 0xffffffff);
BlueToothScrollView->Add(A2DP_Label);
BlueToothScrollView->Add(HFP_ToggleButton);
BlueToothScrollView->Add(A2DP_ToggleButton);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
p_AiVoiceConnectingView = new AiVoiceConnectingView();
if (p_AiVoiceConnectingView == nullptr)
{
{
if (connectingScrollView)
connectingScrollView->SetVisible(data);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (data == false)
{
if (A2DP_ToggleButton)
void BluetoothServiceOptionsView::Button_UPdata(void)
{
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (A2DP_ToggleButton)
A2DP_ToggleButton->SetState(uapi_a2dp_snk_get_device_connect_state());
\r
bool ClassicBlueToothPresenter::OnChange(UICheckBox::UICheckBoxState state)\r
{\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "ClassicBlueToothPresenter::OnChange");\r
bd_addr_t bdaddr = {0};\r
switch (state)\r
}\r
Attention->SetPosition(193, 121, 80, 80);\r
Attention->SetStyle(STYLE_BORDER_RADIUS, 100);\r
- #ifdef FD230\r
+ #ifdef CUSTOM_ZHIHUI\r
Attention->SetSrc(PNG_ATTENTION_IMAGE);\r
#endif\r
/* -------------------------------------------------------------------------- */\r
}\r
button->SetPosition(0, 366, 466, 100);\r
button->SetViewId(COUNTDOWNTIMENOTNULLVIEWRETURNBUTTON);\r
- #ifdef FD230\r
+ #ifdef CUSTOM_ZHIHUI\r
button->SetImageSrc(PNG_466x100BUTTON_IMAGE, PNG_466x100BUTTON_IMAGE);\r
#endif\r
button->SetTextId(STR_KONW); // 知道了\r
EphemerisDownloadModel::~EphemerisDownloadModel() {}
-void EphemerisDownloadModel::DownloadEphemeris() {}
+// void EphemerisDownloadModel::DownloadEphemeris() {}
//获取有效期接口
bool EphemerisDownloadModel::GetValidityPeriod() {
#if defined(SUPPORT_GNSS)
btnDownload_->SetOnClickListener(presenter_);
//如果有效期大于0,则不能下载 下载按键显示灰色;否则显示绿色
- if(EphemerisDownloadModel::GetInstance().GetValidityPeriod())
- {
- btnDownload_->SetTextColor(Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0x5f));
- btnDownload_->SetBackgroundColor(Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0x5f));
- }
- else
- {
- btnDownload_->SetTextColor(Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0xff));
- btnDownload_->SetBackgroundColor(Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0xff));
- }
+ // if(EphemerisDownloadModel::GetInstance().GetValidityPeriod())
+ // {
+ // btnDownload_->SetTextColor(Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0x5f));
+ // btnDownload_->SetBackgroundColor(Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0x5f));
+ // }
+ // else
+ // {
+ // btnDownload_->SetTextColor(Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0xff));
+ // btnDownload_->SetBackgroundColor(Color::GetColorFromRGBA(0xff, 0xff, 0xff, 0xff));
+ // }
AddViewToRootContainer(btnDownload_);
return;
}
FindPhoneImageView->SetPosition(193, 140, 80, 80);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
FindPhoneImageView->SetSrc(PNG_ATTENTION_IMAGE);
#endif
/* ----------------------------- FindPhoneLabel ----------------------------- */
}
FindPhoneLabelButton->SetPosition(0, 366, 466, 100);
FindPhoneLabelButton->SetViewId(FINDPHONE_LABELBUTTON);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
FindPhoneLabelButton->SetImageSrc(PNG_BUTTON_466x100_IMAGE, PNG_BUTTON_466x100_IMAGE);
#endif
FindPhoneLabelButton->SetTextId(STR_CLOSE); // 关闭
}
FindPhoneLabelButton->SetPosition(0, 366, 466, 100);
FindPhoneLabelButton->SetViewId(FINDPHONE_LABELBUTTON);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
FindPhoneLabelButton->SetImageSrc(PNG_466x100BUTTON_IMAGE, PNG_466x100BUTTON_IMAGE);
#endif
// FindPhoneLabelButton->SetText("停止");
if (strcmp(LanguageSwitchModel::GetInstance().GetCurLanguageCode(), view_languageid) == 0)
{
// 设置选中
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
item->GetUILabelButtonExt()->SetImageSrc(PNG_CHECKBOX_ON_IMAGE, PNG_CHECKBOX_ON_IMAGE);
#endif
}
else
{
// 设置未选中
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
item->GetUILabelButtonExt()->SetImageSrc(PNG_CHECKBOX_OFF_IMAGE, PNG_CHECKBOX_OFF_IMAGE);
#endif
}
m_LabelButtonExt.SetLabelPosition(47, 0);
m_LabelButtonExt.SetImagePosition(290, 30);
m_LabelButtonExt.SetTouchable(true);
- #ifdef FD230
+ #ifdef CUSTOM_ZHIHUI
m_LabelButtonExt.SetImageSrc(PNG_CHECKBOX_OFF_IMAGE, PNG_CHECKBOX_OFF_IMAGE);
#endif
{
set_hint_code(id);
set_hint_flag(true);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
NativeAbility::GetInstance().EnterSlice(VIEW_LANGUAGE_SWITCH);
#endif
}
int32_t Hint_ID = LanguageSwitchView::GetInstance()->get_hint_id();
g_planguage->ChangeLanguage(Hint_ID);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
CustomEventPublish(TOPIC_EVENT_DEVICE_BIND, power_buf, 2);
#endif
}
g_planguage->ChangeLanguage(Hint_ID);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
CustomEventPublish(TOPIC_EVENT_DEVICE_BIND, power_buf, 2);
#endif
}
{
if (ConfigModel::GetInstance()->GetisFirstTimeStart() == true)
{
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
NativeAbility::GetInstance().EnterSlice(VIEW_WATCH_QR_CODE);
#endif
}
m_labelext->SetTextId(STR_LANGUAGE_SELECTION);
m_labelext->ForceResetText(); // 强制刷新
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
p_UILabelButtonExt->SetImageSrc(PNG_CHECKBOX_ON_IMAGE, PNG_CHECKBOX_ON_IMAGE);
#endif
p_UILabelButtonExt->Invalidate();
// 如果是power键,且是亮屏状态,按键释放就返回上一级
if (keyID == static_cast<uint16_t>(ZliteKeyCode::ZLITE_KEY_POWER) && keyState == 1 && uapi_get_screen_state() == 0)
{
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
NativeAbility::GetInstance().Back();
#endif
#ifdef SUPPORT_BLE_SERVICE
button_ensure->SetImagePosition(15, 15);
button_ensure->SetStyleForState(STYLE_BACKGROUND_COLOR, 0xff191919, UIButton::PRESSED);
button_ensure->SetStyleForState(STYLE_BACKGROUND_OPA, 0x00, UIButton::PRESSED);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
button_ensure->SetImageSrc(PNG_SYSTEM_CHECK_ON_IMAGE, PNG_SYSTEM_CHECK_ON_IMAGE);
#endif
button_ensure->SetViewId("BUTTON_CHECK_OK");
#include "bleInstruct.h"
#endif
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#ifdef SUPPORT_CAT1_HFP_AG_SERV
#include "phoneservice/include/PhoneAGService.h"
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "memcpy_s cywee_Inactivity_Accumulate_Time_Info failed, ret = %d", rets);
return;
}
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if(cywee_Inactivity_Accumulate_Time_Info->output_number == INACTIVITY_MODE_NAP_ACCUMULATE_TIME_OUTPUT)
{
nap_data.total_time = cywee_Inactivity_Accumulate_Time_Info->total_time;
#include "components/ui_image_view.h"
#include "components/ui_label_ext.h"
#include "components/ui_scroll_view.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "ui_resource_string.h"
#endif
#include <cmsis_os2.h>
DrinkReminderTitleLabel->SetPosition(83, 52, 300, 35);
DrinkReminderTitleLabel->SetStyle(STYLE_TEXT_FONT, 30);
DrinkReminderTitleLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
DrinkReminderTitleLabel->SetTextId(STR_DRINK_WATER_REMINDER);
#else
DrinkReminderTitleLabel->SetText("喝水提醒");
DrinkReminderNoteLabel->SetPosition(53, 248, 360, 70);
DrinkReminderNoteLabel->SetStyle(STYLE_TEXT_FONT, 30);
DrinkReminderNoteLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
DrinkReminderNoteLabel->SetTextId(STR_DRINK_WATER_REMINDER_NOTE);
#endif
DrinkReminderNoteLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP);
DrinkReminderLabel->SetPosition(133, 399, 200, 35);
DrinkReminderLabel->SetStyle(STYLE_TEXT_FONT, 30);
DrinkReminderLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
DrinkReminderLabel->SetTextId(STR_KONW);
#else
DrinkReminderLabel->SetText("知道了");
#include "uiservice/include/ui_service.h"
#include "uicomponents/UIComponents.h"
#include "wearable_log.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "message/include/MessageModel.h"
#endif
#include "custom_runtime.h"
NotificationManager::GetInstance()->StopNotify();
// 点击关闭之后通知list进行刷新
// SendMsgToUIService(UI_UPDATE_MESSAGE_DATA, 0, nullptr, 0);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageModel::GetInstance().UpdateMessageView();
#endif
}
NotificationManager::GetInstance()->StopNotify();
// 点击关闭之后通知list进行刷新
// SendMsgToUIService(UI_UPDATE_MESSAGE_DATA, 0, nullptr, 0);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageModel::GetInstance().UpdateMessageView();
#endif
return true;
MessageGroupView->SetOnDragListener(dragListener);
}
/*获取最新message*/
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageData *data = MessageModel::GetInstance().GetNewMessage();
if (data != nullptr)
{
NotificationManager::GetInstance()->StopNotify();
// 点击关闭之后通知list进行刷新
// SendMsgToUIService(UI_UPDATE_MESSAGE_DATA, 0, nullptr, 0);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageModel::GetInstance().UpdateMessageView();
#endif
}
#include "components/ui_image_view.h"
#include "components/ui_label_ext.h"
#include "components/ui_scroll_view.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "ui_resource_string.h"
#endif
#include <service/graphic_service.h>
MotionRecognitionNoteLabel->SetPosition(53, 210, 360, 70);
MotionRecognitionNoteLabel->SetStyle(STYLE_TEXT_FONT, 30);
MotionRecognitionNoteLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MotionRecognitionNoteLabel->SetTextId(MotionRecognitionViewEventListener::GetInstance().GetMotionType());
#endif
MotionRecognitionNoteLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP);
MotionRecognitionIgnoreLabel->SetPosition(93, MotionRecognitionIgnoreButton->GetY() + 30, 100, 30);
MotionRecognitionIgnoreLabel->SetStyle(STYLE_TEXT_FONT, 30);
MotionRecognitionIgnoreLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MotionRecognitionIgnoreLabel->SetTextId(STR_IGNORE);
#endif
MotionRecognitionIgnoreLabel->SetLineBreakMode(UILabel::LINE_BREAK_OSCILLATION);
MotionRecognitionStartLabel->SetPosition(273, MotionRecognitionStartButton->GetY() + 30, 100, 30);
MotionRecognitionStartLabel->SetStyle(STYLE_TEXT_FONT, 30);
MotionRecognitionStartLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MotionRecognitionStartLabel->SetTextId(STR_START);
#endif
MotionRecognitionStartLabel->SetLineBreakMode(UILabel::LINE_BREAK_OSCILLATION);
SedentaryReminderTitleLabel->SetPosition(83, 52, 300, 35);
SedentaryReminderTitleLabel->SetStyle(STYLE_TEXT_FONT, 30);
SedentaryReminderTitleLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
SedentaryReminderTitleLabel->SetTextId(STR_SEDENTARY_REMINDER);
#else
SedentaryReminderTitleLabel->SetText("久坐提醒");
SedentaryReminderNoteLabel->SetPosition(53, 248, 360, 70);
SedentaryReminderNoteLabel->SetStyle(STYLE_TEXT_FONT, 30);
SedentaryReminderNoteLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
// SetLabelId(SedentaryReminderNoteLabel, STR_SEDENTARY_REMINDER_NOTE);
SedentaryReminderNoteLabel->SetTextId(STR_SEDENTARY_REMINDER_NOTE);
#endif
SedentaryReminderLabel->SetPosition(133, 399, 200, 35);
SedentaryReminderLabel->SetStyle(STYLE_TEXT_FONT, 30);
SedentaryReminderLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
SedentaryReminderLabel->SetTextId(STR_KONW);
#else
SedentaryReminderLabel->SetText("知道了");
uint16_t preSlice = backStack_.top();
backStack_.pop();
- #ifdef FD230
+ #ifdef CUSTOM_ZHIHUI
if(preSlice!=VIEW_INCOMING_CALL)
ChangeSlice(preSlice);
else
#include "components/ui_image_view.h"
#include "components/ui_toggle_button.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "aivoice/include/AiVoiceConnectingView.h"
#endif
UIToggleButton *A2DP_ToggleButton{nullptr}; // A2DP
UIScrollView *connectingScrollView{nullptr};
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
AiVoiceConnectingView *p_AiVoiceConnectingView{nullptr};
#endif
if (it->second == "HFP")
{
ConfigModel::GetInstance()->SetHFPState(true);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_hfp_connect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::CONNECT_HFP);
else if (it->second == "A2DP")
{
ConfigModel::GetInstance()->SetA2DPState(true);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_a2dp_snk_connect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::CONNECT_A2DP);
if (it->second == "HFP")
{
ConfigModel::GetInstance()->SetHFPState(false);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_hfp_disconnect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::DISCONNECT_HFP);
{
ConfigModel::GetInstance()->SetA2DPState(false);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_a2dp_snk_disconnect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::DISCONNECT_A2DP);
delete A2DP_ToggleButton;
A2DP_ToggleButton = nullptr;
}
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (p_AiVoiceConnectingView)
{
delete p_AiVoiceConnectingView;
switch (button_state)
{
case BluetoothServiceOptionsView::CONNECT_HFP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (uapi_hfp_connect_state())
{
if (cm_get_A2DP_switch() && uapi_a2dp_snk_get_device_connect_state())
break;
case BluetoothServiceOptionsView::DISCONNECT_HFP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (!uapi_hfp_connect_state())
{
{
#endif
break;
case BluetoothServiceOptionsView::CONNECT_A2DP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (uapi_a2dp_snk_get_device_connect_state())
{
connect_state++;
#endif
break;
case BluetoothServiceOptionsView::DISCONNECT_A2DP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (!uapi_a2dp_snk_get_device_connect_state())
{
connect_state++;
return false;
}
HFP_ToggleButton->SetPosition(298, 145, 100, 50);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
HFP_ToggleButton->SetState(uapi_hfp_connect_state()); // ConfigModel::GetInstance()->GetHFPState());
#endif
HFP_ToggleButton->SetStyle(STYLE_BACKGROUND_COLOR, 0xffffffff);
return false;
}
A2DP_ToggleButton->SetPosition(298, 265, 100, 50);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
A2DP_ToggleButton->SetState(uapi_a2dp_snk_get_device_connect_state());
#endif
A2DP_ToggleButton->SetStyle(STYLE_BACKGROUND_OPA, 0xffffffff);
BlueToothScrollView->Add(A2DP_Label);
BlueToothScrollView->Add(HFP_ToggleButton);
BlueToothScrollView->Add(A2DP_ToggleButton);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
p_AiVoiceConnectingView = new AiVoiceConnectingView();
if (p_AiVoiceConnectingView == nullptr)
{
{
if (connectingScrollView)
connectingScrollView->SetVisible(data);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (data == false)
{
if (A2DP_ToggleButton)
void BluetoothServiceOptionsView::Button_UPdata(void)
{
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (A2DP_ToggleButton)
A2DP_ToggleButton->SetState(uapi_a2dp_snk_get_device_connect_state());
\r
bool ClassicBlueToothPresenter::OnChange(UICheckBox::UICheckBoxState state)\r
{\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "ClassicBlueToothPresenter::OnChange");\r
bd_addr_t bdaddr = {0};\r
switch (state)\r
}\r
Attention->SetPosition(193, 121, 80, 80);\r
Attention->SetStyle(STYLE_BORDER_RADIUS, 100);\r
- #ifdef FD230\r
+ #ifdef CUSTOM_ZHIHUI\r
Attention->SetSrc(PNG_ATTENTION_IMAGE);\r
#endif\r
/* -------------------------------------------------------------------------- */\r
}\r
button->SetPosition(0, 366, 466, 100);\r
button->SetViewId(COUNTDOWNTIMENOTNULLVIEWRETURNBUTTON);\r
- #ifdef FD230\r
+ #ifdef CUSTOM_ZHIHUI\r
button->SetImageSrc(PNG_466x100BUTTON_IMAGE, PNG_466x100BUTTON_IMAGE);\r
#endif\r
button->SetTextId(STR_KONW); // 知道了\r
return;
}
FindPhoneImageView->SetPosition(193, 140, 80, 80);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
FindPhoneImageView->SetSrc(PNG_ATTENTION_IMAGE);
#endif
/* ----------------------------- FindPhoneLabel ----------------------------- */
}
FindPhoneLabelButton->SetPosition(0, 366, 466, 100);
FindPhoneLabelButton->SetViewId(FINDPHONE_LABELBUTTON);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
FindPhoneLabelButton->SetImageSrc(PNG_BUTTON_466x100_IMAGE, PNG_BUTTON_466x100_IMAGE);
#endif
FindPhoneLabelButton->SetTextId(STR_CLOSE); // 关闭
}
FindPhoneLabelButton->SetPosition(0, 366, 466, 100);
FindPhoneLabelButton->SetViewId(FINDPHONE_LABELBUTTON);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
FindPhoneLabelButton->SetImageSrc(PNG_466x100BUTTON_IMAGE, PNG_466x100BUTTON_IMAGE);
#endif
// FindPhoneLabelButton->SetText("停止");
if (strcmp(LanguageSwitchModel::GetInstance().GetCurLanguageCode(), view_languageid) == 0)
{
// 设置选中
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
item->GetUILabelButtonExt()->SetImageSrc(PNG_CHECKBOX_ON_IMAGE, PNG_CHECKBOX_ON_IMAGE);
#endif
}
else
{
// 设置未选中
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
item->GetUILabelButtonExt()->SetImageSrc(PNG_CHECKBOX_OFF_IMAGE, PNG_CHECKBOX_OFF_IMAGE);
#endif
}
m_LabelButtonExt.SetLabelPosition(47, 0);
m_LabelButtonExt.SetImagePosition(290, 30);
m_LabelButtonExt.SetTouchable(true);
- #ifdef FD230
+ #ifdef CUSTOM_ZHIHUI
m_LabelButtonExt.SetImageSrc(PNG_CHECKBOX_OFF_IMAGE, PNG_CHECKBOX_OFF_IMAGE);
#endif
{
set_hint_code(id);
set_hint_flag(true);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
NativeAbility::GetInstance().EnterSlice(VIEW_LANGUAGE_SWITCH);
#endif
}
int32_t Hint_ID = LanguageSwitchView::GetInstance()->get_hint_id();
g_planguage->ChangeLanguage(Hint_ID);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
CustomEventPublish(TOPIC_EVENT_DEVICE_BIND, power_buf, 2);
#endif
}
g_planguage->ChangeLanguage(Hint_ID);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
CustomEventPublish(TOPIC_EVENT_DEVICE_BIND, power_buf, 2);
#endif
}
{
if (ConfigModel::GetInstance()->GetisFirstTimeStart() == true)
{
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
NativeAbility::GetInstance().EnterSlice(VIEW_WATCH_QR_CODE);
#endif
}
m_labelext->SetTextId(STR_LANGUAGE_SELECTION);
m_labelext->ForceResetText(); // 强制刷新
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
p_UILabelButtonExt->SetImageSrc(PNG_CHECKBOX_ON_IMAGE, PNG_CHECKBOX_ON_IMAGE);
#endif
p_UILabelButtonExt->Invalidate();
// 如果是power键,且是亮屏状态,按键释放就返回上一级
if (keyID == static_cast<uint16_t>(ZliteKeyCode::ZLITE_KEY_POWER) && keyState == 1 && uapi_get_screen_state() == 0)
{
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
NativeAbility::GetInstance().Back();
#endif
#ifdef SUPPORT_BLE_SERVICE
button_ensure->SetImagePosition(15, 15);
button_ensure->SetStyleForState(STYLE_BACKGROUND_COLOR, 0xff191919, UIButton::PRESSED);
button_ensure->SetStyleForState(STYLE_BACKGROUND_OPA, 0x00, UIButton::PRESSED);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
button_ensure->SetImageSrc(PNG_SYSTEM_CHECK_ON_IMAGE, PNG_SYSTEM_CHECK_ON_IMAGE);
#endif
button_ensure->SetViewId("BUTTON_CHECK_OK");
#include "bleInstruct.h"
#endif
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#ifdef SUPPORT_CAT1_HFP_AG_SERV
#include "phoneservice/include/PhoneAGService.h"
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "memcpy_s cywee_Inactivity_Accumulate_Time_Info failed, ret = %d", rets);
return;
}
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if(cywee_Inactivity_Accumulate_Time_Info->output_number == INACTIVITY_MODE_NAP_ACCUMULATE_TIME_OUTPUT)
{
nap_data.total_time = cywee_Inactivity_Accumulate_Time_Info->total_time;
#include "components/ui_image_view.h"
#include "components/ui_label_ext.h"
#include "components/ui_scroll_view.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "ui_resource_string.h"
#endif
#include <cmsis_os2.h>
DrinkReminderTitleLabel->SetPosition(83, 52, 300, 35);
DrinkReminderTitleLabel->SetStyle(STYLE_TEXT_FONT, 30);
DrinkReminderTitleLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
DrinkReminderTitleLabel->SetTextId(STR_DRINK_WATER_REMINDER);
#else
DrinkReminderTitleLabel->SetText("喝水提醒");
DrinkReminderNoteLabel->SetPosition(53, 248, 360, 70);
DrinkReminderNoteLabel->SetStyle(STYLE_TEXT_FONT, 30);
DrinkReminderNoteLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
DrinkReminderNoteLabel->SetTextId(STR_DRINK_WATER_REMINDER_NOTE);
#endif
DrinkReminderNoteLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP);
DrinkReminderLabel->SetPosition(133, 399, 200, 35);
DrinkReminderLabel->SetStyle(STYLE_TEXT_FONT, 30);
DrinkReminderLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
DrinkReminderLabel->SetTextId(STR_KONW);
#else
DrinkReminderLabel->SetText("知道了");
#include "uiservice/include/ui_service.h"
#include "uicomponents/UIComponents.h"
#include "wearable_log.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "message/include/MessageModel.h"
#endif
#include "custom_runtime.h"
NotificationManager::GetInstance()->StopNotify();
// 点击关闭之后通知list进行刷新
// SendMsgToUIService(UI_UPDATE_MESSAGE_DATA, 0, nullptr, 0);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageModel::GetInstance().UpdateMessageView();
#endif
}
NotificationManager::GetInstance()->StopNotify();
// 点击关闭之后通知list进行刷新
// SendMsgToUIService(UI_UPDATE_MESSAGE_DATA, 0, nullptr, 0);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageModel::GetInstance().UpdateMessageView();
#endif
return true;
MessageGroupView->SetOnDragListener(dragListener);
}
/*获取最新message*/
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageData *data = MessageModel::GetInstance().GetNewMessage();
if (data != nullptr)
{
NotificationManager::GetInstance()->StopNotify();
// 点击关闭之后通知list进行刷新
// SendMsgToUIService(UI_UPDATE_MESSAGE_DATA, 0, nullptr, 0);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageModel::GetInstance().UpdateMessageView();
#endif
}
#include "components/ui_image_view.h"
#include "components/ui_label_ext.h"
#include "components/ui_scroll_view.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "ui_resource_string.h"
#endif
#include <service/graphic_service.h>
MotionRecognitionNoteLabel->SetPosition(53, 210, 360, 70);
MotionRecognitionNoteLabel->SetStyle(STYLE_TEXT_FONT, 30);
MotionRecognitionNoteLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MotionRecognitionNoteLabel->SetTextId(MotionRecognitionViewEventListener::GetInstance().GetMotionType());
#endif
MotionRecognitionNoteLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP);
MotionRecognitionIgnoreLabel->SetPosition(93, MotionRecognitionIgnoreButton->GetY() + 30, 100, 30);
MotionRecognitionIgnoreLabel->SetStyle(STYLE_TEXT_FONT, 30);
MotionRecognitionIgnoreLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MotionRecognitionIgnoreLabel->SetTextId(STR_IGNORE);
#endif
MotionRecognitionIgnoreLabel->SetLineBreakMode(UILabel::LINE_BREAK_OSCILLATION);
MotionRecognitionStartLabel->SetPosition(273, MotionRecognitionStartButton->GetY() + 30, 100, 30);
MotionRecognitionStartLabel->SetStyle(STYLE_TEXT_FONT, 30);
MotionRecognitionStartLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MotionRecognitionStartLabel->SetTextId(STR_START);
#endif
MotionRecognitionStartLabel->SetLineBreakMode(UILabel::LINE_BREAK_OSCILLATION);
SedentaryReminderTitleLabel->SetPosition(83, 52, 300, 35);
SedentaryReminderTitleLabel->SetStyle(STYLE_TEXT_FONT, 30);
SedentaryReminderTitleLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
SedentaryReminderTitleLabel->SetTextId(STR_SEDENTARY_REMINDER);
#else
SedentaryReminderTitleLabel->SetText("久坐提醒");
SedentaryReminderNoteLabel->SetPosition(53, 248, 360, 70);
SedentaryReminderNoteLabel->SetStyle(STYLE_TEXT_FONT, 30);
SedentaryReminderNoteLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
// SetLabelId(SedentaryReminderNoteLabel, STR_SEDENTARY_REMINDER_NOTE);
SedentaryReminderNoteLabel->SetTextId(STR_SEDENTARY_REMINDER_NOTE);
#endif
SedentaryReminderLabel->SetPosition(133, 399, 200, 35);
SedentaryReminderLabel->SetStyle(STYLE_TEXT_FONT, 30);
SedentaryReminderLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
SedentaryReminderLabel->SetTextId(STR_KONW);
#else
SedentaryReminderLabel->SetText("知道了");
uint16_t preSlice = backStack_.top();
backStack_.pop();
- #ifdef FD230
+ #ifdef CUSTOM_ZHIHUI
if(preSlice!=VIEW_INCOMING_CALL)
ChangeSlice(preSlice);
else
#include "components/ui_image_view.h"
#include "components/ui_toggle_button.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "aivoice/include/AiVoiceConnectingView.h"
#endif
UIToggleButton *A2DP_ToggleButton{nullptr}; // A2DP
UIScrollView *connectingScrollView{nullptr};
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
AiVoiceConnectingView *p_AiVoiceConnectingView{nullptr};
#endif
if (it->second == "HFP")
{
ConfigModel::GetInstance()->SetHFPState(true);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_hfp_connect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::CONNECT_HFP);
else if (it->second == "A2DP")
{
ConfigModel::GetInstance()->SetA2DPState(true);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_a2dp_snk_connect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::CONNECT_A2DP);
if (it->second == "HFP")
{
ConfigModel::GetInstance()->SetHFPState(false);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_hfp_disconnect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::DISCONNECT_HFP);
{
ConfigModel::GetInstance()->SetA2DPState(false);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
uapi_a2dp_snk_disconnect();
#endif
classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::DISCONNECT_A2DP);
delete A2DP_ToggleButton;
A2DP_ToggleButton = nullptr;
}
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (p_AiVoiceConnectingView)
{
delete p_AiVoiceConnectingView;
switch (button_state)
{
case BluetoothServiceOptionsView::CONNECT_HFP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (uapi_hfp_connect_state())
{
if (cm_get_A2DP_switch() && uapi_a2dp_snk_get_device_connect_state())
break;
case BluetoothServiceOptionsView::DISCONNECT_HFP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (!uapi_hfp_connect_state())
{
{
#endif
break;
case BluetoothServiceOptionsView::CONNECT_A2DP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (uapi_a2dp_snk_get_device_connect_state())
{
connect_state++;
#endif
break;
case BluetoothServiceOptionsView::DISCONNECT_A2DP:
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (!uapi_a2dp_snk_get_device_connect_state())
{
connect_state++;
return false;
}
HFP_ToggleButton->SetPosition(298, 145, 100, 50);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
HFP_ToggleButton->SetState(uapi_hfp_connect_state()); // ConfigModel::GetInstance()->GetHFPState());
#endif
HFP_ToggleButton->SetStyle(STYLE_BACKGROUND_COLOR, 0xffffffff);
return false;
}
A2DP_ToggleButton->SetPosition(298, 265, 100, 50);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
A2DP_ToggleButton->SetState(uapi_a2dp_snk_get_device_connect_state());
#endif
A2DP_ToggleButton->SetStyle(STYLE_BACKGROUND_OPA, 0xffffffff);
BlueToothScrollView->Add(A2DP_Label);
BlueToothScrollView->Add(HFP_ToggleButton);
BlueToothScrollView->Add(A2DP_ToggleButton);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
p_AiVoiceConnectingView = new AiVoiceConnectingView();
if (p_AiVoiceConnectingView == nullptr)
{
{
if (connectingScrollView)
connectingScrollView->SetVisible(data);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (data == false)
{
if (A2DP_ToggleButton)
void BluetoothServiceOptionsView::Button_UPdata(void)
{
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if (A2DP_ToggleButton)
A2DP_ToggleButton->SetState(uapi_a2dp_snk_get_device_connect_state());
\r
bool ClassicBlueToothPresenter::OnChange(UICheckBox::UICheckBoxState state)\r
{\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "ClassicBlueToothPresenter::OnChange");\r
bd_addr_t bdaddr = {0};\r
switch (state)\r
}\r
Attention->SetPosition(193, 121, 80, 80);\r
Attention->SetStyle(STYLE_BORDER_RADIUS, 100);\r
- #ifdef FD230\r
+ #ifdef CUSTOM_ZHIHUI\r
Attention->SetSrc(PNG_ATTENTION_IMAGE);\r
#endif\r
/* -------------------------------------------------------------------------- */\r
}\r
button->SetPosition(0, 366, 466, 100);\r
button->SetViewId(COUNTDOWNTIMENOTNULLVIEWRETURNBUTTON);\r
- #ifdef FD230\r
+ #ifdef CUSTOM_ZHIHUI\r
button->SetImageSrc(PNG_466x100BUTTON_IMAGE, PNG_466x100BUTTON_IMAGE);\r
#endif\r
button->SetTextId(STR_KONW); // 知道了\r
return;
}
FindPhoneImageView->SetPosition(193, 140, 80, 80);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
FindPhoneImageView->SetSrc(PNG_ATTENTION_IMAGE);
#endif
/* ----------------------------- FindPhoneLabel ----------------------------- */
}
FindPhoneLabelButton->SetPosition(0, 366, 466, 100);
FindPhoneLabelButton->SetViewId(FINDPHONE_LABELBUTTON);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
FindPhoneLabelButton->SetImageSrc(PNG_BUTTON_466x100_IMAGE, PNG_BUTTON_466x100_IMAGE);
#endif
FindPhoneLabelButton->SetTextId(STR_CLOSE); // 关闭
}
FindPhoneLabelButton->SetPosition(0, 366, 466, 100);
FindPhoneLabelButton->SetViewId(FINDPHONE_LABELBUTTON);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
FindPhoneLabelButton->SetImageSrc(PNG_466x100BUTTON_IMAGE, PNG_466x100BUTTON_IMAGE);
#endif
// FindPhoneLabelButton->SetText("停止");
if (strcmp(LanguageSwitchModel::GetInstance().GetCurLanguageCode(), view_languageid) == 0)
{
// 设置选中
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
item->GetUILabelButtonExt()->SetImageSrc(PNG_CHECKBOX_ON_IMAGE, PNG_CHECKBOX_ON_IMAGE);
#endif
}
else
{
// 设置未选中
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
item->GetUILabelButtonExt()->SetImageSrc(PNG_CHECKBOX_OFF_IMAGE, PNG_CHECKBOX_OFF_IMAGE);
#endif
}
m_LabelButtonExt.SetLabelPosition(47, 0);
m_LabelButtonExt.SetImagePosition(290, 30);
m_LabelButtonExt.SetTouchable(true);
- #ifdef FD230
+ #ifdef CUSTOM_ZHIHUI
m_LabelButtonExt.SetImageSrc(PNG_CHECKBOX_OFF_IMAGE, PNG_CHECKBOX_OFF_IMAGE);
#endif
{
set_hint_code(id);
set_hint_flag(true);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
NativeAbility::GetInstance().EnterSlice(VIEW_LANGUAGE_SWITCH);
#endif
}
int32_t Hint_ID = LanguageSwitchView::GetInstance()->get_hint_id();
g_planguage->ChangeLanguage(Hint_ID);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
CustomEventPublish(TOPIC_EVENT_DEVICE_BIND, power_buf, 2);
#endif
}
g_planguage->ChangeLanguage(Hint_ID);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
CustomEventPublish(TOPIC_EVENT_DEVICE_BIND, power_buf, 2);
#endif
}
{
if (ConfigModel::GetInstance()->GetisFirstTimeStart() == true)
{
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
NativeAbility::GetInstance().EnterSlice(VIEW_WATCH_QR_CODE);
#endif
}
m_labelext->SetTextId(STR_LANGUAGE_SELECTION);
m_labelext->ForceResetText(); // 强制刷新
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
p_UILabelButtonExt->SetImageSrc(PNG_CHECKBOX_ON_IMAGE, PNG_CHECKBOX_ON_IMAGE);
#endif
p_UILabelButtonExt->Invalidate();
// 如果是power键,且是亮屏状态,按键释放就返回上一级
if (keyID == static_cast<uint16_t>(ZliteKeyCode::ZLITE_KEY_POWER) && keyState == 1 && uapi_get_screen_state() == 0)
{
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
NativeAbility::GetInstance().Back();
#endif
#ifdef SUPPORT_BLE_SERVICE
button_ensure->SetImagePosition(15, 15);
button_ensure->SetStyleForState(STYLE_BACKGROUND_COLOR, 0xff191919, UIButton::PRESSED);
button_ensure->SetStyleForState(STYLE_BACKGROUND_OPA, 0x00, UIButton::PRESSED);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
button_ensure->SetImageSrc(PNG_SYSTEM_CHECK_ON_IMAGE, PNG_SYSTEM_CHECK_ON_IMAGE);
#endif
button_ensure->SetViewId("BUTTON_CHECK_OK");
#include "bleInstruct.h"
#endif
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#ifdef SUPPORT_CAT1_HFP_AG_SERV
#include "phoneservice/include/PhoneAGService.h"
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "memcpy_s cywee_Inactivity_Accumulate_Time_Info failed, ret = %d", rets);
return;
}
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
if(cywee_Inactivity_Accumulate_Time_Info->output_number == INACTIVITY_MODE_NAP_ACCUMULATE_TIME_OUTPUT)
{
nap_data.total_time = cywee_Inactivity_Accumulate_Time_Info->total_time;
#include "components/ui_image_view.h"
#include "components/ui_label_ext.h"
#include "components/ui_scroll_view.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "ui_resource_string.h"
#endif
#include <cmsis_os2.h>
DrinkReminderTitleLabel->SetPosition(83, 52, 300, 35);
DrinkReminderTitleLabel->SetStyle(STYLE_TEXT_FONT, 30);
DrinkReminderTitleLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
DrinkReminderTitleLabel->SetTextId(STR_DRINK_WATER_REMINDER);
#else
DrinkReminderTitleLabel->SetText("喝水提醒");
DrinkReminderNoteLabel->SetPosition(53, 248, 360, 70);
DrinkReminderNoteLabel->SetStyle(STYLE_TEXT_FONT, 30);
DrinkReminderNoteLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
DrinkReminderNoteLabel->SetTextId(STR_DRINK_WATER_REMINDER_NOTE);
#endif
DrinkReminderNoteLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP);
DrinkReminderLabel->SetPosition(133, 399, 200, 35);
DrinkReminderLabel->SetStyle(STYLE_TEXT_FONT, 30);
DrinkReminderLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
DrinkReminderLabel->SetTextId(STR_KONW);
#else
DrinkReminderLabel->SetText("知道了");
#include "uiservice/include/ui_service.h"
#include "uicomponents/UIComponents.h"
#include "wearable_log.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "message/include/MessageModel.h"
#endif
#include "custom_runtime.h"
NotificationManager::GetInstance()->StopNotify();
// 点击关闭之后通知list进行刷新
// SendMsgToUIService(UI_UPDATE_MESSAGE_DATA, 0, nullptr, 0);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageModel::GetInstance().UpdateMessageView();
#endif
}
NotificationManager::GetInstance()->StopNotify();
// 点击关闭之后通知list进行刷新
// SendMsgToUIService(UI_UPDATE_MESSAGE_DATA, 0, nullptr, 0);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageModel::GetInstance().UpdateMessageView();
#endif
return true;
MessageGroupView->SetOnDragListener(dragListener);
}
/*获取最新message*/
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageData *data = MessageModel::GetInstance().GetNewMessage();
if (data != nullptr)
{
NotificationManager::GetInstance()->StopNotify();
// 点击关闭之后通知list进行刷新
// SendMsgToUIService(UI_UPDATE_MESSAGE_DATA, 0, nullptr, 0);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MessageModel::GetInstance().UpdateMessageView();
#endif
}
#include "components/ui_image_view.h"
#include "components/ui_label_ext.h"
#include "components/ui_scroll_view.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "ui_resource_string.h"
#endif
#include <service/graphic_service.h>
MotionRecognitionNoteLabel->SetPosition(53, 210, 360, 70);
MotionRecognitionNoteLabel->SetStyle(STYLE_TEXT_FONT, 30);
MotionRecognitionNoteLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MotionRecognitionNoteLabel->SetTextId(MotionRecognitionViewEventListener::GetInstance().GetMotionType());
#endif
MotionRecognitionNoteLabel->SetLineBreakMode(UILabel::LINE_BREAK_WRAP);
MotionRecognitionIgnoreLabel->SetPosition(93, MotionRecognitionIgnoreButton->GetY() + 30, 100, 30);
MotionRecognitionIgnoreLabel->SetStyle(STYLE_TEXT_FONT, 30);
MotionRecognitionIgnoreLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MotionRecognitionIgnoreLabel->SetTextId(STR_IGNORE);
#endif
MotionRecognitionIgnoreLabel->SetLineBreakMode(UILabel::LINE_BREAK_OSCILLATION);
MotionRecognitionStartLabel->SetPosition(273, MotionRecognitionStartButton->GetY() + 30, 100, 30);
MotionRecognitionStartLabel->SetStyle(STYLE_TEXT_FONT, 30);
MotionRecognitionStartLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
MotionRecognitionStartLabel->SetTextId(STR_START);
#endif
MotionRecognitionStartLabel->SetLineBreakMode(UILabel::LINE_BREAK_OSCILLATION);
SedentaryReminderTitleLabel->SetPosition(83, 52, 300, 35);
SedentaryReminderTitleLabel->SetStyle(STYLE_TEXT_FONT, 30);
SedentaryReminderTitleLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
SedentaryReminderTitleLabel->SetTextId(STR_SEDENTARY_REMINDER);
#else
SedentaryReminderTitleLabel->SetText("久坐提醒");
SedentaryReminderNoteLabel->SetPosition(53, 248, 360, 70);
SedentaryReminderNoteLabel->SetStyle(STYLE_TEXT_FONT, 30);
SedentaryReminderNoteLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
// SetLabelId(SedentaryReminderNoteLabel, STR_SEDENTARY_REMINDER_NOTE);
SedentaryReminderNoteLabel->SetTextId(STR_SEDENTARY_REMINDER_NOTE);
#endif
SedentaryReminderLabel->SetPosition(133, 399, 200, 35);
SedentaryReminderLabel->SetStyle(STYLE_TEXT_FONT, 30);
SedentaryReminderLabel->SetStyle(STYLE_LINE_HEIGHT, 35);
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
SedentaryReminderLabel->SetTextId(STR_KONW);
#else
SedentaryReminderLabel->SetText("知道了");
#include "bundlems_slite_client.h"
#include "abilityms_slite_client.h"
#include "gt_bundle_manager_service.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "uiservice/include/ui_service.h"
#else
#include "uiservice/ui_service.h"
#include "js_fwk_common.h"
#include "global.h"
#include "msg_center_customer.h"
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "applist/include/ApplistModel.h"
#else
#include "applist/ApplistModel.h"
'NANDFLASH_DS35X'
]
},
-################# FD230 ############################
+################# CUSTOM_ZHIHUI ############################
'brandy-native-js-fd230': {
'base_target_name': 'brandy-native-js',
#自定义配置项,选择硬件及功能参数
'SUPPORT_PPG_SERVICE',
'SUPPORT_CYWEE_SERVICE',
'SUPPORT_BATTERY_SERVICE',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
# 'SUPPORT_AUTO_OTA_SERVER',
# 'CONFIG_DFX_SUPPORT_DIAG_UP_MACHINE=1',
#"MEM_CHECK",
'NANDFLASH_DS35X',
'TPTYPE_FT6X46',
'CFG_FLASH_SIZE=16',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
'SINGLE_USER_PARTITION'
],
'ram_component': ["at_cmd"]
'ENABLE_ECC',
'CFG_DRIVERS_NANDFLASH',
'CFG_FLASH_SIZE=16',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
'NANDFLASH_DS35X'
]
},
'SUPPORT_CHARGER_PLUG_DETECTION_NOTIFICATION',
# 'SUPPORT_AT_CUSTOMUTILS',
# 'SUPPORT_BLE_SERVICE',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
# 'SUPPORT_AUTO_OTA_SERVER',
# 'CONFIG_DFX_SUPPORT_DIAG_UP_MACHINE=1',
#"MEM_CHECK",
'NANDFLASH_DS35X',
'TPTYPE_FT6X46',
'CFG_FLASH_SIZE=16',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
'SINGLE_USER_PARTITION'
],
'ram_component': ["at_cmd"]
'ENABLE_ECC',
'CFG_DRIVERS_NANDFLASH',
'CFG_FLASH_SIZE=16',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
'NANDFLASH_DS35X'
]
},
'SUPPORT_BAIDU_MAP',
'CFG_FLASH_SIZE=16',
'SUPPORT_BLE_SERVICE',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
#"MEM_CHECK",
#'ENABLE_WEBSOCKET',
'SINGLE_USER_PARTITION',
'defines': ['FT_SINGLE_UART',
'CFG_FLASH_SIZE=16',
'SINGLE_USER_PARTITION',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
'BOARD_U8',
'TPTYPE_CST86XX',
'NANDFLASH_DS35X'
'SINGLE_USER_PARTITION',
'CFG_FLASH_SIZE=16',
'FT_SINGLE_UART',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
'BOARD_U8',
'NANDFLASH_DS35X'
],
'SUPPORT_BAIDU_MAP',
'CFG_FLASH_SIZE=8',
'SUPPORT_BLE_SERVICE',
- # 'FD230',
+ # 'CUSTOM_ZHIHUI',
#"MEM_CHECK",
#'ENABLE_WEBSOCKET',
'SINGLE_USER_PARTITION',
'SUPPORT_BAIDU_MAP',
'CFG_FLASH_SIZE=8',
'SUPPORT_BLE_SERVICE',
- # 'FD230',
+ # 'CUSTOM_ZHIHUI',
#"MEM_CHECK",
#'ENABLE_WEBSOCKET',
'SINGLE_USER_PARTITION',
'SUPPORT_PPG_SERVICE',
'SUPPORT_CYWEE_SERVICE',
'SUPPORT_BATTERY_SERVICE',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
# 'SUPPORT_AUTO_OTA_SERVER',
# 'CONFIG_DFX_SUPPORT_DIAG_UP_MACHINE=1',
#"MEM_CHECK",
'NANDFLASH_F35UQA',
'TPTYPE_CST86XX',
'CONFIG_NORFLASH_SIZE=16',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
'SINGLE_USER_PARTITION'
],
'ram_component': ["at_cmd"]
'ENABLE_ECC',
'CFG_DRIVERS_NANDFLASH',
'CONFIG_NORFLASH_SIZE=16',
- 'FD230',
+ 'CUSTOM_ZHIHUI',
'NANDFLASH_F35UQA',
'GPIO_POWERON_FLASH'
]
},
+ ################# FD272 ############################
+ 'brandy-native-js-fd272': {
+ 'base_target_name': 'brandy-native-js',
+ #自定义配置项,选择硬件及功能参数
+ 'defines': [
+ 'BOARD_FD272',
+ # cat1 相关配置
+ 'FT_SINGLE_UART',
+ 'SUPPORT_CAT1_SERVICE',
+
+ 'CONFIG_EFUSE_READ_TO_RAM',
+ 'CUSTOM_UTILS',
+ # 'CUSTOM_HID_SERVICE',
+ # 'WEARABLE_LOG_DEBUG',
+ 'SUPPORT_RC_CALIBRATION',
+ 'VIB_USE_PWM',
+ 'CONFIG_PWM_SUPPORT',
+ # 'ACC_LIS2DOC',
+ 'ENABLE_CUSTOM_I2C',
+ #'ENABLE_VIBRATOR',
+ 'ENCODER_SUPPORT',
+ # 'SUPPORT_SPO2_NOTIFICATION',
+ # 'SUPPORT_SPO2_NOTIFICATION_TEST',
+ 'SUPPORT_DEVICE_PAIRING_NOTIFICATION',
+ # 'ENABLE_FONT_VECTOR_GLOBAL',
+ # 'ENABLE_SHAPING',
+ 'SUPPORT_CHARGER_PLUG_DETECTION_NOTIFICATION',
+ # 'SUPPORT_AT_CUSTOMUTILS',
+ 'SUPPORT_BLE_SERVICE',
+ 'SUPPORT_MAG_SERVICE',
+ 'SUPPORT_PPG_SERVICE',
+ 'SUPPORT_CYWEE_SERVICE',
+ 'SUPPORT_BATTERY_SERVICE',
+ 'CUSTOM_ZHIHUI',
+ # 'SUPPORT_AUTO_OTA_SERVER',
+ # 'CONFIG_DFX_SUPPORT_DIAG_UP_MACHINE=1',
+ #"MEM_CHECK",
+ #'ENABLE_WEBSOCKET',
+ 'CYWEE_MAC_ACTIVE',
+ #'SUPPORT_HID_SERVICE',
+ 'SUPPORT_BAIDU_MAP',
+ 'CFG_FLASH_SIZE=16',
+ 'SINGLE_USER_PARTITION',
+ 'TPTYPE_FT6X46',
+ 'ROTARYENCODER_HX3507',
+ 'NANDFLASH_DS35X',
+ 'BLE_INSTRUCT',
+ # 'AILPAY_SUPPORT',
+ 'SUPPORT_FACTORY_SERVICE',
+ # 'MEMORY_CORRUPTION',
+
+ ],
+ #添加自定义应用
+ 'ram_component': [
+ 'audio_at_service',
+ 'media_at_service',
+ 'bt_manager_at_service',
+ "ppg_sensor_hx3695",
+ # "ppgBleService",
+ "mag_sensor_mmc5603",
+ "vibrator",
+ "vibrator_service",
+ # "-:lwip",
+ "cat1Service",
+ "cat1Test",
+ "4gTestcpp",
+ "audio_manager",
+ "CustomUIcomponentTool",
+ "nativeabilityfwk",
+ "custom_utils",
+ "custom_utilscpp",
+ "custom_config",
+ "rotary_encoder",
+ "nativelauncher",
+ "ppg_service",
+ "cywee_service",
+ "batterry_service",
+ # "AIsystem",
+ # "AImain",
+ # "AIsyscall",
+ # "AIagent",
+ # "AIota",
+ # "AIsdk",
+ "bleservice",
+ "blemoder",
+ "transspecard",
+ "factorytest_service",
+ # "hid_service",
+ "producttest",
+ "ppg_hal",
+ "mag_service",
+ "cywee_dml",
+ #"cyweeBleService",
+ ],
+ 'image_analysis': False,
+ 'fs_image_path':'fd272',
+ 'ssb_version': 'brandy-native-js-fd272-ssb',
+ # 'fs_image_path':'evb',
+ 'fs_image': True
+ },
+ 'brandy-native-js-fd272-r': {
+ 'base_target_name': 'brandy-native-js-r',
+ #自定义配置项,选择硬件及功能参数
+ 'defines': [
+ 'BOARD_FD272',
+ 'FT_SINGLE_UART',
+ 'NANDFLASH_DS35X',
+ 'TPTYPE_FT6X46',
+ 'CFG_FLASH_SIZE=16',
+ 'CUSTOM_ZHIHUI',
+ 'SINGLE_USER_PARTITION'
+ ],
+ 'ram_component': ["at_cmd"]
+ },
+ 'brandy-native-js-fd272-ssb': {
+ 'base_target_name': 'brandy-ssb',
+ #自定义配置项,选择硬件及功能参数
+ 'defines': [
+ 'BOARD_FD272',
+ 'FT_SINGLE_UART',
+ 'ENABLE_ECC',
+ 'CFG_DRIVERS_NANDFLASH',
+ 'CFG_FLASH_SIZE=16',
+ 'CUSTOM_ZHIHUI',
+ 'NANDFLASH_DS35X'
+ ]
+ },
+
################# leiniao ############################
'brandy-native-js-ln': {
'base_target_name': 'brandy-native-js',
'pack_brandy_auto_ota_ser': ['brandy-ssb-native-js', 'brandy-auto-ota-ser'],
'pack_brandy_auto_ota_cli': ['brandy-ssb-native-js', 'brandy-auto-ota-cli'],
'pack_brandy_native_js_fd230': ['brandy-native-js-fd230-ssb', 'brandy-native-js-fd230-r', 'brandy-native-js-fd230'],
+ 'pack_brandy_native_js_fd272': ['brandy-native-js-fd272-ssb', 'brandy-native-js-fd272-r', 'brandy-native-js-fd272'],
'pack_brandy_native_js_u8': ['brandy-native-js-u8-ssb', 'brandy-native-js-u8-r', 'brandy-native-js-u8'],
'pack_brandy_native_js_w9': ['brandy-native-js-w9-ssb', 'brandy-native-js-w9-r', 'brandy-native-js-w9'],
'pack_brandy_native_js_n9': ['brandy-native-js-n9-ssb', 'brandy-native-js-n9-r', 'brandy-native-js-n9'],
#include "common/screen.h"\r
#include "components/root_view.h"\r
#ifdef SUPPORT_OHOSFWK\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
#include "screennotify/include/ui_screennotify.h"\r
#else\r
#include "screennotify/ui_screennotify.h"\r
#include "events/key_event.h"
#endif
#if defined (SUPPORT_DIAL_DEBUG)
-#ifdef FD230
+#ifdef CUSTOM_ZHIHUI
#include "main/include/dial/WatchInterface.h"
#else
#include "main/dial/WatchInterface.h"
#include "ui_test_video_play.h"\r
#include "components/root_view.h"\r
#ifdef SUPPORT_OHOSFWK\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
#include "screennotify/include/ui_screennotify.h"\r
#else\r
#include "screennotify/ui_screennotify.h"\r
#include "errcode.h"\r
#include "transmit_resume.h"\r
#ifdef CONFIG_BRANDY_BLE_TRANS_OPTIMIZE\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
#include "bluetooth/include/BluetoothChangeBle.h"\r
#else\r
#include "bluetooth/BluetoothChangeBle.h"\r
#include "diag_msg.h"\r
#include "diag_dfx.h"\r
#ifdef CONFIG_BRANDY_BLE_TRANS_OPTIMIZE\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
#include "bluetooth/include/BluetoothChangeBle.h"\r
#else\r
#include "bluetooth/BluetoothChangeBle.h"\r
#include "zdiag_adapt_layer.h"\r
#include "errcode.h"\r
#ifdef CONFIG_BRANDY_BLE_TRANS_OPTIMIZE\r
-#ifdef FD230\r
+#ifdef CUSTOM_ZHIHUI\r
#include "bluetooth/include/BluetoothChangeBle.h"\r
#else\r
#include "bluetooth/BluetoothChangeBle.h"\r