AT Command

Description

AT+CCUG command is used to control the closed user group supplementary service.


Support

Module Tutorial

Examples

KeywordsAT+CCUG syntax, examples, parameters, error, input, response.

Try the below script in the AT Command Tester tool

//Script: at_ccug.at
//Use this script to AT+CCUG AT command

//Get the command support
AT+CCUG=?

WAIT=2

//Get the current setting for closed user group supplementary service
AT+CCUG?

WAIT=1

//Enable CUG temporary mode
AT+CCUG=1

WAIT=1

//Disable CUG temporary mode
AT+CCUG=0

WAIT=1

//Enable CUG temporary mode, suppress OA
AT+CCUG=1,1

WAIT=1

//Enable CUG temporary mode, suppress preferential CUG
AT+CCUG=1,2

WAIT=1

//Enable CUG temporary mode, suppress preferential CUG and OA
AT+CCUG=1,3

WAIT=1

Output of the above script in the AT Command Tester tool tool.

AT+CCUG=?

OK
AT+CCUG?

+CCUG: 1,1,0

OK
AT+CCUG=1

OK
AT+CCUG=0

OK
AT+CCUG=1,1

OK
AT+CCUG=1,2

OK
AT+CCUG=1,3

OK