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

S130 general purpose application

Hi,

I am trying make general-purpose s130 app that will be able to connect to central and peripheral at the same time and to exchange informations between them. At the beggining my app should connect to peripheral and discover all its services. After that it should create its own services (at peripheral side) based on earlier discovered ones. Then communication peripheral-my device- central would be possible.

As far I managed to connect and discover services from peripheral and connect to central. I also succed in creating new services and making them available for central. Problem is communication between them.

My question is is it even possible to make the app like this on nRF51? Or maybe someone has created similar app and would be able to help me or give me some advice?

I know that tere is "ble_hrs_csrs example" but in that example we know about all services - so it is different than my app.

Parents
  • Are you trying to turn on notifications from the "top" central? Turning on notifications is essentially doing a write command to a descriptor (the cccd) of a characteristic. Your relay device must catch these write commands and create its own write commands for the peripheral devices. How are you implementing it? Please confirm that the write commands arrive at the peripheral devices, and that the write command is to the correct handles.

Reply
  • Are you trying to turn on notifications from the "top" central? Turning on notifications is essentially doing a write command to a descriptor (the cccd) of a characteristic. Your relay device must catch these write commands and create its own write commands for the peripheral devices. How are you implementing it? Please confirm that the write commands arrive at the peripheral devices, and that the write command is to the correct handles.

Children
No Data
Related