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

Is it possible to temporarily "pause" the NUS service?

I'm using a nRF51822 (with SDK 10) and the Nordic UART Service to provide transparent UART communications with a host CPU. However, occasionally it is necessary for the host CPU to send configuration commands and get status information to/from the nRF51 via the UART. To avoid conflicts I'm thinking of implementing some kind of configuration mode that I can put the nRF51 into temporarily (probably for less than a second).

This raises the question of how to deal with any NUS data that is received while the nRF51 is in configuration mode. Obviously I could buffer the data, but alternatively is there any way to "pause" the NUS service so that the remote peer is inhibited from sending data for a short period of time?

Parents Reply Children
No Data
Related