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

Can I use the ancs_Tx_buffer if I merge AMS service into the project?

Now I want  to add apple media service, but the ram left for me is a bit small. My project is based on the nordic ancs example , and the ams and ancs is almost the same. So could I use the same tx_buffer for both ams and ancs at the same time?

Parents
  • Not sure what you mean when you say you want to use it at the same time for both service. You could most likely use the buffer for both ANCS and AMS, but you cannot place a write for AMS in the middle of a queued write for ANCS. So you need to be careful that you are able to handle both contexts in your application. You might want to considered using a larger chip with more space for code and ram?

Reply
  • Not sure what you mean when you say you want to use it at the same time for both service. You could most likely use the buffer for both ANCS and AMS, but you cannot place a write for AMS in the middle of a queued write for ANCS. So you need to be careful that you are able to handle both contexts in your application. You might want to considered using a larger chip with more space for code and ram?

Children
Related