Kane Cumming (31) of Rochford Road, Cosham, has been sentenced to seven years and two months in prison.
Drugs Related Harm team officers arrested him in Thurbern Road, North End, at around midday on 22 October 2018 after he made a drugs deal.
He was later charged with robbery, possession with intent to supply crack cocaine and heroin, being concerned in the supply of crack cocaine and heroin and possessing criminal property. He received five years and two months for these offences on Monday.
He had breached a suspended sentence for possession with intent to supply crack cocaine and heroin, so his two years sentence activated.
If you suspect people are dealing drugs in your area call 101.If a crime is in progress, call 999.