bluez5: backend-native: Link with ModemManager Modem object

The Modem object provides the own number (used by +CNUM), the network
service availability and signal strength (used for the +CIND).

+CIND indicators can be activated/deactivated using AT+BIA except for
call, callsetup and callheld indicators which should always reported.
All indicators are enabled on connection.
This commit is contained in:
Frédéric Danis 2022-09-16 14:15:52 +02:00 committed by Wim Taymans
parent d02a646366
commit 13f0a0755e
4 changed files with 626 additions and 5 deletions

View file

@ -41,6 +41,7 @@ if get_option('bluez5-backend-hsp-native').allowed() or get_option('bluez5-backe
endif
if mm_dep.found()
bluez5_deps += mm_dep
bluez5_sources += ['modemmanager.c']
endif
bluez5_sources += ['backend-native.c']
endif