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.

CC2564: How to modify the SDK in cc2564 to make the BT module of the program directly enter the pairing mode

Part Number: CC2564

We use the SDK with F4 and cc2564 to debug sppdemo. You need to input server and open 1 into the serial port in order to search for Bluetooth. Now develop the program, let cc2564 directly enter the address search part. You can directly enter the server mode by using the command CommandLineInterpreter("SERVER\r\n"), but the command CommandLineInterpreter("OPEN 1\r\n") is not executed successfully. Which function should we use to issue the command?Or how to set it to enter the pairing process directly?

  • Hi,

    Did you let UserInterface_Server() run before calling CommandLineInterpreter("OPEN 1\r\n")?

    In general, your idea should work, and so you will need to debug and see what might be causing OPEN 1 to not function when called directly from your application. If you run your program in debug mode, what error do you get when you try to run OPEN 1? Does the OpenServer() function give you an error, or is the command parser giving you an error?

    Regards,

    Michael