BlueSmiRF to BlueSmiRF

Hi, I was wondering if it is possible to communicate BlueSmiRF to BlueSmiRF? I vaguely remember someone mentioning that it is possible. I’ve been successful using PC to communicate with 1 Bluetooth modem but I want to get ride of the PC and use another BLuetooth with a microcontroller instead. The hardware I’m using is:

2 Bluetooth modems old version

2 Atmega8/attiny2312

Can someone show me how to get them to connect to each other? Thanks in advance.

Jaytee