BLE 4.0 connection with a laptop

Hello everyone. Whats the best way to connect the arduino and a computer running processing via bluetooth? Currently, i have two BLEs, one on the arduino and one connected to a ttl connected to my computer. The BLEs are configured to connect with each other when both are on. The BLE on the arduino is a slave and the one on the ttl is the master. I can receive data on processing via this setup but i can’t send data back to arduino. I have an arduino mega so i have tried setting one of its serial terminals to write to the main terminal, I have tried connecting the slave to the main RX/TX… Oh i almost forgot… In the end i want to have my arduino running on battery. I can send and receive data with processing via a tethered connection but can only receive data via two BLEs connected together on battery.