hi i am using nrf52840 s140 softdevice and 15.2 sdk.
can anyone tell how to add default services like hrs,battery and temperature in our own programs
hi i am using nrf52840 s140 softdevice and 15.2 sdk.
can anyone tell how to add default services like hrs,battery and temperature in our own programs
I would recommend you to go through these tutorials (uses SDK v15.0.0):
Number 2 is most relevant for you, initially it goes through some basic theory regarding GATT, services, characteristics and UUID's. Then it will guide you, step by step, through the making of custom services.
It is recommended to have gone through tutorial number 1 first, but not necessary. The last tutorial shows how to add characteristics to your custom services.
This approach will give you a good understanding of services, and you will be able to add the default services you mentioned.
If you have any more questions, please ask.
Best regards, Simon.
I would recommend you to go through these tutorials (uses SDK v15.0.0):
Number 2 is most relevant for you, initially it goes through some basic theory regarding GATT, services, characteristics and UUID's. Then it will guide you, step by step, through the making of custom services.
It is recommended to have gone through tutorial number 1 first, but not necessary. The last tutorial shows how to add characteristics to your custom services.
This approach will give you a good understanding of services, and you will be able to add the default services you mentioned.
If you have any more questions, please ask.
Best regards, Simon.