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

Personalize characteristic write value field

Hello, i add a new custom service with one characteristic that allows me to send values over BLE with nRF connect, but i must send some acceptable values (-2, -4, 0, 4, 10 ,20 ,40). My wish is to personalize the write value field of the characteristic to a list of those acceptable values, that if an other user discovers the service, he can only send those values.

iam using sdk 14.2 with dev board nrf52840

regards,

image description

Related