I used to test QoS but these were all NTWK initiated test cases. For QoS you have to have the right subscription with dedicated bearer support.
First I’d check with your carrier, the main North American carriers I was dealing with do not support UE initiated dedicated bearers.
With SLQS SDK you can monitor the dedicated bearer establishment with callback “SetSLQSSetQosNWStatusCallback”
Here is an example (Callbox)
root@Lenovo-G510:/home/sierra/SDK/SLQS/SLQS04.00.02/pkgs/qa# ./qatesthostx86_64 -p …/…/build/bin/hostx86_64/slqssdk -n t174,t182,t204,t206 -r
Using …/…/build/bin/hostx86_64/slqssdk
#devices: 1
deviceNode: /dev/qcqmi0
deviceKey: 35922505002266
Using SLQS SDK version: SLQS04.00.02
Invoking test: SetSLQSSetQosNWStatusCallback
SLQSSetQosNWStatusCallback : Enabled callback
Invoking test: SLQSSetQosFirstInstEventCallback
iSLQSSetQosEventCallback: callback enabled
Invoking test: SetSLQSSetQosStatusCallback
doSetSLQSSetQosStatusCallback : Enabled callback
Invoking test: SetSLQSSetQosPriEventCallback
doSetSLQSSetQosPriEventCallback : Enabled callback
Completed t174,t182,t204,t206…
Enter the testid/testsequence to be executed t33
Invoking test: SLQSStartStopDataSession_startv4p1
Please enter InstanceID value ( 1 to 8) or press to go to proceed with authentication pref
Option: 1
InstanceID is = 1
Parameter Set:
Action :START
Technology :3GPP
profID3GPP :3
profID3GPP2 :
Please select one of the following options or press to go to main menu:
- To enter PAP authentication preference
- To enter CHAP authentication
- To proceed with-out authentication preference
Option: 3
Return Code: 0 (0x0)
Return Reason: Success
Completed t33…
Enter the testid/testsequence to be executed
cbkTestdoSLQSSetQosEventCB: QMI 0
id 1138065504, isNew 1, event 1
Bearer ID : 8
tx flow index 0
qci 5
rx flow index 0
qci 5
tx filter index 0 ver 4
nxt hdr proto 0x11
precedence 0x1
id 0x100
UDP Dest Port 5001
UDP Dest port range 8
rx filter index 0 ver 4
nxt hdr proto 0x11
precedence 0x1
id 0x100
UDP Source Port 5001
UDP Source port range 8
cbkTestdoSLQSSetQosEventCB: QMI 0
id 1137991960, isNew 1, event 1
Bearer ID : 7
tx flow index 0
max 488000
guaranteedRate 400000
qci 1
rx flow index 0
max 488000
guaranteedRate 400000
qci 1
tx filter index 0 ver 4
nxt hdr proto 0x11
precedence 0x0
id 0x1
UDP Dest Port 5100
UDP Dest port range 9
rx filter index 0 ver 4
nxt hdr proto 0x11
precedence 0x0
id 0x1
UDP Source Port 5100
UDP Source port range 9