Check thqt Serial coms are working

So what I'm asking really is how do I check?

With an oscilloscope.

It is more likely that your commands are getting there, but that they are not in the form that the device expects/understands, so they are ignored.

Your unposted code may be the culprit.

A link to the device you are talking to is in order, too.