Send¶
SCPI Commands
CALL:CDMA:SIGNaling<Instance>:OTASp:SEND:TRANsmit
CALL:CDMA:SIGNaling<Instance>:OTASp:SEND:MODE
CALL:CDMA:SIGNaling<Instance>:OTASp:SEND:STATus
- class Send[source]
Send commands group definition. 3 total commands, 0 Sub-groups, 3 group commands
- class StatusStruct[source]
Structure for reading output parameters. Fields:
Delivery_Status: enums.DeliveryStatus: SUCCess | ACKTimeout | PENDing | CSTate | BADData SUCCess: successfully transmitted ACKTimeout: acknowledgment timeout appeared PENDing: message pending in the outgoing buffer CSTate: wrong call state (wrong service option or no registered device) BADData: wrong message length (zero or too long)
Timestamp: float: The message transmit time for the delivery status SUCC or ACKT with granularity of 20 ms Unit: s
Send_Method: enums.OtaspSendMethodB: NONE | TCH NONE: The message has not been sent yet. TCH: An existing call was used to send the message.
- get_mode() → RsCmwCdma2kSig.enums.OtaspSendMethodA[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:OTASp:SEND:MODE value: enums.OtaspSendMethodA = driver.call.otasp.send.get_mode()
Specifies the sending method for the OTASP messages.
- return
send_method: NONE | SO18 | SO19 NONE: If a call does not exist, drop the message, do not establish a call. SOxx: If a call does not exist, establish a call using specified service option. The call will be released after the message is sent and acknowledged.
- get_status() → StatusStruct[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:OTASp:SEND:STATus value: StatusStruct = driver.call.otasp.send.get_status()
Returns the status, timestamp and transport of the last message sent.
- return
structure: for return value, see the help for StatusStruct structure arguments.
- set_mode(send_method: RsCmwCdma2kSig.enums.OtaspSendMethodA) → None[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:OTASp:SEND:MODE driver.call.otasp.send.set_mode(send_method = enums.OtaspSendMethodA.NONE)
Specifies the sending method for the OTASP messages.
- param send_method
NONE | SO18 | SO19 NONE: If a call does not exist, drop the message, do not establish a call. SOxx: If a call does not exist, establish a call using specified service option. The call will be released after the message is sent and acknowledged.
- set_transmit(byte_array: bytes) → None[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:OTASp:SEND:TRANsmit driver.call.otasp.send.set_transmit(byte_array = b'ABCDEFGH')
Sends binary data blocks to the MS. Data longer than the transport container are discarded and an error set. The data format corresponds to IEEE-488.2.
- param byte_array
block