mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
miracle-*ctl: fix and enhance wfd_subelement parser
This commit is contained in:
parent
495675cdd4
commit
750ff77929
3 changed files with 34 additions and 22 deletions
|
@ -16,9 +16,8 @@ if [[ ${#2} != 17 ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# since this wfd subelement is used for device info, so no wfd subelemnt
|
||||
# id needed (eg. 000600101b4400c8 vs 00000600101b4400c8)
|
||||
wfd_subelems=000600101c4400c8
|
||||
# this wfd_subelems has no ID (00, device info)
|
||||
wfd_subelems=000600111c4400c8
|
||||
link_index="_3${1:0:1}${1:1}"
|
||||
peer_id="${2//:/_3a}_40$1"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue