this code onto arduino. bt baud rate is auto detected, and a menu is activated in the serial monitor of arduino ide so you can set and make changes on the fly. setup bt device id name, change baud rate and, and pin all within a minute! also reports firmware status. program is working, but it is first version. should work ok! tested!