Home
last modified time | relevance | path

Searched refs:status (Results 1 - 25 of 40) sorted by relevance

12

/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
H A Dapp_demo_aht20.c82 unsigned int status = 0; in Ath20CheckAndInit() local
97 status = IoTI2cRead(IOT_I2C_IDX_0, (AHT_DEVICE_ADDR << IOT_BIT_1) | AHT_READ_COMMAND, in Ath20CheckAndInit()
101 status = IoTI2cWrite(IOT_I2C_IDX_0, (AHT_DEVICE_ADDR << IOT_BIT_1) | AHT_WRITE_COMMAND, in Ath20CheckAndInit()
113 unsigned int status = 0; in Aht20Write() local
121 status = IoTI2cWrite(IOT_I2C_IDX_0, (AHT_DEVICE_ADDR << IOT_BIT_1) | AHT_WRITE_COMMAND, in Aht20Write()
130 unsigned int status = 0; in Aht20Read() local
144 status = IoTI2cRead(IOT_I2C_IDX_0, (AHT_DEVICE_ADDR << IOT_BIT_1) | AHT_READ_COMMAND, in Aht20Read()
165 unsigned int status = 0; in AppDemoAht20() local
186 status = Aht20Write(AHT_DEVICE_TEST_CMD, AHT_DEVICE_PARAM_HIGH_BYTE, in AppDemoAht20()
188 if (status ! in AppDemoAht20()
208 unsigned int status = 0; GetAht20SensorData() local
[all...]
/vendor/hisilicon/hispark_pegasus/demo/time_demo/
H A Dtimer.c44 osStatus_t status = osTimerStart(periodic_tid, 100); in timer_periodic() local
45 if (status != osOK) { in timer_periodic()
57 status = osTimerStop(periodic_tid); in timer_periodic()
58 printf("[Timer Test] stop periodic timer, status :%d.\r\n", status); in timer_periodic()
59 status = osTimerDelete(periodic_tid); in timer_periodic()
60 printf("[Timer Test] kill periodic timer, status :%d.\r\n", status); in timer_periodic()
/vendor/hisilicon/hispark_pegasus/demo/thread_demo/00_thread/
H A Dthread.c64 osStatus_t status = osThreadSetPriority(tid, osPriorityNormal4); in rtosv2_thread_main() local
65 printf("[Thread Test] osThreadSetPriority, status: %d.\r\n", status); in rtosv2_thread_main()
70 status = osThreadSuspend(tid); in rtosv2_thread_main()
71 printf("[Thread Test] osThreadSuspend, status: %d.\r\n", status); in rtosv2_thread_main()
73 status = osThreadResume(tid); in rtosv2_thread_main()
74 printf("[Thread Test] osThreadResume, status: %d.\r\n", status); in rtosv2_thread_main()
86 status in rtosv2_thread_main()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dapp_demo_i2c_oled.c243 * status 0:表示写入成功,否则失败
247 unsigned int status; in I2cWriteByte() local
261 status = IoTI2cWrite(IOT_I2C_IDX_0, OLED_ADDRESS, oledI2cWriteCmd.sendBuf, oledI2cWriteCmd.sendLen); in I2cWriteByte()
262 if (status != 0) { in I2cWriteByte()
263 return status; in I2cWriteByte()
268 status = IoTI2cWrite(IOT_I2C_IDX_0, OLED_ADDRESS, oledI2cCmd.sendBuf, oledI2cCmd.sendLen); in I2cWriteByte()
269 if (status != 0) { in I2cWriteByte()
270 return status; in I2cWriteByte()
280 unsigned char status; in WriteCmd() local
282 status in WriteCmd()
290 unsigned char status; WriteData() local
299 int status; SetOledAddress() local
326 int status; SetOledControlCmd() local
349 int status; SetOledScanDisplayCmd() local
384 int status; SetOledColorPreChargeCmd() local
415 int status; SetOledVcomhChargePumpCmd() local
443 unsigned int status; OledInit() local
[all...]
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Dapp_demo_i2c_oled.c243 * status 0:表示写入成功,否则失败
247 unsigned int status; in I2cWriteByte() local
261 status = IoTI2cWrite(IOT_I2C_IDX_0, OLED_ADDRESS, oledI2cWriteCmd.sendBuf, oledI2cWriteCmd.sendLen); in I2cWriteByte()
262 if (status != 0) { in I2cWriteByte()
263 return status; in I2cWriteByte()
268 status = IoTI2cWrite(IOT_I2C_IDX_0, OLED_ADDRESS, oledI2cCmd.sendBuf, oledI2cCmd.sendLen); in I2cWriteByte()
269 if (status != 0) { in I2cWriteByte()
270 return status; in I2cWriteByte()
280 unsigned char status; in WriteCmd() local
282 status in WriteCmd()
290 unsigned char status; WriteData() local
299 int status; SetOledAddress() local
326 int status; SetOledControlCmd() local
349 int status; SetOledScanDisplayCmd() local
384 int status; SetOledColorPreChargeCmd() local
415 int status; SetOledVcomhChargePumpCmd() local
443 unsigned int status; OledInit() local
[all...]
/vendor/hisilicon/hispark_pegasus/demo/traffic_light_demo/
H A Dapp_demo_i2c_oled.c243 * status 0:表示写入成功,否则失败
247 unsigned int status; in I2cWriteByte() local
261 status = IoTI2cWrite(IOT_I2C_IDX_0, OLED_ADDRESS, oledI2cWriteCmd.sendBuf, oledI2cWriteCmd.sendLen); in I2cWriteByte()
262 if (status != 0) { in I2cWriteByte()
263 return status; in I2cWriteByte()
268 status = IoTI2cWrite(IOT_I2C_IDX_0, OLED_ADDRESS, oledI2cCmd.sendBuf, oledI2cCmd.sendLen); in I2cWriteByte()
269 if (status != 0) { in I2cWriteByte()
270 return status; in I2cWriteByte()
280 unsigned char status; in WriteCmd() local
282 status in WriteCmd()
290 unsigned char status; WriteData() local
299 int status; SetOledAddress() local
326 int status; SetOledControlCmd() local
349 int status; SetOledScanDisplayCmd() local
384 int status; SetOledColorPreChargeCmd() local
415 int status; SetOledVcomhChargePumpCmd() local
443 unsigned int status; OledInit() local
[all...]
/vendor/hisilicon/hispark_pegasus/demo/delay_demo/
H A Ddelay.c31 osStatus_t status = osDelay(100); in rtosv2_delay_main() local
32 printf("[Delay Test] osDelay, status: %d.\r\n", status); in rtosv2_delay_main()
37 status = osDelayUntil(tick); in rtosv2_delay_main()
38 printf("[Delay Test] osDelayUntil, status: %d.\r\n", status); in rtosv2_delay_main()
/vendor/hisilicon/hispark_pegasus/demo/robot_demo/robot_car/
H A Dssd1306_test.c72 unsigned char status = GetCarStatus(); in Ssd1306TestTask() local
73 if (status == CAR_OBSTACLE_AVOIDANCE_STATUS) { in Ssd1306TestTask()
75 } else if (status == CAR_STOP_STATUS) { in Ssd1306TestTask()
77 } else if (status == CAR_TRACE_STATUS) { in Ssd1306TestTask()
H A Dtrace_model.c91 unsigned char status = GetCarStatus(); in trace_module() local
94 if (status != CAR_TRACE_STATUS) { in trace_module()
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/play/
H A Dstream_player.c78 // printf("recving status from server...\r\n"); in PlayStream()
79 uint32_t status = 0; in PlayStream() local
80 retval = lwip_recv(sockfd, &status, sizeof(status), 0); in PlayStream()
81 if (retval != sizeof(status)) { in PlayStream()
84 status = lwip_ntohl(status); in PlayStream()
85 if (status != STATUS_OK) { in PlayStream()
/vendor/hihope/neptune_iotlink_demo/ble/source/
H A Dble_server_demo.c252 void test_registerServerCallback(int status, int serverId, BtUuid *appUuid) in test_registerServerCallback() argument
270 void test_serviceAddCallback(int status, int serverId, BtUuid *uuid, int srvcHandle) in test_serviceAddCallback() argument
275 void test_includeServiceAddCallback(int status, int serverId, int srvcHandle, int includeSrvcHandle) in test_includeServiceAddCallback() argument
280 void test_characteristicAddCallback(int status, int serverId, BtUuid *uuid, in test_characteristicAddCallback() argument
286 void test_descriptorAddCallback(int status, int serverId, BtUuid *uuid, in test_descriptorAddCallback() argument
293 void test_serviceStartCallback(int status, int serverId, int srvcHandle) in test_serviceStartCallback() argument
299 void test_serviceStopCallback(int status, int serverId, int srvcHandle) in test_serviceStopCallback() argument
305 void test_serviceDeleteCallback(int status, int serverId, int srvcHandle) in test_serviceDeleteCallback() argument
323 void test_responseConfirmationCallback(int status, int handle) in test_responseConfirmationCallback() argument
328 void test_indicationSentCallback(int connId, int status) in test_indicationSentCallback() argument
358 test_gap_adv_enable_callback(int advId, int status) test_gap_adv_enable_callback() argument
365 test_gap_adv_disable_callback(int advId, int status) test_gap_adv_disable_callback() argument
372 test_gap_adv_data_set_callback(int advId, int status) test_gap_adv_data_set_callback() argument
379 test_gap_adv_update_callback(int advId, int status) test_gap_adv_update_callback() argument
406 test_gap_scan_param_set_callback(int clientId, int status) test_gap_scan_param_set_callback() argument
[all...]
/vendor/hisilicon/hispark_pegasus/demo/environment_test_demo/
H A Daht20.c64 uint8_t aht20_status_busy(uint8_t status) in aht20_status_busy() argument
66 return ((status & AHT20_STATUS_BUSY_MASK) >> (AHT20_STATUS_BUSY_SHIFT)); in aht20_status_busy()
72 uint8_t aht20_status_mode(uint8_t status) in aht20_status_mode() argument
74 return ((status & AHT20_STATUS_MODE_MASK) >> (AHT20_STATUS_MODE_SHIFT)) in aht20_status_mode()
80 uint8_t aht20_status_cali(uint8_t status)
82 return ((status & AHT20_STATUS_CALI_MASK) >> (AHT20_STATUS_CALI_SHIFT))
196 retval = AHT20_Read(buffer, sizeof(buffer)); // recv status command result in AHT20_GetMeasureResult()
203 retval = AHT20_Read(buffer, sizeof(buffer)); // recv status command result in AHT20_GetMeasureResult()
H A Doled_ssd1306.c120 uint32_t status = WriteCmd(initCmds[i]); in OledInit() local
121 if (status != WIFI_IOT_SUCCESS) { in OledInit()
122 return status; in OledInit()
/vendor/hisilicon/hispark_pegasus/demo/i2caht20_demo/src/
H A Daht20.c72 uint8_t aht20_status_busy(uint8_t status) in aht20_status_busy() argument
74 return ((status & AHT20_STATUS_BUSY_MASK) >> (AHT20_STATUS_BUSY_SHIFT)); in aht20_status_busy()
80 uint8_t aht20_status_mode(uint8_t status) in aht20_status_mode() argument
82 return ((status & AHT20_STATUS_MODE_MASK) >> (AHT20_STATUS_MODE_SHIFT)) in aht20_status_mode()
88 uint8_t aht20_status_cali(uint8_t status)
90 return ((status & AHT20_STATUS_CALI_MASK) >> (AHT20_STATUS_CALI_SHIFT))
203 retval = AHT20_Read(buffer, sizeof(buffer)); // recv status command result in AHT20_GetMeasureResult()
210 retval = AHT20_Read(buffer, sizeof(buffer)); // recv status command result in AHT20_GetMeasureResult()
/vendor/hisilicon/hispark_pegasus/demo/samart_environmental_monitoring_system_demo/environment/
H A Daht20.c62 uint8_t aht20_status_busy(uint8_t status) in aht20_status_busy() argument
64 return ((status & AHT20_STATUS_BUSY_MASK) >> (AHT20_STATUS_BUSY_SHIFT)); in aht20_status_busy()
69 uint8_t aht20_status_mode(uint8_t status) in aht20_status_mode() argument
71 return ((status & AHT20_STATUS_MODE_MASK) >> (AHT20_STATUS_MODE_SHIFT)) in aht20_status_mode()
77 uint8_t aht20_status_cali(uint8_t status)
79 return ((status & AHT20_STATUS_CALI_MASK) >> (AHT20_STATUS_CALI_SHIFT))
186 retval = AHT20_Read(buffer, sizeof(buffer)); // recv status command result in AHT20_GetMeasureResult()
194 retval = AHT20_Read(buffer, sizeof(buffer)); // recv status command result in AHT20_GetMeasureResult()
/vendor/hisilicon/hispark_pegasus/demo/iottencent_demo/
H A Dapp_demo_iot.c101 .status.subState = "state", in IotPublishSample()
102 .status.subReport = "reported", in IotPublishSample()
103 .status.reportVersion = "version", in IotPublishSample()
104 .status.Token = "clientToken", in IotPublishSample()
H A Diot_profile.h84 WeChatProfileStatus status; member
/vendor/hisilicon/hispark_pegasus/demo/mqtt_demo/
H A Dapp_demo_iot.c101 .status.subState = "state", in IotPublishSample()
102 .status.subReport = "reported", in IotPublishSample()
103 .status.reportVersion = "version", in IotPublishSample()
104 .status.Token = "clientToken", in IotPublishSample()
H A Diot_profile.h84 WeChatProfileStatus status; member
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/
H A Dbin2stream.py50 status, body = None, bytes()
52 status = STATUS_SUCCESS
55 status = STATUS_FAILURE
58 # response header is: status(4B) + body length(4B)
59 head = struct.pack('>II', status, len(body))
/vendor/hihope/dayu210/bluetooth/src/
H A Dhardware.c560 uint8_t *p, status; in hw_config_cback() local
569 status = *((uint8_t *)(p_evt_buf + 1) + HCI_EVT_CMD_CMPL_STATUS_RET_BYTE); in hw_config_cback()
574 if ((status == 0) && bt_vendor_cbacks) in hw_config_cback()
842 bt_op_result_t status = BTC_OP_RESULT_FAIL; in hw_lpm_ctrl_cback() local
845 status = BTC_OP_RESULT_SUCCESS; in hw_lpm_ctrl_cback()
846 HILOGI("%d", status); in hw_lpm_ctrl_cback()
861 bt_op_result_t status = BTC_OP_RESULT_FAIL; in hw_sco_i2spcm_proc_interface_param() local
886 status = BTC_OP_RESULT_FAIL; in hw_sco_i2spcm_proc_interface_param()
888 HILOGI("sco I2S/PCM config interface result %d [0-Success, 1-Fail]", status); in hw_sco_i2spcm_proc_interface_param()
893 bt_op_result_t status in hw_sco_i2spcm_proc_int_param() local
937 bt_op_result_t status = BTC_OP_RESULT_FAIL; hw_sco_i2spcm_cfg_cback() local
1379 uint8_t *p, status; hw_epilog_cback() local
[all...]
/vendor/hisilicon/hispark_pegasus/demo/hello_world_demo/
H A Doled_ssd1306.c126 uint32_t status = WriteCmd(initCmds[i]); in OledInit() local
127 if (status != IOT_SUCCESS) { in OledInit()
128 return status; in OledInit()
/vendor/hihope/rk3568/bluetooth/src/
H A Dhardware.c609 uint8_t *p, status; in hw_config_cback() local
619 status = *((uint8_t *)(p_evt_buf + 1) + HCI_EVT_CMD_CMPL_STATUS_RET_BYTE); in hw_config_cback()
624 if ((status == 0) && bt_vendor_cbacks) in hw_config_cback()
884 bt_op_result_t status = BTC_OP_RESULT_FAIL; in hw_lpm_ctrl_cback() local
887 status = BTC_OP_RESULT_SUCCESS; in hw_lpm_ctrl_cback()
902 bt_op_result_t status = BTC_OP_RESULT_FAIL; in hw_sco_i2spcm_proc_interface_param() local
929 status = BTC_OP_RESULT_FAIL; in hw_sco_i2spcm_proc_interface_param()
931 HILOGI("sco I2S/PCM config interface result %d [0-Success, 1-Fail]", status); in hw_sco_i2spcm_proc_interface_param()
936 bt_op_result_t status = BTC_OP_RESULT_FAIL; in hw_sco_i2spcm_proc_int_param() local
962 status in hw_sco_i2spcm_proc_int_param()
982 bt_op_result_t status = BTC_OP_RESULT_FAIL; hw_sco_i2spcm_cfg_cback() local
1426 uint8_t *p, status; hw_epilog_cback() local
[all...]
/vendor/hihope/dayu210/bluetooth/include/
H A Duipc_msg.h66 uint8_t status; /* UIPC_STATUS */ member
115 /* status */
121 uint8_t status; member
147 /* status */
175 uint8_t status; member
222 /* status */
239 uint8_t status; member
253 uint8_t status; member
573 uint8_t status; member
660 uint8_t status; member
703 uint8_t status; global() member
[all...]
/vendor/hihope/rk3568/bluetooth/include/
H A Duipc_msg.h66 uint8_t status; /* UIPC_STATUS */ member
115 /* status */
121 uint8_t status; member
147 /* status */
175 uint8_t status; member
222 /* status */
239 uint8_t status; member
253 uint8_t status; member
573 uint8_t status; member
660 uint8_t status; member
703 uint8_t status; global() member
[all...]

Completed in 16 milliseconds

12