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

Combining GATT service and I2C Data

Hi, I'm now trying to combine the i2C(Gyroscope) and Gatt service using nrf52840 (sdk15.3), but I can't understand how to add the service to my device,like service name:Gyroscope and than characteristic x,y,z, I can send the data with UART but I write the read function in loop. However,when I see the other examples,the loop just only   idle_state_handle() . How can I read the I2C data and than change the value to the service  ?

ps. Can I use the blinky example to develop my project or use example gatt_c?

Parents Reply Children
Related