There should be an app for adding friends on 3DS without friend codes