Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Transport path Media Endpoint
- ______________ ______________
- RFComm connection
- BlueZ -> oFono : BlueZ -> oFono :
- org.bluez.TelephonyAgent.NewConnection(fd, org.bluez.TelephonyAgent.NewConnection(fd,
- uuid, version, features, MediaTransport path) uuid, version, features, MediaEndpoint id,
- MediaEndpoint path)
- BlueZ -> PA : oFonot -> PA:
- org.bluez.MediaEndpoint.SetConfiguration( org.bluez.MediaEndpoint.SetConfiguration(
- MediaTransport path, ...) MediaTransport path, ...)
- SCO connection - AG initiated
- PA BlueZ HF PA oFono BlueZ HF
- | transport | | | transport | | |
- | acquire | | | acquire | | |
- |-------------->| | |-------------->| | |
- | | connect SCO | | | ConnectSCO | |
- | |<.............>| | |-------------->| connect |
- | return SCO fd | | | | | SCO |
- |<--------------| | | | |<.......>|
- | | | | | return SCO fd | |
- | |<--------------| |
- | return SCO fd | | |
- |<--------------| | |
- SCO connection - HF initiated
- PA BlueZ HF PA oFono BlueZ HF
- | | connect SCO | | | | connect |
- | |<.............>| | | | SCO |
- | state changed | | | | |<.......>|
- | signal | | | state changed signal | |
- |<--------------| | |<--------------|---------------| |
- | | | | | | |
- | transport | | | transport | | |
- | acquire | | | acquire | | |
- |-------------->| | |-------------->| | |
- | | | | | GetScoFD | |
- | return SCO fd | | | |-------------->| |
- |<--------------| | | | | |
- | | | | | return SCO fd | |
- | |<--------------| |
- | return SCO fd | | |
- |<--------------| | |
- AT+NREC,AT+BSIR
- HF oFono BlueZ PA HF oFono PA
- | AT+NREC | | | | AT+NREC | |
- |..........>| | | |..............>| |
- | | SetProperty | | | | property |
- | |------------>| | | | changed signal|
- | | | property | | |-------------->|
- | | | changed |
- | | | signal |
- | | |--------->|
- AT+VGS,AT+VGM
- HF oFono BlueZ PA app HF oFono PA app
- | AT+VGS= | | | | | AT+VGS= | | |
- |........>| | | | |..............>| | |
- | | SetProperty | | | | | property | |
- | |------------>| | | | | changed signal| |
- | | | | | | |-------------->| |
- | | property changed | | | | |------>|
- | | signal | | | | | |
- | |<------------|----->| |
- | | | |---->|
- HF oFono BlueZ PA app HF oFono PA app
- | | | | | | | | |
- | | | |<----| | | |<------|
- | | | SetProperty | | | | SetProperty | |
- | | |<------------| | | |<--------------| |
- | | | | | | +VGS: | | |
- | | property changed | | |<..............| property | |
- | | signal | | | | changed signal| |
- | |<-------|------------>| | | |-------------->| |
- | +VGS: | | | | | | |------>|
- |<......| | |---->| | | | |
- | | | | |
Advertisement
Add Comment
Please, Sign In to add comment