tested with M-Bus electricity (Inepro PRO380-Mb) and 2N® SmartCOM PRO ETH with firmware SCE_1.12.0.12.24 supporting AMS features.

AT^SCAMS?

^SCAMS: "ENABLE",1

^SCAMS: "RETRY",0

^SCAMS: NO DEVICE

AT^SCAMSADD=<PORT>,<PROTOCOL>,<BAUDRATE>,<INTERVAL>,<NUMBER_OF_EXPECTED_DEVICES>

AT^SCAMSADD=2,"MBUS",2400,"1M",1

^SCAMSADD: 65286,1,"1,15020416"

 

2N® SmartCOM PRO ETH detected 1 meter with secondary address 15020416 and add this device to the table

AT^SCAMS?

^SCAMS: "ENABLE",1

^SCAMS: "RETRY",0

^SCAMS: "DEV_CNT",1

^SCAMS: 1> 2,"MBUS","*15020416@2400","1M"


SC AMSADD PWD=<password> QTY=<n> PORT=<port> PROTOCOL=<protocol> INT=<interval> [BAUDRATE=<baudrate>]     BAUDRATE is optional

 

2N® SmartCOM PRO ETH detected 1 meter with secondary address 15020416 and add this device to the table


AT^SCDATA="GET_OLDEST",3

^SCDATA: "AMS",1467365701,10506,"MBUS",1,0,"","684B4B680801721604021592B00102090000000C04790200008C1004790200008C2004000000001C04660300009C1004660300009C2004000000002C0487000000AC100487000000AC2004000000008016"

^SCDATA: "AMS",1467365762,10508,"MBUS",1,0,"","684B4B680801721604021592B001020A0000000C04790200008C1004790200008C2004000000001C04660300009C1004660300009C2004000000002C0487000000AC100487000000AC2004000000008116"

^SCDATA: "AMS",1467365822,10509,"MBUS",1,0,"","684B4B680801721604021592B001020B0000000C04790200008C1004790200008C2004000000001C04660300009C1004660300009C2004000000002C0487000000AC100487000000AC2004000000008216"