Bluetooth communication with smartphone

I'm thinking about configuring some specific settings (like WiFi) through bluetooth with a custom mobile app that I'll write. To do so, I would like to send and receive JSON messages between a Lopy and a smartphone. However, I can't find how to get started (Lopy side) with what's in the documentation. Anybody can help me with these first steps?