Home
last modified time | relevance | path

Searched refs:sendCommand (Results 1 – 25 of 28) sorted by relevance

12

/hardware/bsp/intel/peripheral/libupm/examples/python/
Dgrovegprs.py58 def sendCommand(sensor, cmd): function
73 sendCommand(sensor, sys.argv[1])
77 sendCommand(sensor, "AT+CGMI");
83 sendCommand(sensor, "AT&V");
Dhm11.py65 def sendCommand(bleObj, cmd): function
87 sendCommand(my_ble_obj, sys.argv[1])
93 sendCommand(my_ble_obj, addr)
98 sendCommand(my_ble_obj, pin)
/hardware/bsp/intel/peripheral/libupm/src/sm130/
Dsm130.cxx62 string SM130::sendCommand(CMD_T cmd, string data) in sendCommand() function in SM130
168 string resp = sendCommand(CMD_VERSION, ""); in getFirmwareVersion()
185 string resp = sendCommand(CMD_RESET, ""); in reset()
210 string resp = sendCommand(CMD_SELECT_TAG, ""); in select()
277 string resp = sendCommand(CMD_AUTHENTICATE, data); in authenticate()
317 string resp = sendCommand(CMD_READ16, data); in readBlock16()
357 string resp = sendCommand(CMD_READ_VALUE, data); in readValueBlock()
412 string resp = sendCommand(CMD_WRITE16, data); in writeBlock16()
457 string resp = sendCommand(CMD_WRITE_VALUE, data); in writeValueBlock()
505 string resp = sendCommand(CMD_WRITE4, data); in writeBlock4()
[all …]
Dsm130.h443 std::string sendCommand(CMD_T cmd, std::string data);
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgrovegprs.js44 function sendCommand(sensor, cmd, callback) function
81 sendCommand(sensor, process.argv[2]);
92 sendCommand(sensor, "AT&V");
102 sendCommand(sensor, "AT+CGMI", callbackFunc);
Dhm11.js48 function sendCommand(bleObj, cmd, callback) function
94 sendCommand(my_ble_obj, process.argv[2]);
110 sendCommand(my_ble_obj, pin);
124 sendCommand(my_ble_obj, addr, callbackFunc);
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dgrovegprs.cxx51 void sendCommand(upm::GroveGPRS* sensor, string cmd) in sendCommand() function
89 sendCommand(sensor, argv[1]); in main()
95 sendCommand(sensor, "AT+CGMI"); in main()
101 sendCommand(sensor, "AT&V"); in main()
Dhm11.cxx51 void sendCommand(upm::HM11* ble, char *cmd) in sendCommand() function
91 sendCommand(ble, argv[1]); in main()
98 sendCommand(ble, addr); in main()
105 sendCommand(ble, pin); in main()
/hardware/bsp/intel/peripheral/libupm/examples/java/
DHM11Sample.java49 private static void sendCommand(upm_hm11.HM11 ble, byte[] cmd) { in sendCommand() method in HM11Sample
77 sendCommand(ble, args[0].getBytes()); in main()
82 sendCommand(ble, addr.getBytes()); in main()
89 sendCommand(ble, pin.getBytes()); in main()
/hardware/ti/omap4xxx/camera/
DCameraHal.cpp1355 mCameraAdapter->sendCommand(CameraAdapter::CAMERA_STOP_IMAGE_CAPTURE); in signalEndImageCapture()
1455 … ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_QUERY_RESOLUTION_PREVIEW,( int ) &frame); in startPreview()
1474 ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_SWITCH_TO_EXECUTING); in startPreview()
1520 ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_QUERY_BUFFER_SIZE_PREVIEW_DATA, in startPreview()
1544 mCameraAdapter->sendCommand(CameraAdapter::CAMERA_USE_BUFFERS_PREVIEW_DATA, in startPreview()
1558 ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_USE_BUFFERS_PREVIEW, in startPreview()
1644 ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_START_PREVIEW); in startPreview()
1663 mCameraAdapter->sendCommand(CameraAdapter::CAMERA_STOP_PREVIEW); in startPreview()
1916 ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_START_VIDEO); in startRecording()
2115 mCameraAdapter->sendCommand(CameraAdapter::CAMERA_STOP_IMAGE_CAPTURE); in stopRecording()
[all …]
DBaseCameraAdapter.cpp327 status_t BaseCameraAdapter::sendCommand(CameraCommands operation, int value1, int value2, int value… in sendCommand() function in android::BaseCameraAdapter
2172 ret = sendCommand(CAMERA_STOP_PREVIEW); in rollbackToPreviousState()
2176 ret = sendCommand(CAMERA_STOP_IMAGE_CAPTURE); in rollbackToPreviousState()
2180 ret = sendCommand(CAMERA_STOP_BRACKET_CAPTURE); in rollbackToPreviousState()
2184 ret = sendCommand(CAMERA_CANCEL_AUTOFOCUS); in rollbackToPreviousState()
2188 ret = sendCommand(CAMERA_STOP_SMOOTH_ZOOM); in rollbackToPreviousState()
2192 ret = sendCommand(CAMERA_STOP_VIDEO); in rollbackToPreviousState()
2196 ret = sendCommand(CAMERA_CANCEL_AUTOFOCUS); in rollbackToPreviousState()
2200 ret = sendCommand(CAMERA_STOP_IMAGE_CAPTURE); in rollbackToPreviousState()
2204 ret = sendCommand(CAMERA_STOP_SMOOTH_ZOOM); in rollbackToPreviousState()
[all …]
DCameraHal_Module.cpp404 rv = gCameraHals[ti_dev->cameraid]->sendCommand(cmd, arg1, arg2); in camera_send_command()
/hardware/bsp/intel/peripheral/libupm/src/nrf24l01/
Dnrf24l01.cxx222 sendCommand (FLUSH_RX); in rxFlushBuffer()
329 sendCommand (FLUSH_TX); in txFlushBuffer()
387 sendCommand (FLUSH_TX); // Clear RX Fifo in sendBeaconingMsg()
388 sendCommand (FLUSH_RX); // Clear TX Fifo in sendBeaconingMsg()
459 NRF24L01::sendCommand (uint8_t cmd) { in sendCommand() function in NRF24L01
Dnrf24l01.h406 void sendCommand (uint8_t cmd);
/hardware/ti/omap4-aah/camera/
DCameraHal.cpp1241 …status_t done = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_SETUP_TUNNEL, sliceHeight, encod… in setParameters()
1635 mCameraAdapter->sendCommand(CameraAdapter::CAMERA_STOP_IMAGE_CAPTURE); in signalEndImageCapture()
1785 ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_START_PREVIEW); in startPreview()
1803 mCameraAdapter->sendCommand(CameraAdapter::CAMERA_STOP_PREVIEW); in startPreview()
1856 … ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_QUERY_RESOLUTION_PREVIEW,( int ) &frame); in cameraPreviewInitialization()
1871 ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_SWITCH_TO_EXECUTING); in cameraPreviewInitialization()
1918 ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_QUERY_BUFFER_SIZE_PREVIEW_DATA, in cameraPreviewInitialization()
1942 mCameraAdapter->sendCommand(CameraAdapter::CAMERA_USE_BUFFERS_PREVIEW_DATA, in cameraPreviewInitialization()
1956 ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_USE_BUFFERS_PREVIEW, in cameraPreviewInitialization()
1997 mCameraAdapter->sendCommand(CameraAdapter::CAMERA_STOP_PREVIEW); in cameraPreviewInitialization()
[all …]
DBaseCameraAdapter.cpp408 status_t BaseCameraAdapter::sendCommand(CameraCommands operation, int value1, int value2, int value… in sendCommand() function in Ti::Camera::BaseCameraAdapter
2486 ret = sendCommand(CAMERA_STOP_PREVIEW); in rollbackToPreviousState()
2493 ret = sendCommand(CAMERA_STOP_IMAGE_CAPTURE); in rollbackToPreviousState()
2497 ret = sendCommand(CAMERA_STOP_BRACKET_CAPTURE); in rollbackToPreviousState()
2501 ret = sendCommand(CAMERA_CANCEL_AUTOFOCUS); in rollbackToPreviousState()
2505 ret = sendCommand(CAMERA_STOP_SMOOTH_ZOOM); in rollbackToPreviousState()
2509 ret = sendCommand(CAMERA_STOP_VIDEO); in rollbackToPreviousState()
2513 ret = sendCommand(CAMERA_CANCEL_AUTOFOCUS); in rollbackToPreviousState()
2517 ret = sendCommand(CAMERA_STOP_IMAGE_CAPTURE); in rollbackToPreviousState()
2521 ret = sendCommand(CAMERA_STOP_SMOOTH_ZOOM); in rollbackToPreviousState()
[all …]
DCameraHal_Module.cpp545 rv = gCameraHals[ti_dev->cameraid]->sendCommand(cmd, arg1, arg2); in camera_send_command()
/hardware/ti/omap4xxx/camera/inc/
DBaseCameraAdapter.h51 …virtual status_t sendCommand(CameraCommands operation, int value1 = 0, int value2 = 0, int value3 …
DCameraHal.h819 return sendCommand(CameraAdapter::CAMERA_PREVIEW_FLUSH_BUFFERS); in flushBuffers()
829 …virtual status_t sendCommand(CameraCommands operation, int value1=0, int value2=0, int value3=0) =…
1035 int sendCommand(int32_t cmd, int32_t arg1, int32_t arg2);
/hardware/ti/omap4-aah/camera/inc/
DBaseCameraAdapter.h62 …virtual status_t sendCommand(CameraCommands operation, int value1 = 0, int value2 = 0, int value3 …
DCameraHal.h977 …virtual status_t sendCommand(CameraCommands operation, int value1=0, int value2=0, int value3=0, i…
1218 int sendCommand(int32_t cmd, int32_t arg1, int32_t arg2);
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_script.cpp748 camera->sendCommand(CAMERA_CMD_START_FACE_DETECTION, 0, 0); in execute_functional_script()
765 camera->sendCommand(CAMERA_CMD_STOP_FACE_DETECTION, 0, 0); in execute_functional_script()
1057 camera->sendCommand(CAMERA_CMD_START_SMOOTH_ZOOM, zoom[zoomIDX].idx, 0); in execute_functional_script()
/hardware/qcom/camera/QCamera2/HAL/
DQCameraStateMachine.cpp625 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewStoppedState()
1027 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewReadyState()
1510 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewingState()
2077 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPicTakingState()
2523 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtRecordingState()
2925 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtVideoPicTakingState()
3315 rc = m_parent->sendCommand(cmd_payload->cmd, in procEvtPreviewPicTakingState()
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_script.cpp584 camera->sendCommand(CAMERA_CMD_START_FACE_DETECTION, 0, 0); in execute_functional_script()
591 camera->sendCommand(CAMERA_CMD_STOP_FACE_DETECTION, 0, 0); in execute_functional_script()
Dcamera_test_menu.cpp1737 camera->sendCommand(CAMERA_CMD_START_FACE_DETECTION, 0, 0); in functional_menu()
1744 camera->sendCommand(CAMERA_CMD_STOP_FACE_DETECTION, 0, 0); in functional_menu()

12