android - UUID's have to be distinct for service , characteristic and descriptor? -


i trying make client-server connection server containing 1 service 1 characteristic contains 1 descriptor. i've made service, characteristic , descriptor have same uuid , when try write on descriptor/characteristic (in android app) pop-up appears tells me , bluetooth has shut down becouse of problem (not known). there condition uuid's have distinct ?

the "uu" of uuid means "universally unique". uuid describing type of data, though, can have 2 characteristics same uuid if both providing same sort of data. (ex 2 thermometers) think descriptors supposed have uuid's dictated standard (so know they're descriptors).

so, service, characteristic, , descriptor should have different uuid's.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -