This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2540 example Java program does connect to SimpleBLEPeripheral



Hello everybody,

I have some problems with the Java SimplePeripheral program. It does not enable the keys of the keyfob. I think the problem is somewhere in the connectionManager in the method simpleKeysEnabler(), where the bytes are written in the outputBuffer.

public void simpleKeysEnabler() {

System.out.println("Enable Keys \n");

int[] outputBuffer ={ 0x01, 0x12, 0xfd, 0x08, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x01, 0x00 };

new SerialWriter(this.sp,outputBuffer).write();

}

What is the meaning of the different bytes in the outputBuffer array?

Thanks for the help

Peter