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.

CC2564C: SPPDemo PC software

Expert 4515 points

Part Number: CC2564C

Tool/software:

Hi team,

Customer has been working with the SPPDemo app.  It seems like it is a "middle man" piece of software that runs on the microcontroller that implements the Bluetopia stack and bridges USB/serial communications from a PC host to the CC2564C controller. From the demo, it isn't explicitly stated but it seems like there is some piece of software that runs on the PC that would communicate with the SPPDemo.  Is that the case and if so where could they get that software (binary and/or source code)?

Best,

Luke

  • Hi Luke,

    Our SPPdemo are examples for the bluetopia stack. However this code either runs on a RTOS or Linux Host. We offer the bluetopia stack as libraries that are built with arm clang RTOS devices or you can change toolchains for linux devices.

    Downloads to the bluetopia libraries can be found in the device home page under software resources.

    Best,

    Rogelio

  • Rogelio,

    We are able to get the SPPDemo to compile and run on our platform.  The issue is more there seems like we are supposed to send it commands that aren't really documented at all. For example, we have the following commands.  Each have variable undocumented number of parameters and there is no indication which order they should go in.  So we are assuming that either there should be some instructions which tell you what commands to send, in which order and parameters to pass.  Or alternatively some software running on the host PC which would send the commands.  We feel like we are looking at half a demo here and the only option is through reverse engineering and trial and error to make it work.

       AddCommand("INQUIRY", Inquiry);
       AddCommand("DISPLAYINQUIRYLIST", DisplayInquiryList);
       AddCommand("PAIR", Pair);
       AddCommand("ENDPAIRING", EndPairing);
       AddCommand("PINCODERESPONSE", PINCodeResponse);
       AddCommand("PASSKEYRESPONSE", PassKeyResponse);
       AddCommand("USERCONFIRMATIONRESPONSE", UserConfirmationResponse);
       AddCommand("SETDISCOVERABILITYMODE", SetDiscoverabilityMode);
       AddCommand("SETCONNECTABILITYMODE", SetConnectabilityMode);
       AddCommand("SETPAIRABILITYMODE", SetPairabilityMode);
       AddCommand("CHANGESIMPLEPAIRINGPARAMETERS", ChangeSimplePairingParameters);
       AddCommand("GETLOCALADDRESS", GetLocalAddress);
       AddCommand("SETLOCALNAME", SetLocalName);
       AddCommand("GETLOCALNAME", GetLocalName);
       AddCommand("SETCLASSOFDEVICE", SetClassOfDevice);
       AddCommand("GETCLASSOFDEVICE", GetClassOfDevice);
       AddCommand("GETREMOTENAME", GetRemoteName);
       AddCommand("SERVICEDISCOVERY", ServiceDiscovery);
       AddCommand("SNIFFMODE", SniffMode);
       AddCommand("EXITSNIFFMODE", ExitSniffMode);
       AddCommand("OPEN", OpenRemoteServer);
       AddCommand("CLOSE", CloseRemoteServer);
       AddCommand("READ", Read);
       AddCommand("WRITE", Write);
       AddCommand("GETCONFIGPARAMS", GetConfigParams);
       AddCommand("SETCONFIGPARAMS", SetConfigParams);
       AddCommand("GETQUEUEPARAMS", GetQueueParams);
       AddCommand("SETQUEUEPARAMS", SetQueueParams);
       AddCommand("LOOPBACK", Loopback);
       AddCommand("DISPLAYRAWMODEDATA", DisplayRawModeData);
       AddCommand("AUTOMATICREADMODE", AutomaticReadMode);
       AddCommand("SETBAUDRATE", SetBaudRate);
       AddCommand("SEND", SendData);
       AddCommand("HELP", DisplayHelp);
       AddCommand("QUERYMEMORY", QueryMemory);
    Thanks for any help or guidance.
    Will
  • Thanks Rogelio, the swru580.pdf document describes what is needed to use the SPPDemo.

  • Hi Will,

    I believe you are asking for the demo for SPP which can be found in the the devices home page.

    https://www.ti.com/product/CC2564C under technical documents

    However here is a link to all of our demos

    https://www.ti.com/lit/ug/swru580/swru580.pdf 

    Best,

    Rogelio