PROBLEM TO BE SOLVED: To appropriately set parameters in a terminal device using 2-step RACH. SOLUTION: A terminal device is information for setting parameters of a message to be transmitted when trying to connect to a base station device by a two-step random access procedure, and is a first part included in the message. Information used to separately set the first parameter for and the second parameter for the second part contained in the message is received from the base station apparatus and based on that information, the first And the second parameter are set, and a message including the first part based on the first parameter and the second part based on the second parameter is transmitted. [Selection diagram] Fig. 6
展开▼