parameter msgType: received <--> sent