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

Example code for S120 custom central service

Hello!

I successfully followed nAN-36 and loaded the code into a NRF51 DK (PCA10028). The next step I intend to take is to prepare a custom central service that matches the custom peripheral service of nAN-36. I have 2 nRF51 DK, so my plan is to load custom peripheral service to one and to load custom central service to another.

My doubts is: Where to find S120 custom central service examples? Or even: How should I start to create the custom central service compatible to nAN-36?

Thanks!

Parents
  • Hello, Petter. Thanks for commenting.

    So you want a peripheral device with a server with a custom service which the central device can access as a client additionally you want a server with a custom service on the central device -- YES!! that the peripheral device can access as a client -- NO! there's no need peripheral to access my central. The peripheral will only notify the updated characteristic value of the peripheral custom service.

    In simplier words: I want my central do be capable of constantly reading a peripheral's button state change.

    Thanks!

Reply
  • Hello, Petter. Thanks for commenting.

    So you want a peripheral device with a server with a custom service which the central device can access as a client additionally you want a server with a custom service on the central device -- YES!! that the peripheral device can access as a client -- NO! there's no need peripheral to access my central. The peripheral will only notify the updated characteristic value of the peripheral custom service.

    In simplier words: I want my central do be capable of constantly reading a peripheral's button state change.

    Thanks!

Children
No Data
Related