Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1abe5e5989 | ||
|
|
059f47df56 | ||
|
|
610d4a925c | ||
|
|
9211c82d6f |
1 changed files with 3 additions and 3 deletions
|
|
@ -193,10 +193,10 @@ pub async fn run(
|
||||||
"Starting advertising and GATT service for {}",
|
"Starting advertising and GATT service for {}",
|
||||||
features.join(",")
|
features.join(",")
|
||||||
);
|
);
|
||||||
let server = Server::new_with_config(PeripheralConfig {
|
let server = Server::new_with_config(GapConfig::Peripheral(PeripheralConfig {
|
||||||
name: &name,
|
name: &name,
|
||||||
appearance: &appearance::UNKNOWN, // maybe appearance::outdoor_sports_activity::LOCATION_AND_NAVIGATION_DISPLAY ?
|
appearance: &appearance::UNKNOWN,
|
||||||
})
|
}))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let _ = embassy_futures::join::join(ble_task(runner), async {
|
let _ = embassy_futures::join::join(ble_task(runner), async {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue