Jump to content

DCAM009/2-Way communication(GSM Calling) function

From Ning-IoT Wiki

Before test two-way call, it is must to first set a whitelist number

Make phone calls with a mobile phone
1.Make phone calls with a mobile phone
1) the new whitelist covers the old whitelist

Function SMS command Reply
query number #GETWHITELIST show current number
set new number #SETWHITELIST:Phone4 Command set successfully!

2)Support simultaneous issuance and addition of 5 whitelist numbers.
multiple numbers need to be separated by commas in English

Function SMS command Reply
Set number #SETWHITELIST:Phone1,Phone2,Phone3,Phone4,Phone5 Command set successfully!

Noted: five phone numbers can be used to make phone calls to the device in sequence, and the device can automatically answer the call

2.Operation steps
Device 4G card dial-up online (4G module: EC200A series+EC25AFX)
1) Add whitelist phone numbers: for example: #SETWHITELIST:18529448076

2) Send a query SMS for confirmation: #GETWHITELIST, return the added phone number

3) Dial the device phone number from your mobile phone, and the device will automatically answer, allowing for two-way communication

4) There is no response from the device when dialing a phone number that is not on the whitelist. The device prompts: The phone number you dialed is currently on call, please try again later

SOS emergency button to make phone calls
1.SOS emergency button SMS logic
1)The new list covers the old list

Function SMS command Reply
Query number #GETSOSPHONE show current number
Set SOS number #SETSOSPHONE:Phone4 Command set successfully!

2)Maximum support for adding 10 numbers, but the device will only dial the first one.
Add multiple numbers should be separated by commas in English

Function SMS command Reply
Set number #SETSOSPHONE:Phone1,Phone2,Phone3,Phone4,Phone5 Command set successfully!
delete number #SETSOSPHONE:,,,,,,,,, Command set successfully!

Press and hold the SOS button for 3 seconds to make only 1 call

2.Operation steps:
1) Device 4G card dial-up online (4G module: EC200 series+EC25AFX)
2) Send SMS to add dial-up phone list: for example:
#SETSOSPHONE:18529448076,18926061858,18933531674,,,,,,,

3) Send a query SMS for confirmation: #GETSOSPHONE, return the added phone number

4) Long press for 3 seconds to start making a call (voice prompt): The phone has been dialed out
5) Call failure prompt; Call failed
6) The call was successfully made, and the mobile phone answered the call for two-way communication;
7) Proactively hanging up; Press and hold for 3 seconds again to hang up; Not distinguishing whether to connect or not;
8) The maximum duration for making a phone call is fixed at 30 minutes