A judge has granted a defense lawyer’s request for the electronic evidence that police obtained in their investigation into the case of a former Talbot Middle School math teacher charged with enticing a 13-year-old female student.

A judge has granted a defense lawyer’s request for the electronic evidence that police obtained in their investigation into the case of a former Talbot Middle School math teacher charged with enticing a 13-year-old female student.

Prosecutors have until Oct. 18 to hand over the forensic examination results of the CDs, laptop computer and cellphones investigators took from the 72A Belmont St. residence of Adam Medeiros, 27, on June 19.

In his written motion asking for the materials, defense attorney Thomas Guiney wrote that he wanted to examine the evidence, but that prosecutors had not yet produced them, according to court documents.

Medeiros resigned from his teaching job after he was charged in June with enticing a child under 16 and accosting/annoying a person of the opposite sex. He had been a full-time teacher at the school since September 2011, and had worked as a substitute teacher since 2010, according to court records.

The alleged victim, who was 13 at the time, said she and Medeiros communicated by text messages and pictures. She said some of Medeiros’ comments were suggestive, and alleged that on several occasions at the school, he made inappropriate comments and gestures toward her, such as grabbing her belt, according to police reports.

The girl said she and Medeiros also communicated over Snapchat, a smartphone application in which pictures and text messages disappear after a few seconds. However, that data can still be recovered from the devices involved in the data transmissions.

In a written statement to police, Medeiros said he never sent inappropriate pictures or videos to the girl, and said some of the comments he had been accused of making were taken out of context.

Medeiros is scheduled to return to Fall River District Court on Dec. 12 for a pretrial hearing.