The decision came during a preliminary hearing for the University of Alabama standout, who was among 16 men arrested on suspicion of seeking sex with minors during a two-day police sting, the Dothan Eagle reported.
Farmer, 55, who lives in Franklin, Tenn., allegedly communicated with a female undercover police officer posing as a 16-year-old girl.
Police took him into custody when he showed up to meet the fictitious teen.
Farmer was a leading scorer at Alabama before embarking on a career in the NBA in 1987. He played for several teams over six seasons, including the Denver Nuggets, the Dallas Mavericks and the Utah Jazz.