Skip to content

Instantly share code, notes, and snippets.

@huntc
Created August 31, 2020 07:48
Show Gist options
  • Save huntc/9436582b85e34e58bca9ed7975b3c70d to your computer and use it in GitHub Desktop.
Save huntc/9436582b85e34e58bca9ed7975b3c70d to your computer and use it in GitHub Desktop.
nRF Connect server setup as the equivalent of https://github.com/NordicSemiconductor/Android-BLE-Library/pull/234
{
"selectedComponent": "local.server.4.5",
"showingDeleteDialog": false,
"showingApplyDialog": false,
"showingClearDialog": false,
"showingDiscardDialog": false,
"children": {
"local.server.1": {
"instanceId": "local.server.1",
"uuid": "1800",
"name": "Generic Access",
"expanded": true,
"discoveringChildren": false,
"children": {
"local.server.1.1": {
"instanceId": "local.server.1.1",
"uuid": "2A00",
"name": "Device Name",
"value": [
110,
82,
70,
53,
117
],
"properties": {
"read": true,
"write": true
},
"readPerm": "open",
"writePerm": "open",
"fixedLength": false,
"maxLength": 20,
"expanded": false,
"discoveringChildren": false,
"children": {
},
"errorMessage": null
},
"local.server.1.2": {
"instanceId": "local.server.1.2",
"uuid": "2A01",
"name": "Appearance",
"value": [
0,
0
],
"properties": {
"read": true
},
"readPerm": "open",
"writePerm": "open",
"fixedLength": false,
"maxLength": 20,
"expanded": false,
"discoveringChildren": false,
"children": {
},
"errorMessage": null
},
"local.server.1.3": {
"instanceId": "local.server.1.3",
"uuid": "2A04",
"name": "Peripheral Preferred Connection Parameters",
"value": [
255,
255,
255,
255,
0,
0,
255,
255
],
"properties": {
"read": true
},
"readPerm": "open",
"writePerm": "open",
"fixedLength": false,
"maxLength": 20,
"expanded": false,
"discoveringChildren": false,
"children": {
},
"errorMessage": null
}
}
},
"local.server.2": {
"instanceId": "local.server.2",
"uuid": "1801",
"name": "Generic Attribute",
"expanded": true,
"discoveringChildren": false,
"children": {
}
},
"local.server.4": {
"instanceId": "local.server.4",
"uuid": "8032364435374F0BA53BCF494ECEAAB3",
"name": "My service",
"expanded": true,
"discoveringChildren": false,
"children": {
"local.server.4.5": {
"instanceId": "local.server.4.5",
"uuid": "8032364435374F0BA53BCF494ECEAAB3",
"name": "My Characteristic",
"value": [
],
"properties": {
"broadcast": false,
"read": true,
"write": false,
"notify": true,
"indicate": false
},
"readPerm": "encrypt mitm-protection",
"writePerm": "open",
"fixedLength": false,
"maxLength": 20,
"expanded": true,
"discoveringChildren": false,
"children": {
"local.server.4.5.6": {
"instanceId": "local.server.4.5.6",
"uuid": "2902",
"name": "Client Characteristic Configuration",
"value": [
],
"readPerm": "open",
"writePerm": "open",
"fixedLength": false,
"maxLength": 20,
"errorMessage": null
}
},
"errorMessage": null
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment