Software Serial in Firmata

Hello,

I am trying to use Snap4Arduino via Bluetooth connection with an Arduino compatible Pro Micro. I have gotten this to work by replacing Serial with Serial1 in Firmata but when I try to use Software Serial it does not work. I have used Software Serial in other projects and am a bit confused as to why this happens. If anyone could help me figure out a solution, that would be greatly appreciated. This is the only part I am changing in Firmata:

SoftwareSerial toky = SoftwareSerial(8, 7);
void setup()
{


  
  Firmata.setFirmwareVersion(FIRMATA_FIRMWARE_MAJOR_VERSION, FIRMATA_FIRMWARE_MINOR_VERSION);

  Firmata.attach(ANALOG_MESSAGE, analogWriteCallback);
  Firmata.attach(DIGITAL_MESSAGE, digitalWriteCallback);
  Firmata.attach(REPORT_ANALOG, reportAnalogCallback);
  Firmata.attach(REPORT_DIGITAL, reportDigitalCallback);
  Firmata.attach(SET_PIN_MODE, setPinModeCallback);
  Firmata.attach(SET_DIGITAL_PIN_VALUE, setPinValueCallback);
  Firmata.attach(START_SYSEX, sysexCallback);
  Firmata.attach(SYSTEM_RESET, systemResetCallback);

   //Serial1.begin(57600);
   //Firmata.begin(Serial1);
  

  toky.begin(57600);
   Firmata.begin(toky);
  while (!toky) {
    ; // wait for serial port to connect. Needed for ATmega32u4-based boards and Arduino 101
  }
  

  systemResetCallback();  // reset to default config
}

Before doing that, did you prove that you were able to read from and write to the bluetooth device when it is connected to those pins?

Yes. I followed this documentation and had to setup the bluetooth module before uploading the Firmata, which required software serial communication. I just tried these pins and they didn't seem to work. I did get the software serial to work with pins 9 and 10 at tx and rx, respectively. I must've switched the pins for debugging so the code should look like:SoftwareSerial toky (9, 10); Sorry for the confusion.