This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how can we set a device to act as master and slave in ble

hi,

i would want to develop a project with master(mobile phone)-bridge(acting as master and slave,nrf board)-slave(nrf board) . i have tried the ble central(s120),ble peripheral codes on bridge and slave respectively and it worked fine.But i would want to make the bridge act as slave also,ie, on scanning from a mobile, it should detect the bridge. is it possible to make some changes to the ble central program and make this happen. please be kind enough to help me.

regards

Parents
  • The APIs of the latest SoftDevices (S110 8.0.0, S120 2.1.0, S130 1.0.0) are very similar.

    In our latest SDK(8.1.0) the S110 and S120 examples contain a folder called s130. This contains projects that should work with the S130. main.c is equal, it is just a predefine (Options for Target->C/C++->Preprocessor Symbols->Define) that is different, S110/S130. Remember also that their flash and RAM usage is varies.

    You can search for S130 in the S110 and S120 examples to find where the predefine is used and what is handled differently between the SoftDevices.

Reply
  • The APIs of the latest SoftDevices (S110 8.0.0, S120 2.1.0, S130 1.0.0) are very similar.

    In our latest SDK(8.1.0) the S110 and S120 examples contain a folder called s130. This contains projects that should work with the S130. main.c is equal, it is just a predefine (Options for Target->C/C++->Preprocessor Symbols->Define) that is different, S110/S130. Remember also that their flash and RAM usage is varies.

    You can search for S130 in the S110 and S120 examples to find where the predefine is used and what is handled differently between the SoftDevices.

Children
No Data
Related