void set_alias(uint8_t * uri)
{
char *buf;
uint8_t pin;
buf=malloc(20);
buf=(char*)get_http_param_value((char *)uri,"pin");
pin=atoi(buf);
buf=(char*)get_http_param_value((char *)uri,"val");
memset(&flash_settings.id_channel[pin-1][0],0x00, sizeof(flash_settings.id_channel[pin]));
memcpy(&flash_settings.id_channel[pin-1][0],buf,strlen(buf));
flash_updated=1;
#ifdef _WEB_DEBUG_
printf("pin: %d , name: %s\r\n",pin,buf);
#endif
free(buf);
}