Skip to content

Service Changed Characteristic #837

Answered by scochet
scochet asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

I came up with this. I suspect that something is redundant and not-so-correct or elegant, but it is working so far, and useful.

gap.json:

{
	"service": {
		"uuid": "1800",
		"characteristics": {
			"device_name": {
				"uuid": "2A00",
				"maxBytes": 16,
				"type": "String",
				"permissions": "read",
				"properties": "read",
				"value": "My (new) device!"
			},
			"appearance": {
				"uuid": "2A01",
				"maxBytes": 2,
				"type": "Uint16",
				"permissions": "read",
				"properties": "read",
				"value": 1362
			}
		}
	}
}

gattrs.json:

{
	"service": {
		"uuid": "1801",
		"characteristics": {
			"service_changed": {
				"uuid": "2A05",
                "type": "Array",
                

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@scochet
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by scochet
Comment options

You must be logged in to vote
1 reply
@andycarle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants