For every criminal offense a set of elements need to be proved a trial for a conviction. It is not uncommon that an officer charged somebody with an incorrect charge. However, it appears that there may be several charges against you. It also appears that you have some defenses to possible charges. I suggest hiring an attorney so that attorney can insure that you are not unjustly convicted.
Marijuana is against federal law. Federal law supersedes state law. A person could be charged and convicted for marijuana related crimes such as possession, cultivation, distribution, manufacturing, transportation, and conspiracy.