The procedure to enable CP device to send data to PC (application) is explained in the attached document. By following the command flow mentioned in the document, one can implement a simple routine to receive data without the need of ANodeCenterPoint tool.
This FAQ was generated from the following discussion: How can I capture sensor data and use it in my application?
I saw the attached document explaining how to create an alternative solution in AnodeCenterPoint tool to receive data from CP device.
I am trying to create that so that i can access raw data in another application. I am using MATLAB/Python to get raw data from CP over a serial connection currently. But i have to use the AnodeCP tool to setup the CP device and get it to transmit data continuously. In order to bypass that process, i have to send out 4 commands
This command (UART_SUBCMD_CHECKDEVICE) is to find the devices connected to PC.
Command from PC application
4A 43 06 4B 0C 8B
Response from CP device
4A 43 0B 4B 07 20 06 01 03 11 F6
Is it as simple as sending the bytes 4A 43 06 4B 0C 8B and waiting for the CP to respond back? Please advice. If you have any example code snippets that would be useful as well.
Thanks for responding.