Hairless MIDI for BT serial output gives "Warning:got a status byte.." error

Hello!

I am trying to send MIDI notes over HC-05 bluetooth module. My current setup consists of a pushbutton and the HC-05.
I have tested sending the MIDI nodes via wire and it works(plays the corresponding note on Ableton Live).

However when I tried to send it over bluetooth by using Serial commands, the following showed up on Hairless MIDI.

"Warning: got a status byte when we were expecting 2 more data bytes, sending possibly incomplete MIDI message 0xc5"
"Serial In: Ch 6: Program Change %2"

My current code is:

#include <MIDI.h>
MIDI_CREATE_DEFAULT_INSTANCE();
#define midiChannel (char)1

const int  buttonPin = 2;    // the pin that the pushbutton is attached to

// Variables will change:
int buttonState = 0;         // current state of the button
int lastButtonState = 0;     // previous state of the button
int signalTest1 = 0;
int velocityon=125;
int velocityoff=0;
int notec=60;
void setup() {
  // initialize the button pin as a input:
  MIDI.begin(4);
  pinMode(buttonPin, INPUT_PULLUP);
  Serial.begin(38400);
  
}


void loop() {
  buttonState = digitalRead(buttonPin);
  mappedFsrVal = map(fsrVal, 0, 1000, 0, 127);
  // compare the buttonState to its previous state
  if (buttonState != lastButtonState) {
    if (buttonState == HIGH) {

      //MIDI.sendNoteOn(notec, velocityon, 1); <-- Works via cable

      blenoteOn(notec, velocityon, 1);

      delay(10);

      //MIDI.sendNoteOff(notec, velocityoff, 1); <-- Works via cable

      blenoteOff(notec, velocityoff, 1);
      delay(1000);
    } 
  }
  // save the current state as the last state, for next time through the loop
  lastButtonState = buttonState;


}

void blenoteOn(byte note, byte velocity, byte channel){
  Serial.write(note);
  Serial.write(velocity);
  Serial.write(1);
}

void blenoteOff(char channel,byte note, byte velocity){
  Serial.write(note);
  Serial.write(velocity);
  Serial.write(1);
}

I have read other forum answers and tried changing the BAUD Rate in both code and Hairless MIDI. However that hasn’t solved the issue.
Currently the Baud Rate in Hairless MIDI is set at 38400.
How can I fix this? All help is appreciated

Thanks