uwb_core: pass AppConfigParams when initiating session
This CL completes the flow of session initialization:
1. call session_init()
2. wait for SessionStatusInit notifcation
3. call session_set_app_config()
4. wait for SessionStatusIdle notifcation
In order to wait for the notification during the initialization
process, this CL adds UwbSession struct and delegates the process to
another tokio task. Then use tokio::sync::watch to pass the session
status to UwbSession.
Bug: 228136039
Test: cargo test
Change-Id: I10b46d4d02b42bb94d0da308dfd3943ebbb55007
6 files changed