The following code shows how to modify the NSF IE using the defined macro:
unsigned char *p_ext_data;
char nsf;
if (nsf)
{
p_ext_data = Acu_conn_rq_a_ext_parms;
Acu_conn_rq_ext_parms_nb ++;
Acu_conn_rq_ext_parms_lgth = Acu_ext_spf_fac_ie_size;
Acu_ext_id = ACU_EXT_SPF_FAC_IE;
Acu_ext_lgth = Acu_ext_spf_fac_ie_size;
Acu_ext_spf_fac_ie(net_id_lgth) = strlen("288");
Acu_ext_spf_fac_ie(net_id_type) = ACU_NATIONAL_NETWORK_ID_TYPE;
memcpy (Acu_ext_spf_fac_ie (net_id), "288", strlen("288"));
Acu_ext_spf_fac_ie (action) = ACU_SPF_FAC_BINARY;
Acu_ext_spf_fac_ie (param_fld) = 0xFF;
Acu_ext_spf_fac_ie (serv_feature) = ACU_FAC_FEATURE;
Acu_ext_spf_fac_ie (facility_coding) = ACU_FAC_BN_ANI_PREFERRED;
}