Lets say I have a service that sends me stored accelerometery data, I want to store additional information like whats the sampling rate configured for this accelerometer. Right now the only way I think we could implement this is one characteristic that is for reading accelerometery data and one characteristic for the sampling rate to be read from and written too however from what I've understood about ble this sampling rate should be configured as a descriptor and not as a characteristic. I don't see anyway to configure a custom descriptor to achieve such functionality in espruino
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Lets say I have a service that sends me stored accelerometery data, I want to store additional information like whats the sampling rate configured for this accelerometer. Right now the only way I think we could implement this is one characteristic that is for reading accelerometery data and one characteristic for the sampling rate to be read from and written too however from what I've understood about ble this sampling rate should be configured as a descriptor and not as a characteristic. I don't see anyway to configure a custom descriptor to achieve such functionality in espruino