West Melbourne Police Department's Officer Harvey Whitney received an unusual text message Sept. 23 from a phone number he didn't recognize, according to police.

The text asked if he would like to buy some "bud," police said in a Facebook post, adding "the dealer even included a little emoji of a tree."

Text alerts:How to sign up for FLORIDA TODAY's text alerts

More:Palm Bay police snag drugs, guns and $11k during traffic stop

More:Titusville search warrant nets $7K cash, drugs, accused dealer

Police arrested 20-year-old Hasan Burke of Palm Bay on charges of marijuana possession with intent to sell.

Here's how the undercover bust went down, according to police:

Whitney responded to the text message, and coordinated a time and place to meet with Burke.

The accused dealer said he would be walking a dog. He asked Whitney to bring his own scale to measure the drugs. Per the dealer's request, the two would meet on Cutlass Street in Palm Bay — which happens to sit right across from Palm Bay Police Department on Malabar Road.

Officer Nick Abroe picked up the case.

"At the exact time and location, Abroe rolled up in his patrol car," said Lt. Mike Bandish, spokesman for Palm Bay police.

Abroe saw the man walking his dog and said he could smell the marijuana as he approached. "That immediately gives you probable cause to search," Bandish said.

More:Troopers: Driver passes out, slams into Merritt Island rehab dorm

More:Palm Bay police: Man fires 3 shots at girlfriend after dispute, victim uninjured

Burke's phone number was confirmed as the one texting Whitney. That's when police let him in on the tragic mis-text.

"We usually don't play with this stuff," Bandish said. "But by some coincidence he texted an on-duty West Melbourne police officer."

West Melbourne Police Department's Facebook post shares this story, with its first line: "Calling all drug dealers! Please call us with your business!"

Several area police departments have shared it as well.

Sheets is a breaking news reporter at FLORIDA TODAY

Contact Sheets at 317-444-3208

or tsheets@floridatoday.com

Twitter: @sheets_tess