Have you looked at this project from @Jake_Kenin ?
He generously put it out as open source!
Also check out this:
What is the distance between the car and the headset?