nimble/host: Change services pkg init priorities

Let's define following init priorities for service packages:
- 301 for GAP
- 302 for GATT
- 303 for other services

This will make services register in this order to upon discovery we'll
always have GAP first, then GATT and other services. Note that this
particular order is not required by is probably used by virtually any
device as it makes sense to have mandatory services first.

X-Original-Commit: a0c805462cc54167a339a9d62a265dbc7cb8dcf0
This commit is contained in:
Andrzej Kaczmarek
2017-11-22 14:04:56 +01:00
parent 79f5b1719b
commit ad860f9ea1
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -31,4 +31,4 @@ pkg.deps:
- net/nimble/host
pkg.init:
ble_svc_ans_init: 300
ble_svc_ans_init: 303
+1 -1
View File
@@ -31,4 +31,4 @@ pkg.deps:
- net/nimble/host
pkg.init:
ble_svc_gap_init: 300
ble_svc_gap_init: 301
+1 -1
View File
@@ -31,4 +31,4 @@ pkg.deps:
- net/nimble/host
pkg.init:
ble_svc_gatt_init: 300
ble_svc_gatt_init: 302
+1 -1
View File
@@ -31,4 +31,4 @@ pkg.deps:
- net/nimble/host
pkg.init:
ble_svc_ias_init: 300
ble_svc_ias_init: 303
+1 -1
View File
@@ -31,4 +31,4 @@ pkg.deps:
- net/nimble/host
pkg.init:
ble_svc_lls_init: 300
ble_svc_lls_init: 303
+1 -1
View File
@@ -31,4 +31,4 @@ pkg.deps:
- net/nimble/host
pkg.init:
ble_svc_tps_init: 300
ble_svc_tps_init: 303