I am making a sensor module which contains XIAO ESP32S3 and some sensors. I designed a 3D printed enclosure for it, but when I enclosed everything wi-fi is not connecting. I drilled a hole to mount antenna externally but still it is not working. When it is in open air its working fine. Should I use external antenna? This will be used for outdoor range with 25 meter of connection range.
Here is the image for reference: