Using the b-l475e-iot01 brd, wifi direct to cell phone

I would like to create the proto brd to be a wifi direct to my cell phone. Is there a sample code for this or what are the mbed os api calls and sequence I need to configure this proto brd to be able to do a point to point (direct )wifi to a cell phone. I am trying this for the first time. Any suggestions would be a huge help