I was working on echo response in secs/gem. I created a response for s2f39 message. I wrote a script to send the request to the simulator. The response is shown as none. I have edited the sdl messages on both sides so that the request body contains only dataid. This is the message I have sent.
myEquipment = “equipment1”
body = [{“format”:“U”, “value”:100}]
transactionID = system.secsgem.sendRequest(“S2F39”, True, body, myEquipment)
print transactionID
response = system.secsgem.getResponse(transactionID, myEquipment, 2)
print response
I have send the message by including datalength also. result is the same.
This is the echo response I have created:
name:resp1
stream:2
function:39
response{2}
header{4}
stream:2
function:40
reply:true
doc"Report grant"
body[1]
0 {3}
format:B
value:0
doc:GRANT, multiblock request grant
How can i obtain the response?
Thank you.