I now this is a long shot, but some reasons I was using Raspbian wheezy on Raspberry Pi 2, and I was able to use HC05 bluetooth module with wiringpi.
Lately I had switched it to Raspberry Pi 3, yet I still want to use same sd card and same code to work with HC05. However as far as I understand, Raspberry Pi 3 had some modifications to its serial configurations, therefore I am unable to use serial port anymore. The code that used to work returns error no 14 when I try serialOpen on wiringPi.
My question is, is it in anyway possible to use an old Raspbian Wheezy version with Raspberry Pi 3, but still enable the bluetooth module? Probably I am going to be the only one having this problem since wheezy is outdated and Raspberry Pi 3 is a quite recent model, but I will appreciate if you have any ideas on what to change to enable serial port again.
Note: I have followed the basic tutorials exactly and they worked fine with Pi 2, therefore I do not have any problem with my code.