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

Creat my owm service

HI ALL!

I got a question about establishing my own service.

Currently, I can just send my data through the 'hrs' service(by replacing the heart_rate value with my own data) But I want to establish my own service, my opinion is: 1.creat a new service 2.add it into services_init(); But I konw the deteils about it.

So i got two question: 1.How to creat a corret service, can i refer to the 'hrs' service? 2.After 1, what should i do to send it to APP sucessfully?

thank you very much!

Parents Reply Children
Related