'VIB_USE_PWM',
'CONFIG_PWM_SUPPORT',
# 'ACC_LIS2DOC',
- # 'ENABLE_CYWEE',
- # 'ENABLE_CUSTOM_I2C',
- # 'SUPPORT_AT_CYWEE',
- # 'MAG_MMC5603',
- # 'ENABLE_VIBRATOR',
+ 'ENABLE_CUSTOM_I2C',
+ #'ENABLE_VIBRATOR',
# 'ENABLE_SLIP',
'ENCODER_SUPPORT',
- #'SUPPORT_SPO2_NOTIFICATION',
- #'SUPPORT_SPO2_NOTIFICATION_TEST',
- # 'SUPPORT_DEVICE_PAIRING_NOTIFICATION',
+ # 'SUPPORT_SPO2_NOTIFICATION',
+ # 'SUPPORT_SPO2_NOTIFICATION_TEST',
+ 'SUPPORT_DEVICE_PAIRING_NOTIFICATION',
# 'ENABLE_FONT_VECTOR_GLOBAL',
# 'ENABLE_SHAPING',
'SUPPORT_CHARGER_PLUG_DETECTION_NOTIFICATION',
# 'CONFIG_DFX_SUPPORT_DIAG_UP_MACHINE=1',
#"MEM_CHECK",
#'ENABLE_WEBSOCKET',
- # 'CYWEE_SPORT',
- # 'CYWEE_MAC_ACTIVE',
+ 'SUPPORT_CYWEE_SERVICE',
+ 'CYWEE_MAC_ACTIVE',
- #'SUPPORT_CAT1_SERVICE',
+ 'SUPPORT_CAT1_SERVICE',
- # 'SUPPORT_TCPIP',
- # 'SUPPORT_HID_SERVICE',
+ #'SUPPORT_TCPIP',
+ 'SUPPORT_HID_SERVICE',
'SUPPORT_BAIDU_MAP',
'CFG_FLASH_SIZE=16',
'SINGLE_USER_PARTITION',
"custom_config",
"rotary_encoder",
"nativelauncher",
- "ppg_service",
- "cywee",
- "batterry_service",
- # "bleservice",
- # "blemoder",
- # "ppg_service",
- # "cywee",
++ "ppg_service",
++ "cywee",
+ "batterry_service",
+ "bleservice",
+ "blemoder",
# "factorytest_service",
# "hid_service",
# "producttest",
uint16_t uuid_tmp = *((uint16_t*)uuid->uuid);\r
uuid_tmp = SWAP_U16(uuid_tmp);\r
if ( uuid_tmp == BLE_SERVICE_UUID \r
- || uuid_tmp == BLE_UUID_HUMAN_INTERFACE_DEVICE \r
+ \r
+ // || uuid_tmp == BLE_UUID_HUMAN_INTERFACE_DEVICE \r
+ #ifdef FACTORYTEST_SERVICE\r
|| uuid_tmp == BLE_UUID_ATE_FACTORYTEST_SERVICE \r
+ #endif\r
+ #ifdef PPG_SERVICE_SUPPORT\r
|| uuid_tmp == BLE_UUID_PPG_BLE_SERVICE \r
- || uuid_tmp == ALIPAYY_SERVICE_ID\r
-#endif\r
-\r
- // || uuid_tmp == ALIPAYY_SERVICE_ID\r
-#ifdef SUPPORT_AT_CYWEE\r
++ //|| uuid_tmp == ALIPAYY_SERVICE_ID\r
+#ifdef SUPPORT_CYWEE_SERVICE\r
|| uuid_tmp == BLE_UUID_CYWEE_REPORT_SERVICE\r
#endif\r
) \r
bt_uuid_t ble_service_uuid = {0};\r
bts_data_to_uuid_len2(BLE_SERVICE_UUID, &ble_service_uuid);\r
\r
- bt_uuid_t hid_service_uuid = {0};\r
- bts_data_to_uuid_len2(BLE_UUID_HUMAN_INTERFACE_DEVICE, &hid_service_uuid);\r
+ // bt_uuid_t hid_service_uuid = {0};\r
+ // bts_data_to_uuid_len2(BLE_UUID_HUMAN_INTERFACE_DEVICE, &hid_service_uuid);\r
\r
- // bt_uuid_t alipay_service_uuid = {0};\r
- // bts_data_to_uuid_len2(ALIPAYY_SERVICE_ID, &alipay_service_uuid);//0x3802\r
+ // // bt_uuid_t alipay_service_uuid = {0};\r
+ // // bts_data_to_uuid_len2(ALIPAYY_SERVICE_ID, &alipay_service_uuid);//0x3802\r
\r
+ #ifdef FACTORYTEST_SERVICE\r
bt_uuid_t factory_service_uuid = {0};\r
bts_data_to_uuid_len2(BLE_UUID_ATE_FACTORYTEST_SERVICE, &factory_service_uuid);\r
- \r
+ #endif\r
+ #ifdef PPG_SERVICE_SUPPORT\r
bt_uuid_t ppg_service_uuid = {0};\r
bts_data_to_uuid_len2(BLE_UUID_PPG_BLE_SERVICE, &ppg_service_uuid);\r
+ #endif\r
\r
\r
-#ifdef SUPPORT_AT_CYWEE\r
+#ifdef SUPPORT_CYWEE_SERVICE\r
\r
bt_uuid_t cywee_ble_service_uuid = {0};\r
bts_data_to_uuid_len2(BLE_UUID_CYWEE_REPORT_SERVICE, &cywee_ble_service_uuid);\r
#ifdef SUPPORT_HID_SERVICE\r
// ble_hid_server_init();\r
#endif\r
+ #ifdef AILPAY_SUPPORT\r
svr_alipay_bluetooth_init(g_ble_server_id);\r
+ #endif\r
\r
- ble_factory_server_init(g_ble_server_id);\r
+ // ble_factory_server_init(g_ble_server_id);\r
\r
- ble_ppgtest_server_init(g_ble_server_id);\r
+ // ble_ppgtest_server_init(g_ble_server_id);\r
\r
-#ifdef SUPPORT_AT_CYWEE\r
+#ifdef SUPPORT_CYWEE_SERVICE\r
ble_cywee_server_init(g_ble_server_id);\r
#endif\r
gattc_reg_id();\r
// mail.msg_data[2]);\r
\r
#if 1\r
- if (server_handle == get_factory_ate_write_handl()) \r
- {\r
- factory_recv_cmd_data(p_msgbuf,msg_len,server_handle);\r
- }\r
- else if (server_handle == get_factory_ota_write_handl())\r
- {\r
- factory_recv_ota_data(p_msgbuf,msg_len,server_handle);\r
- }\r
+ // if (server_handle == get_factory_ate_write_handl()) \r
+ // {\r
+ // factory_recv_cmd_data(p_msgbuf,msg_len,server_handle);\r
+ // }\r
+ // else if (server_handle == get_factory_ota_write_handl())\r
+ // {\r
+ // factory_recv_ota_data(p_msgbuf,msg_len,server_handle);\r
+ // }\r
\r
-#ifdef SUPPORT_AT_CYWEE\r
- // else \r
- if (server_handle == get_cywee_ate_write_handl())\r
+#ifdef SUPPORT_CYWEE_SERVICE\r
+ else if (server_handle == get_cywee_ate_write_handl())\r
{\r
cywee_recv_cmd_data(p_msgbuf,msg_len,server_handle);\r
}\r