SITL Open Drone ID

Hi Everyone,
So i am using Mission Planner Ardupilot SITL to check my custom c++ code like is it is arming my drone or not now I am stuck like i want to set the SITL open drone id basic id but cant seem to do so, I cant set or retrieve the open drone id messages in Ardupilot, when I used chatgpt it told me to enable some parameter but the parameters it gave me was not present in the mission planner full parameter list

You seam to be using ArduCopter 4.0.x

Please Update to ArduCopter 4.5.7 or 4.6.0 and re-test.

i am using ArduCopter V4.7.0-dev

I corrected the topic now, to avoid confusion.

Which parameters are you referring to? post names.

So, when i asked chatgpt it gives me commands like set param RemoteID_Enable 1 sometimes it gives me RID_Enable and sometimes it gives DID_Enable etc but none of these where their in the full parameter list. I am basically trying to set the uas id, uas id type and ua type from my code

They are only in the parameter list if RemoteID support is compiled in. What FC do you have?

I belive it is flight_sw_version : 67567616

Ok some how i was able to enable open drone id in the SITL by simply rebuilding the waf by using following command:
./waf configure --enable-opendroneid
But now i am facing a different issue i am trying to set open drone id basic id from my code but i am getting an error from drone of severity 2
PreArm: OpenDroneID: UA_TYPE required in BasicID