How to test CMAS/ETWS ?
First step is to add the pws_msgs object to your mme config at the same level as log_options.The following config depicts an example for ETWS:
pws_msgs: [ {
/* ETWS earthquake or tsunami message */
local_identifier: 1,
message_identifier: 0x1102,
serial_number: 0x3000,
warning_type: 0x0580,
data_coding_scheme: 0x0f, /* GSM 7 bit default encoding */
warning_message: [
"this is a ETWS test message", /* page 1 */
],
},
],
For CMAS, the syntax is a bit different. Example below:
pws_msgs: [ {
/* CMAS Presidential Level Alert */
local_identifier: 2,
message_identifier: 0x1112,
serial_number: 0x3000,
data_coding_scheme: 0x0f, /* GSM 7 bit default encoding */
warning_message: [
"this is a CMAS test message", /* page 1 */
],
},
],
After restarting the lte service, go to the mme screen and type
to start broadcasting the ETWS/CMAS message identified by local id on all connected eNodeBs and