Hi, I am trying to use the virtual com port to communicate with my host test app via the HCI protocol.
My java test app, running on my PC, has the serial port configured for 115200 baud, 1 start bit, 1 stop bit, and no flow control. The java test app tries to detect the presence of a CC26X2R1 on each of the virtual com ports that it finds.
This is the command that the java test app is transmitting on a serial port:
byte[] GapScan_disable = { 0x01, 0x52, (byte)0xFE };
I chose to use this command since it is very simple. It has no input parameters, and it should still respond with a CommandStatus Event packet.
While the java test app is trying each of the com ports, I have monitored the TX signal with an oscilloscope. The UART decode on my scope shows the exact data given in the GapScan_disable command above. There are no framing errors, and the signal looks clean.
My command has the packet header of 0x01, and the opcode of 0xFE52. The packet is constructed using little endian.
After many attempts, I am still getting no response from any of my testing.
Is there something I am doing wrong ?
Thank you
Roy