What are the dents for?
Those are castellations. They provide a larger surface area for the solder to wet when the module is surface-mount soldered to another board. They can be used to hold a pin in order to convert the module into a through-hole device, but such a practice is rarely done.