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.

CCS/LAUNCHXL-CC2640R2: Turning the Simple Serial socket Server (peripheral) firmware into a Client (Client)

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640

Tool/software: Code Composer Studio

Hello there, good morning,

What I have now:

I have my hardware (launchXL CC2640) with the simple serial socket SERVER as Peripheral and doing Advertise.

I have implemented a lot of more firmware and the bluetooth is a part of the whole solution.

What I want to do:

Change from SERVER to Client (central) and wait for the advertise to connect with.

Only exchange the part of simple serial socket server to client.

What I did until now:

- Change the files that are related to server to client

- Change the setting in build_config.opt to -DHOST_CONFIG=CENTRAL_CFG

Problems I am getting doing it:

- CCS is returning an error on this function llGenerateValidAccessAddr

unresolved symbol llGenerateValidAccessAddr, first referenced in D:/Embedded/CAHTA/cahta_firmware_src/CAHTA_stack_library/FlashROM_Library/CAHTA_stack_library.lib<rom_init.obj> CAHTA_APP C/C++ 

Any thoughts?

Thanks a lot.

  • Hi Andre,

    I suppose you are referring to the example we have at
    github.com/.../simplelink_cc2640r2_sdk-2.20 for SDK v2.20 for CC2640R2.

    You will see that there is already both a SERVER (peripheral) and a CLIENT (central) example there, so you don't need to change one into the other.

    Best regards,
    Aslak
  • Hello, thanks for your reply.

    Yes. There is the application client and server there and I am using the (on my board) the peripheral solution.
    At the beginning I choose to use the Peripheral (server) but now, I have change it to client.

    But I need to import the client files to my application, because to to take my application to client firmware would be too difficult.


    And doing this, I am getting the errors I told before.

    Do you have any clues to how perform this kind of jog.

    Transform my application from SERVER to client.

    thanks.