You are here

Module Services -- where is the AT command response?

Syncro

June 22, 2015 - 9:57pm, 2104 views

I implemented the ModuleServicesSampleMidlet that was provided with the SL agent package.  It works great, many extremely useful reports -- heap, FFS, link quality, temperature, and on and on.  Very nice!  Very nice!

And then I tried the "remote AT comands" using what I think is correct:  On the portal, under Configuration tab, select "At Commands' . sendATCommand.  And it appears that it gets sent to the ModuleServices, but I can't see any response or don't know where to look for a response.

I see this on debug log on stdout from the concept board (3 examples)

[DEBUG] [ATCommandsStub] call sendATCommand
__[ATCommands] : remove_spaces : string:ATI
__[ATCommands] : add char:A
__[ATCommands] : add char:T
__[ATCommands] : add char:I
__[ATCommands] : remove_spaces : string:ATI

[DEBUG] [ATCommandsStub] call sendATCommand
__[ATCommands] : remove_spaces : string:at+ccid
__[ATCommands] : add char:a
__[ATCommands] : add char:t
__[ATCommands] : add char:+
__[ATCommands] : add char:c
__[ATCommands] : add char:c
__[ATCommands] : add char:i
__[ATCommands] : add char:d
__[ATCommands] : remove_spaces : string:at+ccid

[DEBUG] [ATCommandsStub] call sendATCommand
__[ATCommands] : remove_spaces : string:at^sjam
__[ATCommands] : add char:a
__[ATCommands] : add char:t
__[ATCommands] : add char:^
__[ATCommands] : add char:s
__[ATCommands] : add char:j
__[ATCommands] : add char:a
__[ATCommands] : add char:m
__[ATCommands] : remove_spaces : string:at^sjam

So the command is received, but I can't see any evidence that the command was processed.  In the 3rd example (SJAM), I also sent parameters (the Midelet .jad name) but there was no processing report in the stdout log for the parameters.

Where can I see the AT Command response on the SL portal?  (I looked in many places and could not see it).   Is there something I have to do to configure the response?  In the moduleservices.config AT_PERMISSION_MODE = FULL_ACCESS so I don't think that is the problem.  Is it possibly because the ModuleServicesSampleMidlet must have something added to enable AT Command processing?

Thank you!

Roland