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.

simpleBLECentral

Hey,

I am trying to handle a connection between t2o devices based on the simple peripheral and central examples!

I guess that the central example is ready to be programmed to an evaluation board with a module that have some buttons the and a LCD...

so we should press some buttons in a special sequence to made discover then initiate a connection then writing/reading characteristics...

can you help me by finding the guide that describes how to press (the sequence) for the peripheral side, so I can look in the code and then do the same procedure but based on a periodic events because I have no buttons and LCD in my custom board.

THanks.

  • Hi Feras,

    yes, the central example is written to be used on our SmartRF06 board which has 4 keys and an LCD. Section 12.11 of the software developer's guide shows how to interact with the demo (ie connecting, read, writing, etc).

    SimpleBLEPeripheral doesn't require any keys to be pressed in order to connect. simpleBLEPeripheral.c shows how to use a periodic event such as a clock to perform a periodic task. ( look at SimpleBLEPeripheral_performPeriodicTask).
  • Thanks :) thet helps so much