Send¶
SCPI Commands
CALL:CDMA:SIGNaling<Instance>:PDM:SEND:TRANsmit
CALL:CDMA:SIGNaling<Instance>:PDM:SEND:MODE
CALL:CDMA:SIGNaling<Instance>:PDM: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.PdmSendMethodB: NONE | PCH | TCH NONE: The message has not been sent yet. PCH: The message was sent using PCH. TCH: An existing call was used to send the message.
- get_mode() → RsCmwCdma2kSig.enums.PdmSendMethodA[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:PDM:SEND:MODE value: enums.PdmSendMethodA = driver.call.pdm.send.get_mode()
Specifies the sending method for the PDM messages.
- return
send_method: NONE | SO35 | SO36 | PCH 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. PCH: If a call does not exist, send the message using PCH.
- get_status() → StatusStruct[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:PDM:SEND:STATus value: StatusStruct = driver.call.pdm.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.PdmSendMethodA) → None[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:PDM:SEND:MODE driver.call.pdm.send.set_mode(send_method = enums.PdmSendMethodA.NONE)
Specifies the sending method for the PDM messages.
- param send_method
NONE | SO35 | SO36 | PCH 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. PCH: If a call does not exist, send the message using PCH.
- set_transmit(byte_array: bytes) → None[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:PDM:SEND:TRANsmit driver.call.pdm.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