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?