change APN for spain

Hi,

Are you working Arduino or Eclipse IDE?
I’m using Eclipse and I’ve verified configure my APN sucessfully.

In case:

[code]
#define USING_PROXY VM_FALSE /* Whether your SIM uses proxy /
#define PROXY_ADDRESS “” /
The proxy address /
#define PROXY_PORT /
The proxy port */

void set_custom_apn(void)
{
vm_gsm_gprs_apn_info_t apn_info;

memset(&apn_info, 0, sizeof(apn_info));
strcpy(apn_info.apn, "ac.vodafone.es"); //I think that this field is optional
strcpy(apn_info.proxy_username, "vodafone");
strcpy(apn_info.proxy_password, "vodafone");
vm_gsm_gprs_set_customized_apn_info(&apn_info);

}[/code]