RUI3 (RAK Unified Interface 3) - RAK4631
bg77::qcmgs

Public Member Functions

String set (String, String)
 
String set (String, int, String)
 
String set (String, int, int, int, String)
 
String set (String, int, int, int, int, String)
 

Member Function Documentation

◆ set() [1/4]

String set ( String  ,
String   
)
Description
This api sends concatenated massages. Different from AT+CMGS, when sending a concatenated message via this command, each segment of the concatenated message must be identified by the additional parameters <uid>, <msg_seg> and <msg_total>.
Syntax
bg77.qcmgs.set(da,data)
Parameters
daString Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7 bit default alphabet characters) are converted to characters of the currently selected TE character set (refer to command AT+CSCS in 3GPP TS 27.007). The type of address is given by <toda>.
dataString Concatenated Messages
Returns
String response

◆ set() [2/4]

String set ( String  ,
int  ,
String   
)
Description
This api sends concatenated massages. Different from AT+CMGS, when sending a concatenated message via this command, each segment of the concatenated message must be identified by the additional parameters <uid>, <msg_seg> and <msg_total>.
Syntax
bg77.qcmgs.set(da,toda,data)
Parameters
daString Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7 bit default alphabet characters) are converted to characters of the currently selected TE character set (refer to command AT+CSCS in 3GPP TS 27.007). The type of address is given by <toda>.
todaint Type of destination address. 3GPP TS 24.011 TP-Destination-Address Type-of-Address octet in integer format.
dataString Concatenated Messages
Returns
String response

◆ set() [3/4]

String set ( String  ,
int  ,
int  ,
int  ,
String   
)
Description
This api sends concatenated massages. Different from AT+CMGS, when sending a concatenated message via this command, each segment of the concatenated message must be identified by the additional parameters <uid>, <msg_seg> and <msg_total>.
Syntax
bg77.qcmgs.set(da,uid,msg_seg,msg_total,data)
Parameters
daString Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7 bit default alphabet characters) are converted to characters of the currently selected TE character set (refer to command AT+CSCS in 3GPP TS 27.007). The type of address is given by <toda>.
uidint Integer type. Message identification in the user data header (UDH). Range: 0–
  1. This parameter is defined and inputted by the user. All segments of a same concatenated message must have the same <uid>. Different concatenated messages should have different <uid>
msg_segint Integer type. Sequence number of a concatenated message. Range: 0–7. <msg_seg>=0 means: ignore the value and regarded it as a non-concatenated message.
msg_totalint Integer type. The total number of the segments of one concatenated message. Range: 0–7. <msg_total>=0 or 1 means: ignore the value and regard it as a non-concatenated message.
dataString Concatenated Messages
Returns
String response

◆ set() [4/4]

String set ( String  ,
int  ,
int  ,
int  ,
int  ,
String   
)
Description
This api sends concatenated massages. Different from AT+CMGS, when sending a concatenated message via this command, each segment of the concatenated message must be identified by the additional parameters <uid>, <msg_seg> and <msg_total>.
Syntax
bg77.qcmgs.set(da,toda,uid,msg_seg,msg_total,data)
Parameters
daString Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7 bit default alphabet characters) are converted to characters of the currently selected TE character set (refer to command AT+CSCS in 3GPP TS 27.007). The type of address is given by <toda>.
todaint Type of destination address. 3GPP TS 24.011 TP-Destination-Address Type-of-Address octet in integer format.
uidint Integer type. Message identification in the user data header (UDH). Range: 0–
  1. This parameter is defined and inputted by the user. All segments of a same concatenated message must have the same <uid>. Different concatenated messages should have different <uid>
msg_segint Integer type. Sequence number of a concatenated message. Range: 0–7. <msg_seg>=0 means: ignore the value and regarded it as a non-concatenated message.
msg_totalint Integer type. The total number of the segments of one concatenated message. Range: 0–7. <msg_total>=0 or 1 means: ignore the value and regard it as a non-concatenated message.
dataString Concatenated Messages
Returns
String response