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

ANCS minimum requirement

Hi,

I'm working on integrating ANCS on our existing and futur products. I started to port the Nordic SDK example (12.x) and it seems to work fine on nRF52, which will be fine for our futur product line that will probably based on it.

But I also try to port it on nRF51, because we have released products based on it. I can make a working implementation on the DK, but the SDK example for ANCS is too big (FLASH and RAM) to cohabit with our existing Firmware.

So my question is the following. On the ANCS SDK example, what are the minimum requirement for a working ANCS peripheral ?

I understand it need at least the Service and Characteristics. What about pairing and db_discovery ? Can this be simplified at some points ?

Any experience, link or feedback is welcome on this subject.

Note that I'm using SD130

Thanks

Parents
  • Hi Thierry,

    We do have the example in SDK v12.2 for nRF51 (inside PCA10028 folder). Could you simply use the example for nRF51 ?

    Which nRF51 chip variant you have on your product? You may have issue with the size of RAM since we made the example for the 32kB RAM variant. If it doesn't fit your chip, we will have to simplify the code.

  • Hi Thierry,

    Have you reconfigured the RAM setting for softdevice to match with what you need (the number of central and peripheral connection) ? The actual RAM needed for single link peripheral is just 0x2078 not 0x3340 as in the default configuration.

    There are some other module that consume quite a lot of RAM such as db_discovery, peer manager/database , ble_advertising that you may be able to improve and squeeze some juice from.

Reply
  • Hi Thierry,

    Have you reconfigured the RAM setting for softdevice to match with what you need (the number of central and peripheral connection) ? The actual RAM needed for single link peripheral is just 0x2078 not 0x3340 as in the default configuration.

    There are some other module that consume quite a lot of RAM such as db_discovery, peer manager/database , ble_advertising that you may be able to improve and squeeze some juice from.

Children
No Data
Related