SoMachine/Machine Expert - Basic and SendReceiveSMS function block work together with a configured phone number list (entered via SMS assistant).
The format to be used for the phone number always needs to include the country code.
Example:
if AB is the country code and 0612345678 the national phone number to be registered, then the phone number to be defined into the SMS Assistant is:
00AB612345678
or
AB612345678
if the registered phone number into the SMS Assistant is 0612345678 (without the country code), then when receiving an SMS from the mobile with this number 0612345678 (as national call) the reported status by the M221 would be :
SEND_RECV_SMS0.CommError=255 (FF hex) (SMS refused)
and
SEND_RECV_SMS0.OperError=16 (10 hex) (PhoneNumberNotMatching)
=> The phone number in the received message does not match with the list of approved numbers (whitelist).
The format to be used for the phone number always needs to include the country code.
Example:
if AB is the country code and 0612345678 the national phone number to be registered, then the phone number to be defined into the SMS Assistant is:
00AB612345678
or
AB612345678
if the registered phone number into the SMS Assistant is 0612345678 (without the country code), then when receiving an SMS from the mobile with this number 0612345678 (as national call) the reported status by the M221 would be :
SEND_RECV_SMS0.CommError=255 (FF hex) (SMS refused)
and
SEND_RECV_SMS0.OperError=16 (10 hex) (PhoneNumberNotMatching)
=> The phone number in the received message does not match with the list of approved numbers (whitelist).